]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: clock: ehrpwm: Remove unneeded syscon compatible
authorAndrew Davis <afd@ti.com>
Tue, 16 May 2023 18:46:26 +0000 (13:46 -0500)
committerStephen Boyd <sboyd@kernel.org>
Fri, 16 Jun 2023 18:57:53 +0000 (11:57 -0700)
This node's register space is not accessed by any other node, which
is the traditional use for the "syscon" hint. It looks to have been
added here to make use of a Linux kernel helper syscon_node_to_regmap().
The Linux driver now uses a more appropriate helper that does not
require the hint, so let's remove it from the binding.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230516184626.154892-2-afd@ti.com
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml

index 66765116aff5d847f07ebc0e8106ef466a8a29c2..64b8bce5962c2bc35134c2c4b0cd13b02abcc406 100644 (file)
@@ -16,7 +16,6 @@ properties:
           - ti,am654-ehrpwm-tbclk
           - ti,am64-epwm-tbclk
           - ti,am62-epwm-tbclk
-      - const: syscon
 
   "#clock-cells":
     const: 1
@@ -33,8 +32,8 @@ additionalProperties: false
 
 examples:
   - |
-    ehrpwm_tbclk: syscon@4140 {
-        compatible = "ti,am654-ehrpwm-tbclk", "syscon";
+    ehrpwm_tbclk: clock@4140 {
+        compatible = "ti,am654-ehrpwm-tbclk";
         reg = <0x4140 0x18>;
         #clock-cells = <1>;
     };