From: Kalle Valo <kvalo@qca.qualcomm.com>
To: <ath10k@lists.infradead.org>
Cc: <devicetree@vger.kernel.org>, <linux-wireless@vger.kernel.org>,
<toshik@chromium.org>
Subject: [PATCH v4 1/2] dt: bindings: add ath10k wireless device
Date: Thu, 27 Nov 2014 14:08:56 +0200 [thread overview]
Message-ID: <20141127120856.17546.32014.stgit@potku.adurom.net> (raw)
In-Reply-To: <20141127120727.17546.61202.stgit@potku.adurom.net>
Document how calibration data can be provided to ath10k via Device Tree.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
.../bindings/net/wireless/qcom,ath10k.txt | 30 ++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
new file mode 100644
index 000000000000..edefc26c6204
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt
@@ -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 ... ];
+ };
+ };
+};
next prev parent reply other threads:[~2014-11-27 12:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 12:08 [PATCH v4 0/2] ath10k: device tree support Kalle Valo
2014-11-27 12:08 ` Kalle Valo [this message]
2014-11-27 12:28 ` [PATCH v4 1/2] dt: bindings: add ath10k wireless device Arnd Bergmann
2014-11-28 9:54 ` Kalle Valo
2014-11-28 10:23 ` Arnd Bergmann
2014-11-28 12:21 ` Kalle Valo
2014-11-27 12:09 ` [PATCH v4 2/2] ath10k: read calibration data from Device Tree Kalle Valo
2014-12-08 15:33 ` [PATCH v4 0/2] ath10k: device tree support Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141127120856.17546.32014.stgit@potku.adurom.net \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=toshik@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox