]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: i2c: enable i2c controller for rk3066 and rk3188
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 26 Feb 2018 17:42:54 +0000 (20:42 +0300)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:25 +0000 (01:55 +0200)
commitb694e438001f96ec52eb8ff77cc941cff31100f4
tree4ac8ac2eef0e04582b83ff66df3bbf504fad6342
parent3470373e44a2958ebf49b3c0dc06901fd5577eca
rockchip: i2c: enable i2c controller for rk3066 and rk3188

rk3066 and rk3188 has two I2C controller implementations.
Current I2C driver wan't work with legacy implementation.
Switching between controllers is performed using a bit inside
GFR_SOC_CON1 register. The bit setting is performed by pinctrl
driver. The patch ask pinctrl to do settings.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[fix warnings by including the rk3228 variant in the compatible-list]:
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/i2c/rk_i2c.c