Commit 4f74ed81 authored by David Heidelberg's avatar David Heidelberg Committed by Thierry Reding

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: default avatarDavid Heidelberg <david@ixit.cz>
Co-developed-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0b9f3940
......@@ -1152,7 +1152,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -1016,7 +1016,7 @@ backlight: backlight {
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>;
......
......@@ -273,7 +273,7 @@ backlight: backlight {
power-supply = <&lcd_bl_en>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -1869,7 +1869,7 @@ usb-phy@7d008000 {
vbus-supply = <&vdd_usb3_vbus>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -582,7 +582,7 @@ backlight: backlight {
256>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -1062,7 +1062,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -827,7 +827,7 @@ bat1010: battery-2s1p {
};
/* 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 @@ clk32k_in: clock@0 {
* 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>;
......
......@@ -640,7 +640,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -575,7 +575,7 @@ backlight: backlight {
default-brightness-level = <10>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -792,7 +792,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -502,7 +502,7 @@ mmc@c8000600 {
status = "okay";
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -380,7 +380,7 @@ mmc@c8000600 {
bus-width = <4>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -606,7 +606,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -1069,7 +1069,7 @@ battery_cell: battery-cell {
};
/* 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>;
......
......@@ -1967,7 +1967,7 @@ usb-phy@7d008000 {
status = "okay";
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
......@@ -434,7 +434,7 @@ backlight: backlight {
default-brightness-level = <6>;
};
clk32k_in: clock@0 {
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
#clock-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment