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

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


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 <sboyd at kernel.org>
Cc: Tero Kristo <kristo at kernel.org>
Signed-off-by: Tony Lindgren <tony at atomide.com>
---
 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 at 48004000 {
+cm: clock at 48004000 {
 	compatible = "ti,omap3-cm";
 	reg = <0x48004000 0x4000>;
+	#clock-cells = <0>;
+	clock-output-names = "cm";
 
 	cm_clocks: clocks {
 		#address-cells = <1>;
-- 
2.35.1



More information about the linux-arm-kernel mailing list