[PATCH] dt-bindings: mediatek: Add #reset-cells to mt8186 sys-clock controller

Allen-KH Cheng allen-kh.cheng at mediatek.com
Fri Jul 15 04:00:21 PDT 2022


MediaTek system clock controller includes reset controller and needs
to specify the #reset-cells property.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng at mediatek.com>
---
 .../bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml      | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
index 0886e2e335bb..e6bdc79f058b 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-clock.yaml
@@ -39,6 +39,9 @@ properties:
   '#clock-cells':
     const: 1
 
+  '#reset-cells':
+    const: 1
+
 required:
   - compatible
   - reg
@@ -51,4 +54,5 @@ examples:
         compatible = "mediatek,mt8186-topckgen", "syscon";
         reg = <0x10000000 0x1000>;
         #clock-cells = <1>;
+        #reset-cells = <1>;
     };
-- 
2.18.0




More information about the Linux-mediatek mailing list