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

ARM: tegra: Rename top-level clocks

Clocks defined at the top level in device tree are no longer part of a
simple bus and therefore don't have a reg property. Nodes without a reg
property shouldn't have a unit-address either, so drop the unit address
from the node names. To ensure nodes aren't duplicated (in which case
they would end up merged in the final DTB), append the name of the clock
to the node name.

[treding@nvidia.com: factored out patch and wrote commit message]
Signed-off-by: David Heidelberg <david@ixit.cz>
Co-developed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

David Heidelberg and committed by
Thierry Reding
4f74ed81 0b9f3940

+17 -17
+1 -1
arch/arm/boot/dts/tegra114-dalmore.dts
··· 1152 1152 default-brightness-level = <6>; 1153 1153 }; 1154 1154 1155 - clk32k_in: clock@0 { 1155 + clk32k_in: clock-32k { 1156 1156 compatible = "fixed-clock"; 1157 1157 clock-frequency = <32768>; 1158 1158 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra114-roth.dts
··· 1016 1016 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 1017 1017 }; 1018 1018 1019 - clk32k_in: clock@0 { 1019 + clk32k_in: clock-32k { 1020 1020 compatible = "fixed-clock"; 1021 1021 clock-frequency = <32768>; 1022 1022 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra114-tn7.dts
··· 273 273 power-supply = <&lcd_bl_en>; 274 274 }; 275 275 276 - clk32k_in: clock@0 { 276 + clk32k_in: clock-32k { 277 277 compatible = "fixed-clock"; 278 278 clock-frequency = <32768>; 279 279 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra124-jetson-tk1.dts
··· 1869 1869 vbus-supply = <&vdd_usb3_vbus>; 1870 1870 }; 1871 1871 1872 - clk32k_in: clock@0 { 1872 + clk32k_in: clock-32k { 1873 1873 compatible = "fixed-clock"; 1874 1874 clock-frequency = <32768>; 1875 1875 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra124-nyan.dtsi
··· 582 582 256>; 583 583 }; 584 584 585 - clk32k_in: clock@0 { 585 + clk32k_in: clock-32k { 586 586 compatible = "fixed-clock"; 587 587 clock-frequency = <32768>; 588 588 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra124-venice2.dts
··· 1062 1062 default-brightness-level = <6>; 1063 1063 }; 1064 1064 1065 - clk32k_in: clock@0 { 1065 + clk32k_in: clock-32k { 1066 1066 compatible = "fixed-clock"; 1067 1067 clock-frequency = <32768>; 1068 1068 #clock-cells = <0>;
+2 -2
arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
··· 827 827 }; 828 828 829 829 /* PMIC has a built-in 32KHz oscillator which is used by PMC */ 830 - clk32k_in: clock@0 { 830 + clk32k_in: clock-32k-in { 831 831 compatible = "fixed-clock"; 832 832 #clock-cells = <0>; 833 833 clock-frequency = <32768>; ··· 839 839 * oscillator is used as a reference clock-source by the 840 840 * Azurewave WiFi/BT module. 841 841 */ 842 - rtc_32k_wifi: clock@1 { 842 + rtc_32k_wifi: clock-32k-wifi { 843 843 compatible = "fixed-clock"; 844 844 #clock-cells = <0>; 845 845 clock-frequency = <32768>;
+1 -1
arch/arm/boot/dts/tegra20-harmony.dts
··· 640 640 default-brightness-level = <6>; 641 641 }; 642 642 643 - clk32k_in: clock@0 { 643 + clk32k_in: clock-32k { 644 644 compatible = "fixed-clock"; 645 645 clock-frequency = <32768>; 646 646 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-paz00.dts
··· 575 575 default-brightness-level = <10>; 576 576 }; 577 577 578 - clk32k_in: clock@0 { 578 + clk32k_in: clock-32k { 579 579 compatible = "fixed-clock"; 580 580 clock-frequency = <32768>; 581 581 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-seaboard.dts
··· 792 792 default-brightness-level = <6>; 793 793 }; 794 794 795 - clk32k_in: clock@0 { 795 + clk32k_in: clock-32k { 796 796 compatible = "fixed-clock"; 797 797 clock-frequency = <32768>; 798 798 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-tamonten.dtsi
··· 502 502 status = "okay"; 503 503 }; 504 504 505 - clk32k_in: clock@0 { 505 + clk32k_in: clock-32k { 506 506 compatible = "fixed-clock"; 507 507 clock-frequency = <32768>; 508 508 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-trimslice.dts
··· 380 380 bus-width = <4>; 381 381 }; 382 382 383 - clk32k_in: clock@0 { 383 + clk32k_in: clock-32k { 384 384 compatible = "fixed-clock"; 385 385 clock-frequency = <32768>; 386 386 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra20-ventana.dts
··· 606 606 default-brightness-level = <6>; 607 607 }; 608 608 609 - clk32k_in: clock@0 { 609 + clk32k_in: clock-32k { 610 610 compatible = "fixed-clock"; 611 611 clock-frequency = <32768>; 612 612 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
··· 1069 1069 }; 1070 1070 1071 1071 /* PMIC has a built-in 32KHz oscillator which is used by PMC */ 1072 - clk32k_in: clock@0 { 1072 + clk32k_in: clock-32k { 1073 1073 compatible = "fixed-clock"; 1074 1074 #clock-cells = <0>; 1075 1075 clock-frequency = <32768>;
+1 -1
arch/arm/boot/dts/tegra30-beaver.dts
··· 1967 1967 status = "okay"; 1968 1968 }; 1969 1969 1970 - clk32k_in: clock@0 { 1970 + clk32k_in: clock-32k { 1971 1971 compatible = "fixed-clock"; 1972 1972 clock-frequency = <32768>; 1973 1973 #clock-cells = <0>;
+1 -1
arch/arm/boot/dts/tegra30-cardhu.dtsi
··· 434 434 default-brightness-level = <6>; 435 435 }; 436 436 437 - clk32k_in: clock@0 { 437 + clk32k_in: clock-32k { 438 438 compatible = "fixed-clock"; 439 439 clock-frequency = <32768>; 440 440 #clock-cells = <0>;