-
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: i2c-cbus-gpio: introduce driver
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Acked-by: Felipe Balbi <balbi@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
- Loading branch information
Aaro Koskinen
authored and
Wolfram Sang
committed
Nov 19, 2012
1 parent
a000b8c
commit 0857ba3
Showing
6 changed files
with
407 additions
and
0 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,27 @@ | ||
Device tree bindings for i2c-cbus-gpio driver | ||
|
||
Required properties: | ||
- compatible = "i2c-cbus-gpio"; | ||
- gpios: clk, dat, sel | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Optional properties: | ||
- child nodes conforming to i2c bus binding | ||
|
||
Example: | ||
|
||
i2c@0 { | ||
compatible = "i2c-cbus-gpio"; | ||
gpios = <&gpio 66 0 /* clk */ | ||
&gpio 65 0 /* dat */ | ||
&gpio 64 0 /* sel */ | ||
>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
retu-mfd: retu@1 { | ||
compatible = "retu-mfd"; | ||
reg = <0x1>; | ||
}; | ||
}; |
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
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
Oops, something went wrong.