diff mbox series

ARM: dts: imx7s: Fix CSI clocks

Message ID 20230913133648.1870510-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx7s: Fix CSI clocks | expand

Commit Message

Fabio Estevam Sept. 13, 2023, 1:36 p.m. UTC
From: Fabio Estevam <festevam@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@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@30710000: clock-names:0: 'mclk' was expected
	from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
imx7d-zii-rpu2.dtb: csi@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@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Comments

Shawn Guo Sept. 25, 2023, 2:36 a.m. UTC | #1
On Wed, Sep 13, 2023 at 10:36:48AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@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@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@30710000: clock-names:0: 'mclk' was expected
> 	from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
> imx7d-zii-rpu2.dtb: csi@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@denx.de>

Applied, thanks!
diff mbox series

Patch

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@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 {