Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294807
b: refs/heads/master
c: 979b907
h: refs/heads/master
i:
  294805: 33a5b9f
  294803: 7cda897
  294799: c2ee40b
v: v3
  • Loading branch information
Zhiwu Song authored and Wolfram Sang committed Mar 7, 2012
1 parent 192674f commit 5cc2cc7
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf6c2de11c43955ffb4394e6dfc86363298c0a05
refs/heads/master: 979b907fa55be8cdbbf455b9204b7e4602f303e6
19 changes: 19 additions & 0 deletions trunk/Documentation/devicetree/bindings/i2c/sirf-i2c.txt
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>;
};
10 changes: 10 additions & 0 deletions trunk/drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,16 @@ config I2C_SIMTEC
This driver can also be built as a module. If so, the module
will be called i2c-simtec.

config I2C_SIRF
tristate "CSR SiRFprimaII I2C interface"
depends on ARCH_PRIMA2
help
If you say yes to this option, support will be included for the
CSR SiRFprimaII I2C interface.

This driver can also be built as a module. If so, the module
will be called i2c-sirf.

config I2C_STU300
tristate "ST Microelectronics DDC I2C interface"
depends on MACH_U300
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/i2c/busses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ obj-$(CONFIG_I2C_S6000) += i2c-s6000.o
obj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o
obj-$(CONFIG_I2C_SH_MOBILE) += i2c-sh_mobile.o
obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
obj-$(CONFIG_I2C_SIRF) += i2c-sirf.o
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
obj-$(CONFIG_I2C_TEGRA) += i2c-tegra.o
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
Expand Down
Loading

0 comments on commit 5cc2cc7

Please sign in to comment.