Skip to content

Commit 4a55ed6

Browse files
nhawkins48wsakernel
authored andcommitted
i2c: Add GXP SoC I2C Controller
The GXP SoC supports 10 I2C engines. Each I2C engine is completely independent and can function both as an I2C master and I2C slave. The I2C master can operate in a multi master environment. The engines support a scalable speed from 8kHZ to 1.5 Mhz. Signed-off-by: Nick Hawkins <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 681f87d commit 4a55ed6

File tree

3 files changed

+628
-0
lines changed

3 files changed

+628
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,13 @@ config I2C_GPIO_FAULT_INJECTOR
659659
faults to an I2C bus, so another bus master can be stress-tested.
660660
This is for debugging. If unsure, say 'no'.
661661

662+
config I2C_GXP
663+
tristate "GXP I2C Interface"
664+
depends on ARCH_HPE_GXP || COMPILE_TEST
665+
help
666+
This enables support for GXP I2C interface. The I2C engines can be
667+
either I2C master or I2C slaves.
668+
662669
config I2C_HIGHLANDER
663670
tristate "Highlander FPGA SMBus interface"
664671
depends on SH_HIGHLANDER || COMPILE_TEST

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ obj-$(CONFIG_I2C_THUNDERX) += i2c-thunderx.o
128128
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
129129
obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o
130130
obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
131+
obj-$(CONFIG_I2C_GXP) += i2c-gxp.o
131132

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

0 commit comments

Comments
 (0)