summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-08-06 11:09:57 +0100
committerWolfram Sang <w.sang@pengutronix.de>2012-10-06 13:20:33 +0200
commit43fea5813c56e4327371fd3c2209791ef7822de2 (patch)
tree6473edc6e3e3d84ff050393c18b5e3a65a50c8f6 /Documentation
parenta76e7c6821b5dddf69db9d76ec282819545f5b73 (diff)
downloadlinux-stable-43fea5813c56e4327371fd3c2209791ef7822de2.tar.gz
linux-stable-43fea5813c56e4327371fd3c2209791ef7822de2.tar.bz2
linux-stable-43fea5813c56e4327371fd3c2209791ef7822de2.zip
i2c: nomadik: Add Device Tree support to the Nomadik I2C driver
Here we apply the bindings required for successful Device Tree probing of the i2c-nomadik driver. Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/i2c/nomadik.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/nomadik.txt b/Documentation/devicetree/bindings/i2c/nomadik.txt
new file mode 100644
index 000000000000..72065b0ff680
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/nomadik.txt
@@ -0,0 +1,23 @@
+I2C for Nomadik based systems
+
+Required (non-standard) properties:
+ - Nil
+
+Recommended (non-standard) properties:
+ - clock-frequency : Maximum bus clock frequency for the device
+
+Optional (non-standard) properties:
+ - Nil
+
+Example :
+
+i2c@80004000 {
+ compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
+ reg = <0x80004000 0x1000>;
+ interrupts = <0 21 0x4>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <400000>;
+};