Skip to contentSkip to conversation

tps65023: Allow registering similar TPS65021

PATCH Applied Marek Vasut 3 participants 4 messages Jun 24, 2010 – Jun 25, 2010 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tps65023: Allow registering similar TPS65021

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

---
 drivers/regulator/tps65023-regulator.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/regulator/tps65023-regulator.c +2 -0
index f50afc9..cd6d4fc 100644
@@ -585,6 +585,8 @@ static const struct tps_info tps65023_regs[] = {
 static const struct i2c_device_id tps_65023_id[] = {
 	{.name = "tps65023",
 	.driver_data = (unsigned long) tps65023_regs,},
+	{.name = "tps65021",
+	.driver_data = (unsigned long) tps65023_regs,},
 	{ },
 };
 
Signature · 1 line
1.7.1
#2 lore raw
Quoted 8 lines · Mark Brown
Quoted 4 lines · Marek Vasut

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

--

Applied.

Thanks

Liam

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
Acked-by on v1 1/1
#3 lore raw
In reply to Marek Vasut
Quoted 4 lines · Marek Vasut

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

Quoted 20 lines

---
drivers/regulator/tps65023-regulator.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)
drivers/regulator/tps65023-regulator.c +2 -0
index f50afc9..cd6d4fc 100644
@@ -585,6 +585,8 @@ static const struct tps_info tps65023_regs[] = {
 static const struct i2c_device_id tps_65023_id[] = {
 	{.name = "tps65023",
 	.driver_data = (unsigned long) tps65023_regs,},
+	{.name = "tps65021",
+	.driver_data = (unsigned long) tps65023_regs,},
 	{ },
 };
 
Signature · 1 line
1.7.1