[PATCH V2] ath10k: read calibration data from Device Tree

Kalle Valo kvalo at qca.qualcomm.com
Wed Nov 26 23:46:00 PST 2014


Toshi Kikuchi <toshik at chromium.org> writes:

> V1->V2: fixed a bug that returns an uninitialized value if the node
> is not found.
>
> This patch adds support for reading calibration data from Device Tree.
> It looks for the calibration data in Device Tree if it can't find it
> in a file.
>
> The node for the calibration data should be defined like this:
>
> pci {
>         pcie at 0 {
>                 reg = <0 0 0 0 0>;
>                 #interrupt-cells = <1>;
>                 #size-cells = <2>;
>                 #address-cells = <3>;
>                 device_type = "pci";
>
>                 ath10k at 0,0 {
>                         reg = <0 0 0 0 0>;
>                         device_type = "pci";
>                         qcom,ath10k-calibration-data = [ 01 02 03 ... ];
>                 };
>         };
> };
>
> Change-Id: I6fe3c50fe2de9177d031a4c17bd95152372dd993
> Signed-off-by: Toshi Kikuchi <toshik at chromium.org>

Thanks! I'll fix some issues I found in the patch, write a bindings
document and send it for review to the devicetree folks.

-- 
Kalle Valo



More information about the ath10k mailing list