-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Lee Jones
authored and
Wolfram Sang
committed
Oct 6, 2012
1 parent
a76e7c6
commit 43fea58
Showing
3 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters