aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd/syscon.txt
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2012-09-05 10:57:13 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-17 15:24:14 +0200
commit87d687301f380729ec320619f100f3ba39f3693d (patch)
tree3f6f274a01552da3b5f7af4dc1eaaad04a11c1b4 /Documentation/devicetree/bindings/mfd/syscon.txt
parentmfd: Enable the tc3589x for Device Tree (diff)
downloadlinux-dev-87d687301f380729ec320619f100f3ba39f3693d.tar.xz
linux-dev-87d687301f380729ec320619f100f3ba39f3693d.zip
mfd: Add syscon driver based on regmap
Add regmap based syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IMX IOMUXC GPR and ANATOP. With this driver, client can use generic regmap API to access registers which are registered into syscon. Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/syscon.txt')
-rw-r--r--Documentation/devicetree/bindings/mfd/syscon.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt b/Documentation/devicetree/bindings/mfd/syscon.txt
new file mode 100644
index 000000000000..fe8150bb3248
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/syscon.txt
@@ -0,0 +1,20 @@
+* System Controller Registers R/W driver
+
+System controller node represents a register region containing a set
+of miscellaneous registers. The registers are not cohesive enough to
+represent as any specific type of device. The typical use-case is for
+some other node's driver, or platform-specific code, to acquire a
+reference to the syscon node (e.g. by phandle, node path, or search
+using a specific compatible value), interrogate the node (or associated
+OS driver) to determine the location of the registers, and access the
+registers directly.
+
+Required properties:
+- compatible: Should contain "syscon".
+- reg: the register region can be accessed from syscon
+
+Examples:
+gpr: iomuxc-gpr@020e0000 {
+ compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
+ reg = <0x020e0000 0x38>;
+};