-
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.
- Loading branch information
Ben Dooks
committed
Nov 1, 2011
1 parent
d5d47ce
commit 81b67eb
Showing
26 changed files
with
1,543 additions
and
684 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: f533c61e1921b93aa247d72d39c3fbe045340a9a | ||
refs/heads/master: 3945fe9314af718946f71185901c28dd349469c7 |
25 changes: 25 additions & 0 deletions
25
trunk/Documentation/devicetree/bindings/i2c/fsl-imx-i2c.txt
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,25 @@ | ||
* Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<chip>-i2c" | ||
- reg : Should contain I2C/HS-I2C registers location and length | ||
- interrupts : Should contain I2C/HS-I2C interrupt | ||
|
||
Optional properties: | ||
- clock-frequency : Constains desired I2C/HS-I2C bus clock frequency in Hz. | ||
The absence of the propoerty indicates the default frequency 100 kHz. | ||
|
||
Examples: | ||
|
||
i2c@83fc4000 { /* I2C2 on i.MX51 */ | ||
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; | ||
reg = <0x83fc4000 0x4000>; | ||
interrupts = <63>; | ||
}; | ||
|
||
i2c@70038000 { /* HS-I2C on i.MX51 */ | ||
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; | ||
reg = <0x70038000 0x4000>; | ||
interrupts = <64>; | ||
clock-frequency = <400000>; | ||
}; |
39 changes: 39 additions & 0 deletions
39
trunk/Documentation/devicetree/bindings/i2c/samsung-i2c.txt
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,39 @@ | ||
* Samsung's I2C controller | ||
|
||
The Samsung's I2C controller is used to interface with I2C devices. | ||
|
||
Required properties: | ||
- compatible: value should be either of the following. | ||
(a) "samsung, s3c2410-i2c", for i2c compatible with s3c2410 i2c. | ||
(b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c. | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: interrupt number to the cpu. | ||
- samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges. | ||
- gpios: The order of the gpios should be the following: <SDA, SCL>. | ||
The gpio specifier depends on the gpio controller. | ||
|
||
Optional properties: | ||
- samsung,i2c-slave-addr: Slave address in multi-master enviroment. If not | ||
specified, default value is 0. | ||
- samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not | ||
specified, the default value in Hz is 100000. | ||
|
||
Example: | ||
|
||
i2c@13870000 { | ||
compatible = "samsung,s3c2440-i2c"; | ||
reg = <0x13870000 0x100>; | ||
interrupts = <345>; | ||
samsung,i2c-sda-delay = <100>; | ||
samsung,i2c-max-bus-freq = <100000>; | ||
gpios = <&gpd1 2 0 /* SDA */ | ||
&gpd1 3 0 /* SCL */>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
wm8994@1a { | ||
compatible = "wlf,wm8994"; | ||
reg = <0x1a>; | ||
}; | ||
}; |
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
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.