Skip to content

Commit 37692de

Browse files
Karthikeyan RamasubramanianWolfram Sang
Karthikeyan Ramasubramanian
authored and
Wolfram Sang
committed
i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller
This bus driver supports the GENI based i2c hardware controller in the Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable module supporting a wide range of serial interfaces including I2C. The driver supports FIFO mode and DMA mode of transfer and switches modes dynamically depending on the size of the transfer. Signed-off-by: Karthikeyan Ramasubramanian <[email protected]> Signed-off-by: Sagar Dharia <[email protected]> Signed-off-by: Girish Mahadevan <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Tested-by: Stephen Boyd <[email protected]> [wsa: squashed the MAINTAINER addition and a RPM fix by Evan Green] Signed-off-by: Wolfram Sang <[email protected]>
1 parent b1d2b0a commit 37692de

File tree

4 files changed

+695
-0
lines changed

4 files changed

+695
-0
lines changed

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11837,6 +11837,14 @@ L: [email protected]
1183711837
S: Maintained
1183811838
F: drivers/net/ethernet/qualcomm/emac/
1183911839

11840+
QUALCOMM GENERIC INTERFACE I2C DRIVER
11841+
M: Alok Chauhan <[email protected]>
11842+
M: Karthikeyan Ramasubramanian <[email protected]>
11843+
11844+
11845+
S: Supported
11846+
F: drivers/i2c/busses/i2c-qcom-geni.c
11847+
1184011848
QUALCOMM HEXAGON ARCHITECTURE
1184111849
M: Richard Kuo <[email protected]>
1184211850

drivers/i2c/busses/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,19 @@ config I2C_PXA_SLAVE
825825
is necessary for systems where the PXA may be a target on the
826826
I2C bus.
827827

828+
config I2C_QCOM_GENI
829+
tristate "Qualcomm Technologies Inc.'s GENI based I2C controller"
830+
depends on ARCH_QCOM || COMPILE_TEST
831+
depends on QCOM_GENI_SE
832+
help
833+
This driver supports GENI serial engine based I2C controller in
834+
master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
835+
yes to this option, support will be included for the built-in I2C
836+
interface on the Qualcomm Technologies Inc.'s SoCs.
837+
838+
This driver can also be built as a module. If so, the module
839+
will be called i2c-qcom-geni.
840+
828841
config I2C_QUP
829842
tristate "Qualcomm QUP based I2C controller"
830843
depends on ARCH_QCOM

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ obj-$(CONFIG_I2C_PNX) += i2c-pnx.o
8383
obj-$(CONFIG_I2C_PUV3) += i2c-puv3.o
8484
obj-$(CONFIG_I2C_PXA) += i2c-pxa.o
8585
obj-$(CONFIG_I2C_PXA_PCI) += i2c-pxa-pci.o
86+
obj-$(CONFIG_I2C_QCOM_GENI) += i2c-qcom-geni.o
8687
obj-$(CONFIG_I2C_QUP) += i2c-qup.o
8788
obj-$(CONFIG_I2C_RIIC) += i2c-riic.o
8889
obj-$(CONFIG_I2C_RK3X) += i2c-rk3x.o

0 commit comments

Comments
 (0)