i2c: mvtwsi: Add compatible string for allwinner, sun4i-a10-i2c

This adds a compatible string for the Allwinner Sun4i-A10 I2C
controller. Without this, boards based on the R8 and A13 (at a
minimum) fail to boot.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Akash Gajjar <gajjar04akash@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
Chris Morgan 2022-01-07 11:52:54 -06:00 committed by Andre Przywara
parent 2753b07269
commit eb31a4a141

View File

@ -900,6 +900,7 @@ static const struct dm_i2c_ops mvtwsi_i2c_ops = {
static const struct udevice_id mvtwsi_i2c_ids[] = { static const struct udevice_id mvtwsi_i2c_ids[] = {
{ .compatible = "marvell,mv64xxx-i2c", }, { .compatible = "marvell,mv64xxx-i2c", },
{ .compatible = "marvell,mv78230-i2c", }, { .compatible = "marvell,mv78230-i2c", },
{ .compatible = "allwinner,sun4i-a10-i2c", },
{ .compatible = "allwinner,sun6i-a31-i2c", }, { .compatible = "allwinner,sun6i-a31-i2c", },
{ /* sentinel */ } { /* sentinel */ }
}; };