dt-bindings: clock: ti: Add clock-output-names for clockctrl
authorTony Lindgren <tony@atomide.com>
Thu, 3 Feb 2022 11:23:36 +0000 (13:23 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Apr 2022 13:02:49 +0000 (16:02 +0300)
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@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Message-Id: <20220203112337.19821-2-tony@atomide.com>

Documentation/devicetree/bindings/clock/ti-clkctrl.txt

index 18af6b9..d20db79 100644 (file)
@@ -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@1400 {
                cm_l4per@0 {
                        cm_l4per_clkctrl: clock@20 {
-                               compatible = "ti,clkctrl-l4-per", "ti,clkctrl";
+                               compatible = "ti,clkctrl";
+                               clock-output-names = "l4_per";
                                reg = <0x20 0x1b0>;
                                #clock-cells = <2>;
                        };