i2c: pxa: Add support for the I2C units found in Armada 3700
authorRomain Perier <romain.perier@free-electrons.com>
Thu, 1 Dec 2016 11:04:38 +0000 (12:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 1 Dec 2016 22:34:33 +0000 (23:34 +0100)
commit294be03c627b469f79ce391dafb163581d3158ba
treec089fa38b34b63134e6198795953a3444c3f344d
parent6c14bdacdb29c391fe76e442139d96bc1bf1f59b
i2c: pxa: Add support for the I2C units found in Armada 3700

The Armada 3700 has two I2C controllers that is compliant with the I2C
Bus Specificiation 2.1, supports multi-master and different bus speed:
Standard mode (up to 100 KHz), Fast mode (up to 400 KHz),
High speed mode (up to 3.4 Mhz).

This IP block has a lot of similarity with the PXA, except some register
offsets and bitfield. This commits adds a basic support for this I2C
unit.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-pxa.c