linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi
@ 2022-09-09  8:39 Martin Kepplinger
  2022-11-16  9:10 ` Martin Kepplinger
  2022-11-19  0:27 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Kepplinger @ 2022-09-09  8:39 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski, shawnguo, festevam
  Cc: kernel, linux-imx, kernel, dev, devicetree, linux-arm-kernel,
	linux-kernel, Martin Kepplinger

According to dtschema for the csi bridge, compatible is an enum and
only one must be used. Fixing this removes the following warning:

compatible: 'oneOf' conditional failed, one must be fixed

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index e9f0cdd10ab62..a348169c40f15 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1184,7 +1184,7 @@ csi1_mipi_ep: endpoint {
 			};
 
 			csi1: csi@30a90000 {
-				compatible = "fsl,imx8mq-csi", "fsl,imx7-csi";
+				compatible = "fsl,imx8mq-csi";
 				reg = <0x30a90000 0x10000>;
 				interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MQ_CLK_CSI1_ROOT>;
@@ -1236,7 +1236,7 @@ csi2_mipi_ep: endpoint {
 			};
 
 			csi2: csi@30b80000 {
-				compatible = "fsl,imx8mq-csi", "fsl,imx7-csi";
+				compatible = "fsl,imx8mq-csi";
 				reg = <0x30b80000 0x10000>;
 				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MQ_CLK_CSI2_ROOT>;
-- 
2.30.2


_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi
  2022-09-09  8:39 [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi Martin Kepplinger
@ 2022-11-16  9:10 ` Martin Kepplinger
  2022-11-19  0:27 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Kepplinger @ 2022-11-16  9:10 UTC (permalink / raw)
  To: robh, krzysztof.kozlowski, shawnguo, festevam
  Cc: kernel, linux-imx, kernel, dev, devicetree, linux-arm-kernel,
	linux-kernel

Am Freitag, dem 09.09.2022 um 10:39 +0200 schrieb Martin Kepplinger:
> According to dtschema for the csi bridge, compatible is an enum and
> only one must be used. Fixing this removes the following warning:
> 
> compatible: 'oneOf' conditional failed, one must be fixed
> 
> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
> ---
>  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index e9f0cdd10ab62..a348169c40f15 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -1184,7 +1184,7 @@ csi1_mipi_ep: endpoint {
>                         };
>  
>                         csi1: csi@30a90000 {
> -                               compatible = "fsl,imx8mq-csi",
> "fsl,imx7-csi";
> +                               compatible = "fsl,imx8mq-csi";
>                                 reg = <0x30a90000 0x10000>;
>                                 interrupts = <GIC_SPI 42
> IRQ_TYPE_LEVEL_HIGH>;
>                                 clocks = <&clk IMX8MQ_CLK_CSI1_ROOT>;
> @@ -1236,7 +1236,7 @@ csi2_mipi_ep: endpoint {
>                         };
>  
>                         csi2: csi@30b80000 {
> -                               compatible = "fsl,imx8mq-csi",
> "fsl,imx7-csi";
> +                               compatible = "fsl,imx8mq-csi";
>                                 reg = <0x30b80000 0x10000>;
>                                 interrupts = <GIC_SPI 43
> IRQ_TYPE_LEVEL_HIGH>;
>                                 clocks = <&clk IMX8MQ_CLK_CSI2_ROOT>;

hi Shawn and all interested in DTC warnings,

does this look ok to you? it should still apply. thank you,

                       martin



_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi
  2022-09-09  8:39 [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi Martin Kepplinger
  2022-11-16  9:10 ` Martin Kepplinger
@ 2022-11-19  0:27 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2022-11-19  0:27 UTC (permalink / raw)
  To: Martin Kepplinger
  Cc: robh, krzysztof.kozlowski, festevam, kernel, linux-imx, kernel,
	dev, devicetree, linux-arm-kernel, linux-kernel

On Fri, Sep 09, 2022 at 10:39:40AM +0200, Martin Kepplinger wrote:
> According to dtschema for the csi bridge, compatible is an enum and
> only one must be used. Fixing this removes the following warning:
> 
> compatible: 'oneOf' conditional failed, one must be fixed
> 
> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>

Applied, 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] 3+ messages in thread

end of thread, other threads:[~2022-11-19  0:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09  8:39 [PATCH] arm64: dts: imx8mq: fix dtschema warning for imx7-csi Martin Kepplinger
2022-11-16  9:10 ` Martin Kepplinger
2022-11-19  0:27 ` 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).