From nobody Sun Nov 24 15:32:33 2024 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 696B4374C4 for ; Mon, 4 Nov 2024 15:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730733347; cv=none; b=XzNB3M8naK490geqsCZda/Ukm7gRXqssoQ/63OgeQquyYwM+x3VLCh0dbsMtbVScXTPTSzhFAY6N4br16y4E25q0Kaj0YdM1epW7ZWnYgbHImX2Dl9wIoAJjseEyLlvIYrrmN+zhdob7xOCB5h8CWlQ34MBXgpen5zXxQteMDnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730733347; c=relaxed/simple; bh=yC5x0Kr3GQ+y52MwCBTCIIJOZYvx1zk4EFtR7xU0I1M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pQ1x9Qn9uscPhqihzv+OM5UhaNOG5CMuLnGb5LoVGlUwjS9OxKsczFPDe2k46zGG+403rz7UvYUwxD/A2qU5OQoOscSqFYFaZa6rooCNccpkNFww1/vc+eTCM55rq987+JdS0I7Sl+RQIOl8Zg6ri2sE5/SnCj0yZRODcvmP+8k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=KnXzrRwP; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="KnXzrRwP" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-539f2b95775so4763954e87.1 for ; Mon, 04 Nov 2024 07:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1730733343; x=1731338143; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JCLk/wc3MKwAF912ySsq2eZpu6hxxtGQsnffSicJSqo=; b=KnXzrRwP0AsVCqQLjqUJb9BhDAmBFq3YHt1G7KeatiEfceBb5M/9+CzdmjkDPN7A1H Sik6Xmxp5xf8W3eSeVMlWUW0KXxC+fIDiviTfbGp5bvF2rYkh9KnKl93TSh6++lYOTkE CPGcJv3CHGaMNYvqFex6AveJiQP+bnOJDUF8Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730733343; x=1731338143; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JCLk/wc3MKwAF912ySsq2eZpu6hxxtGQsnffSicJSqo=; b=ASm2yky3bkoot+kc7UFUheLWgth/KIgzD1nG/m1eDzpKCWjUNbLYzGTXymky2m9PHD 7i0XpCrdsRuBguDW83YrldNzzhctkWmQS9tgN96nN2BexlOMRuxjdJEMFlUG5RuAWeLp a1VlpXbLWmaGmqkLqCQwOCoisD6efmXadWOuZWh1YOKp/m087ShS2mLog+7QB3jP4cai /cSkM4hX/2mRitYXg1up2Ocl8aYdI3fPrJk8qarIa237XD95rLeJaMiik/i2EZh4qFai XA+YtUHJEHaj88etzSqjG7eQhGxPgnh+/DYk2OSGuwYzt1Wg2hkasbpR8YKqdZbE4Euc xVsw== X-Gm-Message-State: AOJu0Yyi1uZzRRmR8JF7/jgW7WJQ+8R+RfjYFpC9bfvzdgzpnGhaxnBf CVuACK9yH46kGzAr61dybWsDQZbhQsmFuzRadxMXnJwiuv/mKlWJ1/zvrn8yVAra2oLVLHsfJ4m O X-Google-Smtp-Source: AGHT+IHZ+MhzY+cG10/XeJWXQh7+JhLBbhGrXh2ptOIna5FlTvipU/iFvh7dLTIkTlqmlf8NGjimig== X-Received: by 2002:a05:6512:1087:b0:539:936c:9845 with SMTP id 2adb3069b0e04-53d65e0b4afmr9070518e87.37.1730733343135; Mon, 04 Nov 2024 07:15:43 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.40.195]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9e564c4fafsm561885666b.47.2024.11.04.07.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 07:15:42 -0800 (PST) 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 v2] arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer Date: Mon, 4 Nov 2024 16:15:20 +0100 Message-ID: <20241104151539.1678388-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- Changes in v2: - Fix the warnings: (ranges_format): /chosen:ranges: empty "ranges" property but its #address= -cells (1) differs from / (2) (ranges_format): /chosen:ranges: empty "ranges" property but its #size-ce= lls (1) differs from / (2) by setting both #address-cells and #size-cells to 2. .../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..98dec3c42060 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 @@ */ =20 / { + chosen { + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + + framebuffer-panel0 { + compatible =3D "simple-framebuffer"; + clocks =3D <&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 =3D <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>, + <&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>; + dvdd-supply =3D <®_3v3_dvdd>; + avdd-supply =3D <®_v3v3_avdd>; + status =3D "disabled"; + }; + }; + backlight: backlight { compatible =3D "pwm-backlight"; pwms =3D <&pwm1 0 700000 0>; /* 700000 ns =3D 1337Hz */ --=20 2.43.0