Skip to content

Commit 56a1485

Browse files
TaliPerrywsakernel
authored andcommitted
i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver
Add Nuvoton NPCM BMC I2C controller driver. Signed-off-by: Tali Perry <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent cd020be commit 56a1485

File tree

3 files changed

+1746
-0
lines changed

3 files changed

+1746
-0
lines changed

drivers/i2c/busses/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,15 @@ config I2C_NOMADIK
794794
I2C interface from ST-Ericsson's Nomadik and Ux500 architectures,
795795
as well as the STA2X11 PCIe I/O HUB.
796796

797+
config I2C_NPCM7XX
798+
tristate "Nuvoton I2C Controller"
799+
depends on ARCH_NPCM7XX || COMPILE_TEST
800+
help
801+
If you say yes to this option, support will be included for the
802+
Nuvoton I2C controller, which is available on the NPCM7xx BMC
803+
controller.
804+
Driver can also support slave mode (select I2C_SLAVE).
805+
797806
config I2C_OCORES
798807
tristate "OpenCores I2C Controller"
799808
help

drivers/i2c/busses/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ obj-$(CONFIG_I2C_MT7621) += i2c-mt7621.o
8080
obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o
8181
obj-$(CONFIG_I2C_MXS) += i2c-mxs.o
8282
obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o
83+
obj-$(CONFIG_I2C_NPCM7XX) += i2c-npcm7xx.o
8384
obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o
8485
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
8586
obj-$(CONFIG_I2C_OWL) += i2c-owl.o

0 commit comments

Comments
 (0)