]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Add Qualcomm CCI I2C driver
authorLoic Poulain <loic.poulain@linaro.org>
Tue, 7 Apr 2020 08:33:00 +0000 (10:33 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 18 Apr 2020 21:38:20 +0000 (23:38 +0200)
commitc3a78e1daf910023ba14252b11dc440c86ef032b
tree21b9cd518b8e8407da8fe820bdcbb40d541f6269
parent2fa5766795a435db77b4b324c460029632f51514
i2c: Add Qualcomm CCI I2C driver

This commit adds I2C bus support for the Camera Control Interface
(CCI) I2C controller found on the Qualcomm SoC processors. This I2C
controller supports two masters and they are registered to the core.

CCI versions supported in the driver are msm8916, msm8996 and sdm845.

This is a rework of the patch posted by Vinod:
https://patchwork.kernel.org/patch/10569961/

With additional fixes + most of the comments addressed.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Tested-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[wsa: removed err msg after platform_get_irq]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-qcom-cci.c [new file with mode: 0644]