]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i2c: mvtwsi: Add compatible string for allwinner, sun4i-a10-i2c
authorChris Morgan <macromorgan@hotmail.com>
Fri, 7 Jan 2022 17:52:54 +0000 (11:52 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:03:37 +0000 (01:03 +0000)
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>
drivers/i2c/mvtwsi.c

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