[PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi

Fabio Estevam festevam at gmail.com
Tue Jun 6 12:03:22 PDT 2023


From: Fabio Estevam <festevam at denx.de>

mipi_dsi node requires #address-cells and #size-cells.

Pass them to fix the following schema warnings:

imx8mq-mnt-reform2.dtb: mipi-dsi at 30a00000: '#address-cells' is a required property
>From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
imx8mq-mnt-reform2.dtb: mipi-dsi at 30a00000: '#size-cells' is a required property
>From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
Changes since v1:
- Pass address-cells/size-cells in imx8mq.dtsi instead of in board dts. (Alexander)

 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 54e374e81ce6..4b221f0c2965 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1057,6 +1057,8 @@ sec_jr2: jr at 3000 {
 			mipi_dsi: dsi at 30a00000 {
 				compatible = "fsl,imx8mq-nwl-dsi";
 				reg = <0x30a00000 0x300>;
+				#address-cells = <1>;
+				#size-cells = <0>;
 				clocks = <&clk IMX8MQ_CLK_DSI_CORE>,
 					 <&clk IMX8MQ_CLK_DSI_AHB>,
 					 <&clk IMX8MQ_CLK_DSI_IPG_DIV>,
-- 
2.34.1




More information about the linux-arm-kernel mailing list