dt: bindings: add ath10k wireless device
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 2 Dec 2014 08:55:53 +0000 (10:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 8 Dec 2014 15:32:20 +0000 (17:32 +0200)
Document how calibration data can be provided to ath10k via Device Tree.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
new file mode 100644 (file)
index 0000000..edefc26
--- /dev/null
@@ -0,0 +1,30 @@
+* Qualcomm Atheros ath10k wireless devices
+
+For ath10k devices the calibration data can be provided through Device
+Tree. The node is a child node of the PCI controller.
+
+Required properties:
+-compatible : Should be "qcom,ath10k"
+
+Optional properties:
+- qcom,ath10k-calibration-data : calibration data as an array, the
+                                length can vary between hw versions
+
+
+Example:
+
+pci {
+       pcie@0 {
+               reg = <0 0 0 0 0>;
+               #interrupt-cells = <1>;
+               #size-cells = <2>;
+               #address-cells = <3>;
+               device_type = "pci";
+
+               ath10k@0,0 {
+                       reg = <0 0 0 0 0>;
+                       device_type = "pci";
+                       qcom,ath10k-calibration-data = [ 01 02 03 ... ];
+               };
+       };
+};