]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: soc: amlogic,meson-gx-hhi-sysctrl: Document the System Control registers...
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 7 Oct 2024 14:09:38 +0000 (16:09 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 11 Dec 2024 08:49:49 +0000 (09:49 +0100)
The early Amlogic SoCs also has a System Control registers register set,
document it in the amlogic,meson-gx-hhi-sysctrl now the clock controller
has been converted to yaml dt-schema.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20241007-topic-amlogic-arm32-upstream-bindings-fixes-hhi-sysctrl-meson8-v1-1-896b24e6c3c8@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml

index c6bce40946d4af9e5e94207769f28ce855c44df1..3dc66f1de02358969d2217c99bfa69bc753cae31 100644 (file)
@@ -13,6 +13,7 @@ properties:
   compatible:
     items:
       - enum:
+          - amlogic,meson-hhi-sysctrl
           - amlogic,meson-gx-hhi-sysctrl
           - amlogic,meson-gx-ao-sysctrl
           - amlogic,meson-axg-hhi-sysctrl
@@ -36,6 +37,19 @@ properties:
     type: object
 
 allOf:
+  - if:
+      properties:
+        compatible:
+          enum:
+            - amlogic,meson-hhi-sysctrl
+    then:
+      properties:
+        clock-controller:
+          $ref: /schemas/clock/amlogic,meson8-clkc.yaml#
+
+        pinctrl: false
+        phy: false
+
   - if:
       properties:
         compatible: