diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-08-06 11:09:57 +0100 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-10-06 13:20:33 +0200 |
commit | 43fea5813c56e4327371fd3c2209791ef7822de2 (patch) | |
tree | 6473edc6e3e3d84ff050393c18b5e3a65a50c8f6 /Documentation/devicetree/bindings | |
parent | a76e7c6821b5dddf69db9d76ec282819545f5b73 (diff) | |
download | blackbird-op-linux-43fea5813c56e4327371fd3c2209791ef7822de2.tar.gz blackbird-op-linux-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/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/nomadik.txt | 23 |
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>; +}; |