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>
This commit is contained in:
David Heidelberg 2021-12-12 00:14:03 +03:00 committed by Thierry Reding
parent 0b9f3940d6
commit 4f74ed817e
16 changed files with 17 additions and 17 deletions

View File

@ -1152,7 +1152,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -1016,7 +1016,7 @@
enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -273,7 +273,7 @@
power-supply = <&lcd_bl_en>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -1869,7 +1869,7 @@
vbus-supply = <&vdd_usb3_vbus>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -582,7 +582,7 @@
256>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -1062,7 +1062,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -827,7 +827,7 @@
};
/* PMIC has a built-in 32KHz oscillator which is used by PMC */
clk32k_in: clock@0 {
clk32k_in: clock-32k-in {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
@ -839,7 +839,7 @@
* oscillator is used as a reference clock-source by the
* Azurewave WiFi/BT module.
*/
rtc_32k_wifi: clock@1 {
rtc_32k_wifi: clock-32k-wifi {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;

View File

@ -640,7 +640,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -575,7 +575,7 @@
default-brightness-level = <10>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -792,7 +792,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -502,7 +502,7 @@
status = "okay";
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -380,7 +380,7 @@
bus-width = <4>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -606,7 +606,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -1069,7 +1069,7 @@
};
/* PMIC has a built-in 32KHz oscillator which is used by PMC */
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;

View File

@ -1967,7 +1967,7 @@
status = "okay";
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;

View File

@ -434,7 +434,7 @@
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;