[PATCH] ARM: dts: imx7s: Fix CSI clocks

Fabio Estevam festevam at gmail.com
Wed Sep 13 06:36:48 PDT 2023


From: Fabio Estevam <festevam at denx.de>

Per nxp,imx7-csi.yaml, there is only one CSI clock entry.

Fix it.

This fixes the following schema warnings:

imx7d-zii-rpu2.dtb: csi at 30710000: clocks: [[1, 413], [1, 326], [1, 413]] is too long
	from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
imx7d-zii-rpu2.dtb: csi at 30710000: clock-names:0: 'mclk' was expected
	from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
imx7d-zii-rpu2.dtb: csi at 30710000: clock-names: ['axi', 'mclk', 'dcic'] is too long
	from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
index e152d08f27d4..9e683f499f40 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
@@ -800,10 +800,8 @@ csi: csi at 30710000 {
 				compatible = "fsl,imx7-csi";
 				reg = <0x30710000 0x10000>;
 				interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clks IMX7D_CLK_DUMMY>,
-					 <&clks IMX7D_CSI_MCLK_ROOT_CLK>,
-					 <&clks IMX7D_CLK_DUMMY>;
-				clock-names = "axi", "mclk", "dcic";
+				clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
+				clock-names = "mclk";
 				status = "disabled";
 
 				port {
-- 
2.34.1




More information about the linux-arm-kernel mailing list