From patchwork Wed Sep 11 15:15:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3459 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 46DCA42E89 for ; Wed, 11 Sep 2024 17:16:01 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-42cb6f3c476sf17648935e9.0 for ; Wed, 11 Sep 2024 08:16:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726067761; cv=pass; d=google.com; s=arc-20240605; b=LqKu3PjHCFenwlB94fdh31ALcrbONpGqm0yvm3Vs3RoGcsG8ItcI1kmmzEeNWiRVGJ JSWE6OtGB482onJsIYowgVVmp5AL4rTNFCpC5qw0A1qk2GB/0Cc0nA8bE7Z+pYOsyQio SJI/dYv78eYDgHMVLSrSRThrC01l1pP/e/Xlc1nJNxo01EATHdK3GZBbvdFYtsLOIPsO 0iIRwRynZKw9Fv+eC+GdKR4wSQbE92b08NxZdiDxwhO3GR/g9Y/lDZ2Ujuw+gSjwpoJf iF2gV+bLAI/Co8yLbTM5Il78qh5EtivD4Xq1GnNzmo+s7NZrxAf4kbYdT9yaoGt6b6v7 JdwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=F0OPrALiTnQDL2TZXQlg/EORienN7qmCL+eAVgAZ2Mo=; fh=/Nc01K1g1RGuKs+dtUdSoWbuclN0EFxF02prC/7i4U4=; b=YYh/W0nffj7U6ispWhDMiy7EynD/Pl/Seg/V0aH9rwnQq+yJioGoZ+BmBrC+IdwEdS xh/1oRPXxCHjgF5Mj6xGEIfHTgvCSRCVBThmms/0vf23dh3goVZaZr05UK8MuXoEz2ue NNulBU44ZClF4TLtdEErkwdW6uHKvq5+P1MXaemjRCtnKxS5r9rRGdshJeS5Wun5hNAN NdThIsvfNLIOrof8ENu0ZgOUYlXG4UDedox8tGM6yncwoX4bl5gvqpkloH1wlK/9Qbd6 Lpb5uJcQ68dOEEkcG0ylfPFTr9y61S1HMgdiJT6kHs4ZUUxvJisJbnqzX2xsg8SDf0nj hZQg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZO/m3SaA"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1726067761; x=1726672561; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=F0OPrALiTnQDL2TZXQlg/EORienN7qmCL+eAVgAZ2Mo=; b=KBAPxiPGmi/RqpGUyzBQ27JwLmDyg6CXh6uE4OtJ9vKyObKyDP/qQl1f43DAQlvS2P mPKwySCg/2GfSemcFnqcQLRxHJJ+uv83DJvmFrm57h3PB/IYXpgPDv9yJQNPnml3dC2P 514Ha2eH2/tyeFEDVqV8LAddoy/FJJ4cZrjxw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726067761; x=1726672561; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F0OPrALiTnQDL2TZXQlg/EORienN7qmCL+eAVgAZ2Mo=; b=BC4OU8wdp8MMZ273K2jVnQM7YqtVk8ern2fSYBL7XXPLi+0mLK4beYLpQldgVkNHCS zqHrbwkFzB4Z1nYFH5m0fWOg/8Dx6+exicSkJE0hKO98YO9cjRuQ2c7+vzHoL3SduaXK tPemfDelAVXQ4MALja6iBpxo01RW3XqpxWID9UYXNrfx0ToKi2/38m2QFvwPhkLX7M1f s5S1jzImJFUdLT8MpGC0+qniyNR6Fez42LSSw3P0BpaA2e9nzmdKp0Up309/ixA5bWfT 6xmacMRwkVglouPUhZGZ+ZFcBnWRBXTzX6V5cm3T8YY6YXGtnkPASw/fdu0wR05lIaWd s3Dg== X-Forwarded-Encrypted: i=2; AJvYcCXz7m5sBWKgwU3ElJXHx6Lo8FIsvegP99O0r1Ubj6qlUdpfjFxrP2SaXhze9Bod6aZys3xzhiADozpx0EpZ@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwncVNsG3iI+pnzsXLM5M4a2MAbBsWopxZ2oN2cAFicQmxsS3RQ o0zXvshNrRdH3ljmAOsKhR+9E2tjDA3xS0vuZfQw1elodIuH9CRM2o6pzIstakRJ4A== X-Google-Smtp-Source: AGHT+IG/K0ohFMqUwjnGarUdqykfQ4BX2P1Gb7eRefTvA+dGsVf/i7AVqEoVhkU3usJalo8TnIMcDw== X-Received: by 2002:a05:600c:314b:b0:42c:b63e:fea6 with SMTP id 5b1f17b1804b1-42ccd35b731mr29730625e9.22.1726067760760; Wed, 11 Sep 2024 08:16:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3b92:b0:42c:af42:6403 with SMTP id 5b1f17b1804b1-42cdb396bcals11055e9.0.-pod-prod-02-eu; Wed, 11 Sep 2024 08:15:59 -0700 (PDT) X-Received: by 2002:a05:600c:3b25:b0:42c:b905:2c04 with SMTP id 5b1f17b1804b1-42ccd325012mr29171075e9.12.1726067759324; Wed, 11 Sep 2024 08:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726067759; cv=none; d=google.com; s=arc-20160816; b=XVJuOCwz3POl/yQaxA6BVlXhyBE3W9Q9y/3Zz58mKPjPWvuW1IPTWzAqfyPAfIeRdI CcOEKsHFaDV8x0xmPpTgUD0lwre0u+1M9HPI+yQ7efmttKT4fWWZQwz32CeN7dcMsqdf bFfiqLPcRhgcpavf6vEeFQj1g3nc9f5WqEzIk3IOAk+yHqOd++EhOXqIp8PGvLTxhJiy P2nItHgHnMifVbLI7WKZ+XyF4s+G3tZuaXSAx0ol+w2kKVZ2RrYNQbrA6MO9AbYW1gbQ 9pBwup44u8m8++M5IVVf5mqjTJXvi9LzOvzAVrGHICd5vqkXJhfX7S2tLKmZt0MJWzzm tzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=OlizUISIq606CN1afUuSK9uaL8qk/Z/dx3I3g+dWdfQ=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=q/Kl6tdkvAaRe1lCL3afysE7FbtDfm+qH9+a+Z+2kL9C83iBnGXJDn0PIrDoZSD6rl KWQ4O8nSSt7bPOu5JS1P7ArVw3aXGrtV5FGID8gTSH51cRkqBW9/KwwyqOjRREaVgsB+ QTAxByJbpAfKVovT9aBsEKUbuIeltt6HFmYVhiSFzoouc5J/f6llED9uXZqT0z5YtRQf 4LSzZT9XOgiRsV4qL1RnLWl5nBtSCR9jBHiNQvIb5n19SnevGGst4UBZR93a8f+4xqKZ WRZfINf3aUJF8ByPZujIED958YKvaaBl7IKQIVSPq1PqQQMbQgk1b3KHAdEPFf451dAS 0M1w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZO/m3SaA"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-37895611e5bsor2158298f8f.1.2024.09.11.08.15.59 for (Google Transport Security); Wed, 11 Sep 2024 08:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:600c:4e90:b0:42c:b037:5fce with SMTP id 5b1f17b1804b1-42ccd30c0eamr31635835e9.3.1726067758460; Wed, 11 Sep 2024 08:15:58 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.41.3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956d37a1sm11797177f8f.77.2024.09.11.08.15.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 08:15:58 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Subject: [PATCH v2 02/10] arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer Date: Wed, 11 Sep 2024 17:15:47 +0200 Message-ID: <20240911151555.2915258-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240911151555.2915258-1-dario.binacchi@amarulasolutions.com> References: <20240911151555.2915258-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZO/m3SaA"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add a simple-framebuffer node for U-Boot to further fill and activate. Co-Developed-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- .../freescale/imx8mn-bsh-smm-s2-display.dtsi | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi index 7675583a6b67..34cf781bc548 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi @@ -4,6 +4,34 @@ */ / { + chosen { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + framebuffer-panel0 { + compatible = "simple-framebuffer"; + clocks = <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, /* lcdif */ + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, + <&clk IMX8MN_VIDEO_PLL1>, + <&clk IMX8MN_CLK_DISP_AXI_ROOT>, /* pgc_dispmix */ + <&clk IMX8MN_CLK_DISP_APB_ROOT>, + <&clk IMX8MN_CLK_DISP_AXI>, + <&clk IMX8MN_CLK_DISP_APB>, + <&clk IMX8MN_SYS_PLL2_1000M>, + <&clk IMX8MN_SYS_PLL1_800M>, + <&clk IMX8MN_CLK_DSI_CORE>, /* mipi_disi */ + <&clk IMX8MN_CLK_DSI_PHY_REF>; + + power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>, + <&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>; + dvdd-supply = <®_3v3_dvdd>; + avdd-supply = <®_v3v3_avdd>; + status = "disabled"; + }; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 700000 0>; /* 700000 ns = 1337Hz */ @@ -59,7 +87,7 @@ &mipi_dsi { samsung,pll-clock-frequency = <12000000>; status = "okay"; - panel@0 { + panel0: panel@0 { compatible = "sharp,ls068b3sx02", "syna,r63353"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_panel>;