aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2022-01-07 11:52:54 -0600
committerAndre Przywara <andre.przywara@arm.com>2022-01-30 01:03:37 +0000
commiteb31a4a141bf401f92426bd053a965022e47290d (patch)
treea430c3681aa32a594f7fd25423d050ba4049ebb4
parent2753b07269c099844ccd4c21de5790e3f9b8bdbd (diff)
downloadu-boot-eb31a4a141bf401f92426bd053a965022e47290d.zip
u-boot-eb31a4a141bf401f92426bd053a965022e47290d.tar.gz
u-boot-eb31a4a141bf401f92426bd053a965022e47290d.tar.bz2
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>
-rw-r--r--drivers/i2c/mvtwsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
index bad4b14..f48a4f2 100644
--- a/drivers/i2c/mvtwsi.c
+++ b/drivers/i2c/mvtwsi.c
@@ -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 */ }
};