summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap36xx-clocks.dtsi
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2022-04-29 08:57:36 +0200
committerTony Lindgren <tony@atomide.com>2022-05-03 08:15:44 +0200
commitb508079bf2dca43995eb2cfa2aef5a4e7d82d2e6 (patch)
tree015a655480960d6e3f9956b09be8e098371a40da /arch/arm/boot/dts/omap36xx-clocks.dtsi
parentARM: dts: Group omap3 CM_FCLKEN_CAM clocks (diff)
downloadlinux-b508079bf2dca43995eb2cfa2aef5a4e7d82d2e6.tar.xz
linux-b508079bf2dca43995eb2cfa2aef5a4e7d82d2e6.zip
ARM: dts: Group omap3 CM_FCLKEN_PER clocks
The clksel related registers on omap3 cause unique_unit_address and node_name_chars_strict warnings with the W=1 or W=2 make flags enabled. With the clock drivers updated, we can now avoid most of these warnings by grouping the TI component clocks using the TI clksel binding, and with the use of clock-output-names property to avoid non-standard node names for the clocks. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap36xx-clocks.dtsi')
-rw-r--r--arch/arm/boot/dts/omap36xx-clocks.dtsi17
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/omap36xx-clocks.dtsi b/arch/arm/boot/dts/omap36xx-clocks.dtsi
index 4e9cc9003594..c5fdb2bd765d 100644
--- a/arch/arm/boot/dts/omap36xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap36xx-clocks.dtsi
@@ -58,12 +58,19 @@
ti,set-bit-to-disable;
};
- uart4_fck: uart4_fck@1000 {
- #clock-cells = <0>;
- compatible = "ti,wait-gate-clock";
- clocks = <&per_48m_fck>;
+ clock@1000 {
+ compatible = "ti,clksel";
reg = <0x1000>;
- ti,bit-shift = <18>;
+ #clock-cells = <2>;
+ #address-cells = <0>;
+
+ uart4_fck: clock-uart4-fck {
+ #clock-cells = <0>;
+ compatible = "ti,wait-gate-clock";
+ clock-output-names = "uart4_fck";
+ clocks = <&per_48m_fck>;
+ ti,bit-shift = <18>;
+ };
};
};