]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Add support for Qualcomm Generic Interface (GENI) I2C controller
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 22 Apr 2024 09:33:52 +0000 (11:33 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:32 +0000 (13:29 +0200)
commit75db9ede12d06693a3ced8c901b74065a1922a23
tree5ba556db6487ba4da672d35adaa8bf9f412342be
parentd286220078505727c8c0baf9cd9c832a1fcad805
i2c: Add support for Qualcomm Generic Interface (GENI) I2C controller

Add Support for the Qualcomm Generic Interface (GENI) I2C interface
found on newer Qualcomm SoCs.

The Generic Interface (GENI) is a firmware based Qualcomm Universal
Peripherals (QUP) Serial Engine (SE) Wrapper which can support multiple
bus protocols depending on the firmware type loaded at early boot time
based on system configuration.

It also supports the "I2C Master Hub" which is a single function Wrapper
that only FIFO mode I2C.

It replaces the fixed-function QUP Wrapper found on older SoCs.

The geni-se.h containing the generic GENI Serial Engine registers defines
is imported from Linux.

Only FIFO mode is implemented, neither SE DMA nor GPI DMA are implemented.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/geni_i2c.c [new file with mode: 0644]
include/soc/qcom/geni-se.h [new file with mode: 0644]