diff mbox series

[2/2] arm64: dts: imx8mq-mnt-reform2: Pass address-cells/size-cells

Message ID 20230605143405.614665-2-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: imx8mq: Use 'dsi' as node name | expand

Commit Message

Fabio Estevam June 5, 2023, 2:34 p.m. UTC
From: Fabio Estevam <festevam@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@30a00000: '#address-cells' is a required property
From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
imx8mq-mnt-reform2.dtb: mipi-dsi@30a00000: '#size-cells' is a required property
From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alexander Stein June 6, 2023, 6:18 a.m. UTC | #1
Hi Fabio,

Am Montag, 5. Juni 2023, 16:34:05 CEST schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@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@30a00000: '#address-cells' is a required
> property From schema:
> Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
> imx8mq-mnt-reform2.dtb: mipi-dsi@30a00000: '#size-cells' is a required
> property From schema:
> Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
> b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts index
> 3ae3824be027..a4e552eeac39 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
> @@ -179,6 +179,8 @@ &lcdif {
>  };
> 
>  &mipi_dsi {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
>  	status = "okay";
> 
>  	ports {

Shouldn't this be added in imx8mq.dtsi instead?

Best regards,
Alexander
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
index 3ae3824be027..a4e552eeac39 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts
@@ -179,6 +179,8 @@  &lcdif {
 };
 
 &mipi_dsi {
+	#address-cells = <1>;
+	#size-cells = <0>;
 	status = "okay";
 
 	ports {