linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name
@ 2023-06-06 19:03 Fabio Estevam
  2023-06-06 19:03 ` [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabio Estevam @ 2023-06-06 19:03 UTC (permalink / raw)
  To: shawnguo; +Cc: alexander.stein, linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Use 'dsi' as node name to avoid the following schema warning:

imx8mq-evk.dtb: mipi-dsi@30a00000: $nodename:0: 'mipi-dsi@30a00000' does not match '^dsi(@.*)?$'
From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Changes since v1:
- None.

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

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 0492556a10db..54e374e81ce6 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1054,7 +1054,7 @@ sec_jr2: jr@3000 {
 				};
 			};
 
-			mipi_dsi: mipi-dsi@30a00000 {
+			mipi_dsi: dsi@30a00000 {
 				compatible = "fsl,imx8mq-nwl-dsi";
 				reg = <0x30a00000 0x300>;
 				clocks = <&clk IMX8MQ_CLK_DSI_CORE>,
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi
  2023-06-06 19:03 [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Fabio Estevam
@ 2023-06-06 19:03 ` Fabio Estevam
  2023-06-08 14:31   ` Alexander Stein
  2023-06-08 14:31 ` [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Alexander Stein
  2023-06-09 14:34 ` Shawn Guo
  2 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2023-06-06 19:03 UTC (permalink / raw)
  To: shawnguo; +Cc: alexander.stein, linux-arm-kernel, 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>
---
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>,
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name
  2023-06-06 19:03 [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Fabio Estevam
  2023-06-06 19:03 ` [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi Fabio Estevam
@ 2023-06-08 14:31 ` Alexander Stein
  2023-06-09 14:34 ` Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Alexander Stein @ 2023-06-08 14:31 UTC (permalink / raw)
  To: shawnguo, linux-arm-kernel; +Cc: linux-arm-kernel, Fabio Estevam, Fabio Estevam

Am Dienstag, 6. Juni 2023, 21:03:21 CEST schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@denx.de>
> 
> Use 'dsi' as node name to avoid the following schema warning:
> 
> imx8mq-evk.dtb: mipi-dsi@30a00000: $nodename:0: 'mipi-dsi@30a00000' does not
> match '^dsi(@.*)?$' 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:
> - None.
> 
>  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index
> 0492556a10db..54e374e81ce6 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -1054,7 +1054,7 @@ sec_jr2: jr@3000 {
>  				};
>  			};
> 
> -			mipi_dsi: mipi-dsi@30a00000 {
> +			mipi_dsi: dsi@30a00000 {
>  				compatible = "fsl,imx8mq-nwl-dsi";
>  				reg = <0x30a00000 0x300>;
>  				clocks = <&clk IMX8MQ_CLK_DSI_CORE>,


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi
  2023-06-06 19:03 ` [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi Fabio Estevam
@ 2023-06-08 14:31   ` Alexander Stein
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Stein @ 2023-06-08 14:31 UTC (permalink / raw)
  To: shawnguo, linux-arm-kernel; +Cc: linux-arm-kernel, Fabio Estevam, Fabio Estevam

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>,


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name
  2023-06-06 19:03 [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Fabio Estevam
  2023-06-06 19:03 ` [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi Fabio Estevam
  2023-06-08 14:31 ` [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Alexander Stein
@ 2023-06-09 14:34 ` Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2023-06-09 14:34 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: alexander.stein, linux-arm-kernel, Fabio Estevam

On Tue, Jun 06, 2023 at 04:03:21PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Use 'dsi' as node name to avoid the following schema warning:
> 
> imx8mq-evk.dtb: mipi-dsi@30a00000: $nodename:0: 'mipi-dsi@30a00000' does not match '^dsi(@.*)?$'
> From schema: Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied both, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-09 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 19:03 [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Fabio Estevam
2023-06-06 19:03 ` [PATCH v2 2/2] arm64: dts: imx8mq: Pass address-cells/size-cells to mipi_dsi Fabio Estevam
2023-06-08 14:31   ` Alexander Stein
2023-06-08 14:31 ` [PATCH v2 1/2] arm64: dts: imx8mq: Use 'dsi' as node name Alexander Stein
2023-06-09 14:34 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).