[PATCH 2/3] dt-bindings: clock: ti: Add clock-output-names for clockctrl

Tony Lindgren tony at atomide.com
Thu Feb 3 03:23:36 PST 2022


This allows us to use clock-output-names for the clockctrl instance
name instead of relying on a custom compatible or non-standard node
names.

Cc: Stephen Boyd <sboyd at kernel.org>
Cc: Tero Kristo <kristo at kernel.org>
Signed-off-by: Tony Lindgren <tony at atomide.com>
---
 Documentation/devicetree/bindings/clock/ti-clkctrl.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/ti-clkctrl.txt b/Documentation/devicetree/bindings/clock/ti-clkctrl.txt
--- a/Documentation/devicetree/bindings/clock/ti-clkctrl.txt
+++ b/Documentation/devicetree/bindings/clock/ti-clkctrl.txt
@@ -21,6 +21,7 @@ Required properties :
 	       "ti,clkctrl-l4-per"
 	       "ti,clkctrl-l4-secure"
 	       "ti,clkctrl-l4-wkup"
+- clock-output-names : from common clock binding
 - #clock-cells : shall contain 2 with the first entry being the instance
 		 offset from the clock domain base and the second being the
 		 clock index
@@ -32,7 +33,8 @@ Example: Clock controller node on omap 4430:
 	l4per: cm at 1400 {
 		cm_l4per at 0 {
 			cm_l4per_clkctrl: clock at 20 {
-				compatible = "ti,clkctrl-l4-per", "ti,clkctrl";
+				compatible = "ti,clkctrl";
+				clock-output-names = "l4_per";
 				reg = <0x20 0x1b0>;
 				#clock-cells = <2>;
 			};
-- 
2.35.1



More information about the linux-arm-kernel mailing list