-
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: add CSR SiRFprimaII on-chip I2C controllers driver
SiRFprimaII is the latest generation application processor from CSR’s multi-function SoC product family. The SoC support codes are in arch/arm/mach-prima2 from Linux mainline 3.0. There are two I2C controllers on primaII, features include: * Two I2C controller modules are on chip * RISC I/O bus read write register * Up to 16 bytes data buffer for issuing commands and writing data at the same time * Up to 16 commands, and receiving read data 16 bytes at a time * Error INT report (ACK check) * No-ACK bus protocols (SCCB bus protocols) Signed-off-by: Zhiwu Song <Zhiwu.Song@csr.com> Signed-off-by: Xiangzhen Ye <Xiangzhen.Ye@csr.com> Signed-off-by: Yuping Luo <Yuping.Luo@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
- Loading branch information
Zhiwu Song
authored and
Wolfram Sang
committed
Mar 7, 2012
1 parent
bf6c2de
commit 979b907
Showing
4 changed files
with
489 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,19 @@ | ||
I2C for SiRFprimaII platforms | ||
|
||
Required properties : | ||
- compatible : Must be "sirf,prima2-i2c" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: interrupt number to the cpu. | ||
|
||
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 : | ||
|
||
i2c0: i2c@b00e0000 { | ||
compatible = "sirf,prima2-i2c"; | ||
reg = <0xb00e0000 0x10000>; | ||
interrupts = <24>; | ||
}; |
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.