ARM: dts: r8a779x: add '#reset-cells' in cpg-mssr
PATCH 1/1 ARM: dts: r8a779x: add '#reset-cells' in cpg-mssr
With the latest dtc, we get many warnings about the missing '#reset-cells' property in these controllers, e.g.:
arch/arm/boot/dts/r8a7790-lager.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller at e6150000 or bad phandle (referred from /can at e6e80000:resets[0]) arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller at e6150000 or bad phandle (referred from /soc/dma-controller at e6700000:resets[0]) arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller at e6150000 or bad phandle (referred from /soc/ethernet at e6800000:resets[0]) arch/arm/boot/dts/r8a7793-gose.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller at e6150000 or bad phandle (referred from /gpio at e6050000:resets[0]) arch/arm/boot/dts/r8a7794-alt.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller at e6150000 or bad phandle (referred from /i2c at e6500000:resets[0]) arch/arm/boot/dts/r8a7794-silk.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller at e6150000 or bad phandle (referred from /interrupt-controller at e61c0000:resets[0])
This adds it for the three r8a779x chips that were lacking it. The binding mandates this as <1>, so this is the value I use.
--- arch/arm/boot/dts/r8a7790.dtsi | 1 + arch/arm/boot/dts/r8a7792.dtsi | 1 + arch/arm/boot/dts/r8a7794.dtsi | 1 + 3 files changed, 3 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +1 -0
@@ -1186,6 +1186,7 @@ clock-names = "extal", "usb_extal"; #clock-cells = <2>; #power-domain-cells = <0>; + #reset-cells = <1>; }; prr: chipid at ff000044 {
arch/arm/boot/dts/r8a7792.dtsi +1 -0
@@ -828,6 +828,7 @@ clock-names = "extal"; #clock-cells = <2>; #power-domain-cells = <0>; + #reset-cells = <1>; }; };
arch/arm/boot/dts/r8a7794.dtsi +1 -0
@@ -1098,6 +1098,7 @@ clock-names = "extal", "usb_extal"; #clock-cells = <2>; #power-domain-cells = <0>; + #reset-cells = <1>; }; rst: reset-controller at e6160000 {
Signature · 1 line
2.9.0
Quoted 10 lines · Arnd Bergmann
With the latest dtc, we get many warnings about the missing '#reset-cells' property in these controllers, e.g.:
arch/arm/boot/dts/r8a7790-lager.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /can at e6e80000:resets[0])arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller ate6150000or bad phandle (referred from /soc/dma-controller at e6700000:resets[0])arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller ate6150000or bad phandle (referred from /soc/ethernet at e6800000:resets[0])arch/arm/boot/dts/r8a7793-gose.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /gpio at e6050000:resets[0])arch/arm/boot/dts/r8a7794-alt.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /i2c at e6500000:resets[0])arch/arm/boot/dts/r8a7794-silk.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /interrupt-controller at e61c0000:resets[0])
Quoted 8 lines
This adds it for the three r8a779x chips that were lacking it. The binding mandates this as <1>, so this is the value I use.
Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/boot/dts/r8a7790.dtsi | 1 + arch/arm/boot/dts/r8a7792.dtsi | 1 + arch/arm/boot/dts/r8a7794.dtsi | 1 +
It seems I missed the same problem in r8a7793. I'll do some more tests to see if there is more of the same, and will send an updated patch once I'm more confident I have the right version.
Arnd
Geert Uytterhoeven
Acked-byHi Arnd,
Quoted 20 lines · Arnd Bergmann
Quoted 10 lines · Arnd Bergmann
With the latest dtc, we get many warnings about the missing '#reset-cells' property in these controllers, e.g.:
arch/arm/boot/dts/r8a7790-lager.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /can at e6e80000:resets[0])arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller ate6150000or bad phandle (referred from /soc/dma-controller at e6700000:resets[0])arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller ate6150000or bad phandle (referred from /soc/ethernet at e6800000:resets[0])arch/arm/boot/dts/r8a7793-gose.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /gpio at e6050000:resets[0])arch/arm/boot/dts/r8a7794-alt.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /i2c at e6500000:resets[0])arch/arm/boot/dts/r8a7794-silk.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller ate6150000or bad phandle (referred from /interrupt-controller at e61c0000:resets[0])Quoted 8 lines
This adds it for the three r8a779x chips that were lacking it. The binding mandates this as <1>, so this is the value I use.
Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/boot/dts/r8a7790.dtsi | 1 + arch/arm/boot/dts/r8a7792.dtsi | 1 + arch/arm/boot/dts/r8a7794.dtsi | 1 +
Quoted 3 lines
It seems I missed the same problem in r8a7793. I'll do some more tests to see if there is more of the same, and will send an updated patch once I'm more confident I have the right version.
Thanks for catching this!
Seems I completely missed adding the #reset-cells for all but r8a7791.dtsi, despite the commit message saying otherwise.
r8a7793.dtsi is the only extra missing one.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds