sun50i: A64: add support for R_I2C controller
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 6 Nov 2018 04:24:30 +0000 (20:24 -0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Nov 2018 16:39:10 +0000 (22:09 +0530)
commit31a4ac4d79d75baeede3edfa95515fd4169ef502
tree28843ebef799d7cfb99ce703313f39a43824f451
parent8336a43792a103c13d939b3925cb75322911f7fb
sun50i: A64: add support for R_I2C controller

Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has
two groups of pinmuxes on PL bank, so it's called R_I2C.

Add support for this I2C controller and the pinmux which doesn't conflict
with RSB.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Jagan Teki <jagan@openedev.com>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/Kconfig
board/sunxi/board.c