diff mbox series

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

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

Commit Message

Fabio Estevam June 6, 2023, 7:03 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>
---
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(+)

Comments

Alexander Stein June 8, 2023, 2:31 p.m. UTC | #1
Am Dienstag, 6. Juni 2023, 21:03:22 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>

Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com>

> ---
> 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@3000 {
>  			mipi_dsi: dsi@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>,
diff mbox series

Patch

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@3000 {
 			mipi_dsi: dsi@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>,