drivers: mentor: mi2cv: add inverted interrupt clear flag quirk
The I2C controller on Allwinner SoCs after A31 has a inverted interrupt
clear flag, which needs to be written 1 (rather than 0 on Marvell SoCs
and old Allwinner SoCs) to clear.

Add such a quirk to mi2cv driver common code.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
1 parent 7c26b6e commit 207199141312018cf9560fba32ae421324f041cb
@Icenowy Zheng Icenowy Zheng authored on 22 Jul 2018
Showing 1 changed file
View
drivers/mentor/i2c/mi2cv.c