Skip to content

Commit

Permalink
i2c: hpe: Add GXP SoC I2C Controller
Browse files Browse the repository at this point in the history
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 <nick.hawkins@hpe.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
nhawkins48 authored and intel-lab-lkp committed Jan 20, 2023
1 parent 76f3d40 commit 944feeb
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/i2c/busses/Kconfig
Expand Up @@ -1457,4 +1457,11 @@ config I2C_VIRTIO
This driver can also be built as a module. If so, the module
will be called i2c-virtio.

config I2C_GXP
tristate "GXP I2C Interface"
depends on ARCH_HPE_GXP || COMPILE_TEST
help
This enables support for GXP I2C interface. The I2C engines can be
either I2C master or I2C slaves.

endmenu
1 change: 1 addition & 0 deletions drivers/i2c/busses/Makefile
Expand Up @@ -127,6 +127,7 @@ obj-$(CONFIG_I2C_THUNDERX) += i2c-thunderx.o
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o
obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
obj-$(CONFIG_I2C_GXP) += i2c-gxp.o

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

0 comments on commit 944feeb

Please sign in to comment.