summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-12 13:43:32 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-13 08:27:44 +0800
commitb2378668489d16eb1a1ac722e84cc6a9a1513ba0 (patch)
tree2cd477d1d479d861133e6e89b9af162c66a1e649 /Documentation
parent35d23047f8ba1b7cc9a067b9506352fd257c8df5 (diff)
downloadop-kernel-dev-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.zip
op-kernel-dev-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.tar.gz
i2c: mxs: add device tree probe support
Add device tree probe support for i2c-mxs driver. So far, it's only been tested on imx28. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-mxs.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt
new file mode 100644
index 0000000..1bfc02d
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt
@@ -0,0 +1,16 @@
+* Freescale MXS Inter IC (I2C) Controller
+
+Required properties:
+- compatible: Should be "fsl,<chip>-i2c"
+- reg: Should contain registers location and length
+- interrupts: Should contain ERROR and DMA interrupts
+
+Examples:
+
+i2c0: i2c@80058000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,imx28-i2c";
+ reg = <0x80058000 2000>;
+ interrupts = <111 68>;
+};
OpenPOWER on IntegriCloud