From patchwork Thu Oct 24 10:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3584 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 798EC3FA04 for ; Thu, 24 Oct 2024 12:28:10 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a9a0c259715sf44489566b.0 for ; Thu, 24 Oct 2024 03:28:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1729765690; cv=pass; d=google.com; s=arc-20240605; b=dCGd4sYNPAXCLYKhBK9hOgEGyW5GXDizTV0zleYtP53rMoWyEEMU5Vo/yoPe+6/6H3 S6fxDAClmwm6tesxTo/wStNXXr1xEiqY1oJNHHJ+I9OHuSZXoydL2qz0Dyk9Bumi7XVH g8YMEbrVh07kHG2IV+wIdI+MYZk2DvCn8UkRfrA6oYZ5qL82BBS2YjI7VB1abE6vHE64 Ef10OcHnfhvYaWTk+4UJl07UXD3fFWzMXpKj5yV8U3iv3ScZTjRtLX0WDE/ccBcIqaFa Y7IqDDwKQWXCRiNW38HAOFV9Few6Q4ztPHCzx4Fp+LyUFL/c3Ff1rX0xRAGORibAP48r LKjg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Hy/SEG3b9mbybmHevJr7c4oOkbM34N793QUsEh841Dg=; fh=Bj1vagI6X5ebnYEjOxZ9nYqfNmg3LEUoT32DB4C8Rd4=; b=OcmfCgXjhZ8wml7nq5fLln781mXI/FhVIWL9rzDKFrP+W9Onc3CUXKPBXM27gkAH7r +F7mUcSMiqt5O/IrldpREeQp5xS7pOrpAs/gKMoXcbAZfl197M0kYLdNFkx/1UxTAVbl Xz++OHof18kUTNBOTuZmBF/2OIr5pDrx6R1ZWT3VKum+6Qmuqf/Wga3vRMdz4t5lt/at WRHAj6QdAU3tVUM+fy/dX/mOJiQnrH21vhyIPx74RQvMBD8LA3+3H6jPuRgJ6ppOrQMw xO7H4pfLu5xzZ2E4DjC7zWn2MPi4Xqneu1Nh9g9fOhNKNuF/8UPL88gL2xR1t87nO7+T IaGw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bRZaYpj9; 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=1729765690; x=1730370490; 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:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=Hy/SEG3b9mbybmHevJr7c4oOkbM34N793QUsEh841Dg=; b=e826iG1yWukpJHpPV33RSWnFaMIrtnTn2dVvC4QYbOMbLNoxHLFQJro/kouZjoXedb +jpu7WZdEJZIH0WcfCe+9GLd+L3UaXoeRUnD+EmRvz77/QuoZzeFS/BCryhW846WcJm7 5q/MCzV45bMCRpv0OlH0Tsz7PXXSmXqf59Huc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729765690; x=1730370490; 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 :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Hy/SEG3b9mbybmHevJr7c4oOkbM34N793QUsEh841Dg=; b=Y9ViLfZ/OvtcqSP9pM0rXa1GavtwD0ZQ3XpbrQEYNo5fhPkDk5xda78gXAaaQXfL25 ozIX74pYqFXI2XTHT76+7WgFQceVTlTEG85TlcavWi0uG1YgF/PKa7x4C4ptviOeCPJm +n+rflw9/8yxbONr/d4AWda7fDN1Xplml0jk/QH6XGRj5Toj+uUoNYFvYuwSUKtrQgYv 6+0DENj65BfsCJUPUxpX6GEcO4nskf9jvCW7AbwDOBqrAwKn3cRd1u5pCnKgvnQ/cuqj XAWdVZ3ciLgkMVQvCpUIULO9fwZ9Pg8SRpva7l67eKzxP7+bFAmjB8FF40SkkGObyXtC ovOw== X-Forwarded-Encrypted: i=2; AJvYcCW4lOt5ues9gldtLuTHBcl+Z7h5TvsUG1PBFd2PrDE7IIGCNMtP4YkHjdrrNkASuqp/rzinOk0UuijP+7rT@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxC5OlY6JzY6wTerOpeF52eXb86cztzODNL3uzielbAZpTrbeug +BQybshZQeFgSgVClJ3pbjchKhcnUulyy5KZpz5GlS3+rZOBgGuRRAPb9M1hWz3W9g== X-Google-Smtp-Source: AGHT+IGiWM9PrRmRWy7UxhJNu2X4jbbLR87SxTwVQMs/ite+HEsXWijCLhCu0siMSVMMaul9xSwT8w== X-Received: by 2002:a05:6402:254b:b0:5ca:da2:b2ca with SMTP id 4fb4d7f45d1cf-5cb8acba591mr5489248a12.19.1729765689798; Thu, 24 Oct 2024 03:28:09 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5245:b0:5c9:85d4:d942 with SMTP id 4fb4d7f45d1cf-5cb99882f55ls61855a12.0.-pod-prod-02-eu; Thu, 24 Oct 2024 03:28:08 -0700 (PDT) X-Received: by 2002:a17:907:94cd:b0:a99:fce4:e993 with SMTP id a640c23a62f3a-a9abf8cea42mr456810366b.39.1729765688162; Thu, 24 Oct 2024 03:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729765688; cv=none; d=google.com; s=arc-20240605; b=UvPhFnOmPk99AZfNsreKt4CDbvyQ8IWVxeQjA0OXlaMnDH1j/rNZFb9DOEUj8mSWUM 4ncvxEyaV02UHE5nDkNtwiQK85SJuxayMlzEXkR47LHIK/YJLVXXD5bay/27JirBKah0 MqSmhK7xREF+pxscQ/fBzpGuHCsIwfHWWeVgZ1EwwBGtnlVSnIvCSsJN7pZR/5E7d0TK dXpR2hvLzlCCTulxLKjTNvzvpSTCGWko4GzRBU72KT4U7IzMRJoSbgTM/v8uqnNmCeXt G6QDECw9zfK4o5JJrhUKAFx5Mov7eNcCDWaIjOR+hgn2QvSf6UpUD3Eu7bX/xsl4ghnH i2MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=MVJNmqv90FijvAIp/3GkvDIQz+9MpbG95NCFvDT1TVU=; fh=xTE7e92AtnItdBsuN2vlt3m0NQSoaZroClhK7wBMa+g=; b=OQOnwgOJ37IlubFYtdbETzuREK2qytr0De0W+kxiBVc0fwNuiD7jDgmz3+kThMcRkL nAWIRssdZk7AnSiPzzNFyQPcWZU98CY4Mx6JqV6E+e8BUFSMCA2BzUFo1O3AhGF3Ih5L cu+mJGrDhhTF2wmKwTDTbZqo+98xVbBXNDor90EgvOkFyIt10Vs/PmnAMTx12F6VdKDJ mkqbTX3HSIwlwti5LsFMtacjfDYxfBUslAlVG3rU2BhSlZxgW+YI6TskB0eXqDa7pjte Gg93RhhCIDnFR43sri6bgsKEn+nMBF4udN0vZIWtN+eow40iDCqc0qMBXPs06/rTckIg 5ZzQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bRZaYpj9; 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 a640c23a62f3a-a9a912c5ee6sor322996066b.12.2024.10.24.03.28.08 for (Google Transport Security); Thu, 24 Oct 2024 03:28:08 -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:6402:3591:b0:5cb:6ca4:f552 with SMTP id 4fb4d7f45d1cf-5cb8b1a982emr4924713a12.35.1729765687354; Thu, 24 Oct 2024 03:28:07 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:6474:ebbf:f79d:49dd:b804:3f48]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb66c726besm5538534a12.93.2024.10.24.03.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 03:28:07 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer Date: Thu, 24 Oct 2024 12:27:56 +0200 Message-ID: <20241024102800.3481574-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 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=bRZaYpj9; 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: Michael Trimarchi Signed-off-by: Dario Binacchi --- .../freescale/imx8mn-bsh-smm-s2-display.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) 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..3d670534a714 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 */