diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2015-01-30 17:42:05 +0000 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2015-01-30 17:42:05 +0000 |
commit | e37b32df53fb60634cc189f14b4bc21be517ce30 (patch) | |
tree | 4331fec8b5a115c70f79d9534c960c406e0fb5d0 /Documentation | |
parent | 35d233256a2c4359ec474ae64d4332e436899100 (diff) | |
parent | 279fe9083762118a8dd87e41b8ec5149996b5a57 (diff) |
Merge branch 'tracking-qcomlt-tsens' into integration-linux-qcomltqcomlt-v3.19-rc6-30012015
* tracking-qcomlt-tsens:
thermal: qcom: Add 8960 thermal sensor support
WIP: Add wrappers for qfprom access via syscon
WIP: mfd: syscon: Add register stride to DT bindings.
Conflicts:
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/syscon.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/soc/qcom/qfprom.txt | 29 |
2 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt b/Documentation/devicetree/bindings/mfd/syscon.txt index fe8150bb3248..7f06ec1ff591 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.txt +++ b/Documentation/devicetree/bindings/mfd/syscon.txt @@ -13,6 +13,9 @@ Required properties: - compatible: Should contain "syscon". - reg: the register region can be accessed from syscon +Optional properties: +- stride : register address stride in bytes. + Examples: gpr: iomuxc-gpr@020e0000 { compatible = "fsl,imx6q-iomuxc-gpr", "syscon"; diff --git a/Documentation/devicetree/bindings/soc/qcom/qfprom.txt b/Documentation/devicetree/bindings/soc/qcom/qfprom.txt new file mode 100644 index 000000000000..3ed73090ad09 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/qfprom.txt @@ -0,0 +1,29 @@ +QCOM QFPROM + +QFPROM is basically some efuses where things like calibration data, speed bins, +etc are stored. This data is accessed by various drivers like the cpufreq, +thermal, etc. + +Required properties: +- compatible: must contain "qcom,qfprom" followed by "syscon" +- reg: Address range for QFPROM +- stride : register address stride. + 1 for byte. + 2 for 2 bytes + 3 for 3 bytes + 4 for a word. + + +Example: + qfprom: qfprom@00700000 { + compatible = "qcom,qfprom", "syscon"; + reg = <0x00700000 0x1000>; + stride = <1>; + }; + + tsens@34000 { + compatible = "qcom,tsens-apq8064"; + reg = <0x34000 0x1000>; + qcom,qfprom = <&qfprom 0x18 0x10>, <&qfprom 0x28 0x10>; + qcom,qfprom-names = "calib", "backup_calib"; + }; |