2022-02-04 18:06:05

by Tony Lindgren

[permalink] [raw]
Subject: [PATCH 1/3] dt-bindings: omap: Add clock-output-names and #clock-cells

This allows us to use clock-output-names for the clock manager instance
name instead of relying on non-standard node names.

Cc: Stephen Boyd <[email protected]>
Cc: Tero Kristo <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
---
Documentation/devicetree/bindings/arm/omap/prcm.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/omap/prcm.txt b/Documentation/devicetree/bindings/arm/omap/prcm.txt
--- a/Documentation/devicetree/bindings/arm/omap/prcm.txt
+++ b/Documentation/devicetree/bindings/arm/omap/prcm.txt
@@ -31,12 +31,17 @@ Required properties:
(base address and length)
- clocks: clocks for this module
- clockdomains: clockdomains for this module
+- #clock-cells: From common clock binding
+- clock-output-names: From common clock binding
+

Example:

-cm: cm@48004000 {
+cm: clock@48004000 {
compatible = "ti,omap3-cm";
reg = <0x48004000 0x4000>;
+ #clock-cells = <0>;
+ clock-output-names = "cm";

cm_clocks: clocks {
#address-cells = <1>;
--
2.35.1


2022-02-09 06:43:36

by Tony Lindgren

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

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 <[email protected]>
Cc: Tero Kristo <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
---
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@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>;
};
--
2.35.1

2022-02-12 00:00:06

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: omap: Add clock-output-names and #clock-cells

On Thu, 03 Feb 2022 13:23:35 +0200, Tony Lindgren wrote:
> This allows us to use clock-output-names for the clock manager instance
> name instead of relying on non-standard node names.
>
> Cc: Stephen Boyd <[email protected]>
> Cc: Tero Kristo <[email protected]>
> Signed-off-by: Tony Lindgren <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/omap/prcm.txt | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2022-02-14 09:47:58

by Rob Herring (Arm)

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

On Thu, 03 Feb 2022 13:23:36 +0200, Tony Lindgren wrote:
> 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 <[email protected]>
> Cc: Tero Kristo <[email protected]>
> Signed-off-by: Tony Lindgren <[email protected]>
> ---
> Documentation/devicetree/bindings/clock/ti-clkctrl.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>