Thread (4 messages) 4 messages, 3 authors, 2024-10-15

Re: [PATCH] dt-bindings: soc: amlogic,meson-gx-hhi-sysctrl: Document the System Control registers found on early Meson SoC

From: Neil Armstrong <neil.armstrong@linaro.org>
Date: 2024-10-08 07:26:23
Also in: linux-amlogic, linux-arm-kernel, lkml

Hi Jerome,

On 07/10/2024 16:09, Neil Armstrong wrote:
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.
Could you take it via the meson-clk tree since the amlogic,meson8-clkc.yaml dependency is in it ?

Thanks,
Neil
quoted hunk ↗ jump to hunk
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
  .../bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
index c6bce40946d4..3dc66f1de023 100644
--- a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
+++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml
@@ -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:
---
base-commit: 2e99ba3e918f5f1a987c86e559fe8f14d9c4048c
change-id: 20241007-topic-amlogic-arm32-upstream-bindings-fixes-hhi-sysctrl-meson8-158da98bee95

Best regards,
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help