Skip to contentSkip to conversation

dt-bindings: net: wireless: mt76: add clock description for MT7986.

PATCH In review Peter Chiu 2 participants 2 messages May 12, 2022 – May 18, 2022

Subsystems (4)
lore
Share & tools
lore

Peter Chiu

author
#0 lore raw

PATCH 1/1 dt-bindings: net: wireless: mt76: add clock description for MT7986.

Add clocks and clock-names for MT7986.

---
 .../bindings/net/wireless/mediatek,mt76.yaml        | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml +13 -0
index 249967d8d..92ff98ffa 100644
@@ -54,6 +54,16 @@ properties:
   reset-name:
     const: consys
 
+  clocks:
+    maxItems: 2
+    description:
+      Specify the consys clocks for mt7986.
+
+  clock-names:
+    items:
+      - const: mcu
+      - const: ap2conn
+
   mediatek,infracfg:
     $ref: /schemas/types.yaml#/definitions/phandle
     description:
@@ -269,5 +279,8 @@ examples:
               <0x10003000 0x1000>,
               <0x11d10000 0x1000>;
         interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
+        clocks = <&topckgen 50>,
+                 <&topckgen 62>;
+        clock-names = "mcu", "ap2conn";
         memory-region = <&wmcpu_emi>;
     };
Signature · 1 line
2.18.0