Commit 1880a2fc59d2afabc142a311497cf7c320d64506

Authored by Marek Vasut
Committed by Liam Girdwood
1 parent 69f710083a

tps65023: Allow registering similar TPS65021

TPS65021 is an older model and is slightly weaker (can supply less current),
otherwise is the same.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/regulator/tps65023-regulator.c
... ... @@ -585,6 +585,8 @@
585 585 static const struct i2c_device_id tps_65023_id[] = {
586 586 {.name = "tps65023",
587 587 .driver_data = (unsigned long) tps65023_regs,},
  588 + {.name = "tps65021",
  589 + .driver_data = (unsigned long) tps65023_regs,},
588 590 { },
589 591 };
590 592