i2c: mv64xxx: Add support for the Allwinner A31 I2C driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Mar 2014 16:28:38 +0000 (17:28 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 5 Mar 2014 16:30:11 +0000 (17:30 +0100)
commitc7dcb1fec059c429f5096d20ab9e0f439fcfa909
tree433f6711c2b155bd92fc63199d964b547f5794a7
parent370136bc67c3f502ec96446e502ba80b94150f9d
i2c: mv64xxx: Add support for the Allwinner A31 I2C driver

The Allwinner A31 I2C controller is almost identical to the one used in the
other Allwinner SoCs, except for the fact that it needs to clear the interrupt
by setting the INT_FLAGS bit in the control register, instead of clearing it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
drivers/i2c/busses/i2c-mv64xxx.c