[PATCH v2 1/1] arm64: dts: imx8mp: fix address length for LCDIF2

Subsystems: arm/freescale imx / mxc / layerscape arm architecture, the rest

STALE1297d

2 messages, 2 authors, 2023-03-27 · open the first message on its own page

[PATCH v2 1/1] arm64: dts: imx8mp: fix address length for LCDIF2

From: Alexander Stein <hidden>
Date: 2023-03-14 07:48:27

0x238 is the offset for PANIC0_THRES, so the length needs to be greater
than that. Use the size from memory map from reference manual.

Fixes: 94e6197dadc9 ("arm64: dts: imx8mp: Add LCDIF2 & LDB nodes")
Signed-off-by: Alexander Stein <redacted>
---
Changes in v2:
* Use size from memory map in from reference manual

 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 3cea1df83105..399858a87304 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -1330,7 +1330,7 @@ lcdif1_to_dsim: endpoint {
 
 			lcdif2: display-controller@32e90000 {
 				compatible = "fsl,imx8mp-lcdif";
-				reg = <0x32e90000 0x238>;
+				reg = <0x32e90000 0x10000>;
 				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT>,
 					 <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
-- 
2.34.1

Re: [PATCH v2 1/1] arm64: dts: imx8mp: fix address length for LCDIF2

From: Shawn Guo <shawnguo@kernel.org>
Date: 2023-03-27 02:06:57

On Tue, Mar 14, 2023 at 08:48:17AM +0100, Alexander Stein wrote:
0x238 is the offset for PANIC0_THRES, so the length needs to be greater
than that. Use the size from memory map from reference manual.

Fixes: 94e6197dadc9 ("arm64: dts: imx8mp: Add LCDIF2 & LDB nodes")
Signed-off-by: Alexander Stein <redacted>
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help