Re: [PATCH v1 2/3] net: wireless: brcmfmac: Add optional 32k clock enable support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> That's DTS, not binding. I ask about Devicetree binding.

Ok... I have grep in all dts files and can't find wifi node which is under pcie node has clock. So should I add an example in the yaml file? 

Just like:

diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
index e564f20d8f415..2d9f8de447659 100644
--- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
@@ -153,3 +153,19 @@ examples:
         brcm,ccode-map = "JP-JP-78", "US-Q2-86";
       };
     };
+  - |
+    pcie@0,0 {
+                 reg = <0x400000 0 0 0 0>;
+                 #address-cells = <3>;
+                 #size-cells = <2>;
+                 ranges;
+                 device_type = "pci";
+                 bus-range = <0x40 0x4f>;
+
+                 wifi: wifi@0,0 {
+                         compatible = "pci14e4,449d";
+                         reg = <0x410000 0 0 0 0>;
+                         clocks = <&hym8563>;
+                         clock-names = "32k";
+                 };
+         };

---
Best Regards
Jacobe




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux