i2c: Add support for Renesas rcar
Subsystems (2)
PATCH v2 1/1 i2c: Add support for Renesas rcar
This supports i2c controller for Renesas rcar.
Signed-off-by Hisashi Nakamura <[email protected]>
Signed-off-by Nobuhiro Iwamatsu <[email protected]>
---
v2:
- Add infomation about rcar_i2c to README.
- Remove empty line.
- Fix space.
- Keep list sorted in Makefile
README | 14 +++ drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 288 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 303 insertions(+) create mode 100644 drivers/i2c/rcar_i2c.c
README +14 -0
@@ -1995,6 +1995,20 @@ CBFS (Coreboot Filesystem) support - CONFIG_SYS_I2C_PPC4XX_CH0 activate hardware channel 0 - CONFIG_SYS_I2C_PPC4XX_CH1 activate hardware channel 1 + - drivers/i2c/rcar_i2c.c: + - activate this driver with CONFIG_SYS_I2C_RCAR + - This driver adds 4 i2c buses + + - CONFIG_SYS_RCAR_I2C0_BASE for setting the register channel 0 + - CONFIG_SYS_RCAR_I2C0_SPEED for for the speed channel 0 + - CONFIG_SYS_RCAR_I2C1_BASE for setting the register channel 1 + - CONFIG_SYS_RCAR_I2C1_SPEED for for the speed channel 1 + - CONFIG_SYS_RCAR_I2C2_BASE for setting the register channel 2 + - CONFIG_SYS_RCAR_I2C2_SPEED for for the speed channel 2 + - CONFIG_SYS_RCAR_I2C3_BASE for setting the register channel 3 + - CONFIG_SYS_RCAR_I2C3_SPEED for for the speed channel 3 + - CONFIF_SYS_RCAR_I2C_NUM_CONTROLLERS for nummber of i2c buses + additional defines: CONFIG_SYS_NUM_I2C_BUSES
drivers/i2c/Makefile +1 -0
@@ -30,6 +30,7 @@ COBJS-$(CONFIG_SYS_I2C) += i2c_core.o COBJS-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o COBJS-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o COBJS-$(CONFIG_SYS_I2C_PPC4XX) += ppc4xx_i2c.o +COBJS-$(CONFIG_SYS_I2C_RCAR) += rcar_i2c.o COBJS-$(CONFIG_SYS_I2C_SOFT) += soft_i2c.o COBJS-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o COBJS-$(CONFIG_ZYNQ_I2C) += zynq_i2c.o
drivers/i2c/rcar_i2c.c new file +288 -0
288 lines not on this page · raw message
Signature · 1 line
1.8.4.rc3
PATCH v2 1/1 i2c: Add support for Renesas rcar
Hello Nobuhiro,
Am 27.09.2013 09:58, schrieb Nobuhiro Iwamatsu:
Quoted 11 lines
This supports i2c controller for Renesas rcar.
Signed-off-by Hisashi Nakamura<[email protected]>Signed-off-by Nobuhiro Iwamatsu<[email protected]>---
v2:
- Add infomation aboutrcar_i2cto README.
- Remove empty line.
- Fix space.
- Keep list sorted inMakefile
Quoted 5 lines
README | 14 +++ drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 288 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 303 insertions(+)create mode 100644
drivers/i2c/rcar_i2c.c
Applied to u-boot-i2c.git
Thanks!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany