Skip to content

Commit 6ccbe60

Browse files
morimotoWolfram Sang
authored andcommitted
i2c: add Renesas R-Car I2C driver
R-Car I2C is similar with SH7760 I2C. But the SH7760 I2C driver had many workaround operations, since H/W had bugs. Thus, it was pointless to keep compatible between SH7760 and R-Car I2C drivers. This patch creates new Renesas R-Car I2C driver. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
1 parent d3b64c5 commit 6ccbe60

4 files changed

Lines changed: 730 additions & 0 deletions

File tree

‎drivers/i2c/busses/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,16 @@ config I2C_XLR
712712
This driver can also be built as a module. If so, the module
713713
will be called i2c-xlr.
714714

715+
config I2C_RCAR
716+
tristate "Renesas R-Car I2C Controller"
717+
depends on ARCH_SHMOBILE && I2C
718+
help
719+
If you say yes to this option, support will be included for the
720+
R-Car I2C controller.
721+
722+
This driver can also be built as a module. If so, the module
723+
will be called i2c-rcar.
724+
715725
comment "External I2C/SMBus adapter drivers"
716726

717727
config I2C_DIOLAN_U2C

‎drivers/i2c/busses/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
7070
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
7171
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
7272
obj-$(CONFIG_I2C_XLR) += i2c-xlr.o
73+
obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
7374

7475
# External I2C/SMBus adapter drivers
7576
obj-$(CONFIG_I2C_DIOLAN_U2C) += i2c-diolan-u2c.o

0 commit comments

Comments
 (0)