From: Toshi Kikuchi Date: Tue, 2 Dec 2014 08:55:54 +0000 (+0200) Subject: ath10k: read calibration data from Device Tree X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~130^2~62^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aabff05df8e137c6690437f79b05408294fea57;p=pandora-kernel.git ath10k: read calibration data from Device Tree 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. If there's no node in Device Tree, ath10k will try to find the calibration data from OTP. The node for the calibration data should be defined like this: 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 ... ]; }; }; }; Signed-off-by: Toshi Kikuchi Signed-off-by: Kalle Valo --- Reading git-diff-tree failed