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

Configure Feed

Select the types of activity you want to include in your feed.

mips: dts: realtek: Clean up CPU clocks

The referenced CPU clock does not require any additional #clock-cells,
so drop the extraneous '0' in the referenced CPU clock.

The binding for MIPS cpus also does not allow for the clock-names
property, so just drop it.

This resolves some error message from 'dtbs_check':
cpu@0: clocks: [[4], [0]] is too long
'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # For RTL9302C
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Sander Vanheule and committed by
Thomas Bogendoerfer
e5723ab6 3b0f24d7

+2 -4
+1 -2
arch/mips/boot/dts/realtek/rtl838x.dtsi
··· 9 9 device_type = "cpu"; 10 10 compatible = "mips,mips4KEc"; 11 11 reg = <0>; 12 - clocks = <&baseclk 0>; 13 - clock-names = "cpu"; 12 + clocks = <&baseclk>; 14 13 }; 15 14 }; 16 15
+1 -2
arch/mips/boot/dts/realtek/rtl930x.dtsi
··· 26 26 device_type = "cpu"; 27 27 compatible = "mips,mips34Kc"; 28 28 reg = <0>; 29 - clocks = <&baseclk 0>; 30 - clock-names = "cpu"; 29 + clocks = <&baseclk>; 31 30 }; 32 31 }; 33 32