mfd: qcom,tcsr: Add device tree binding for TCSR
authorAndy Gross <agross@codeaurora.org>
Mon, 9 Feb 2015 22:01:07 +0000 (16:01 -0600)
committerOlof Johansson <olof@lixom.net>
Fri, 3 Apr 2015 20:33:43 +0000 (13:33 -0700)
This patch adds the device tree binding for the Qualcomm Top Control and
Status Register device.  The TCSR is comprised of a set of registers that
provide various control and status functions for attached peripherals.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Documentation/devicetree/bindings/mfd/qcom,tcsr.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
new file mode 100644 (file)
index 0000000..e90519d
--- /dev/null
@@ -0,0 +1,22 @@
+QCOM Top Control and Status Register
+
+Qualcomm devices have a set of registers that provide various control and status
+functions for their peripherals.  This node is intended to allow access to these
+registers via syscon.
+
+Required properties:
+- compatible:  Should contain:
+               "qcom,tcsr-ipq8064", "syscon" for IPQ8064
+               "qcom,tcsr-apq8064", "syscon" for APQ8064
+               "qcom,tcsr-msm8660", "syscon" for MSM8660
+               "qcom,tcsr-msm8960", "syscon" for MSM8960
+               "qcom,tcsr-msm8974", "syscon" for MSM8974
+               "qcom,tcsr-apq8084", "syscon" for APQ8084
+               "qcom,tcsr-msm8916", "syscon" for MSM8916
+- reg: Address range for TCSR registers
+
+Example:
+       tcsr: syscon@1a400000 {
+               compatible = "qcom,tcsr-msm8960", "syscon";
+               reg = <0x1a400000 0x100>;
+       };