Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ls1021a: fix incorrect clock references

dtc warns about two 'clocks' properties that have an extraneous '1'
at the end:

arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a
arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a:clocks[1])
Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2190000/sgtl5000@a
arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2190000/sgtl5000@a:clocks[1])

The clocks that get referenced here are fixed-rate, so they do not
take any argument, and dtc interprets the next cell as a phandle, which
is invalid.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+2 -2
+1 -1
arch/arm/boot/dts/ls1021a-qds.dts
··· 215 215 reg = <0x2a>; 216 216 VDDA-supply = <&reg_3p3v>; 217 217 VDDIO-supply = <&reg_3p3v>; 218 - clocks = <&sys_mclk 1>; 218 + clocks = <&sys_mclk>; 219 219 }; 220 220 }; 221 221 };
+1 -1
arch/arm/boot/dts/ls1021a-twr.dts
··· 187 187 reg = <0x0a>; 188 188 VDDA-supply = <&reg_3p3v>; 189 189 VDDIO-supply = <&reg_3p3v>; 190 - clocks = <&sys_mclk 1>; 190 + clocks = <&sys_mclk>; 191 191 }; 192 192 }; 193 193