Skip to contentSkip to conversation

MFD: Palmas: Add TPS659038 PMIC support

PATCH Applied J Keerthy 2 participants 4 messages Jun 20, 2013 – Jun 24, 2013

Subsystems (2)
lore
Share & tools
lore

J Keerthy

author
#0 lore raw

PATCH 2/4 MFD: Palmas: Add TPS659038 PMIC support

The Patch adds TPS659038 PMIC support in the palmas mfd driver. The TPS659038 has almost the same registers as of the earlier supported variants of PALMAS family such as the TWL6035.

The critical differences between TPS659038 and TWL6035 being:

1) TPS659038 has nothing related to battery charging and back up battery stuff.
2) TPS659038 does not have does not have SMPS10(Boost) step up convertor.
3) TPS659038 does not have Battery detection and anything related to battery.
4) SD card detection, Battery presence detection, Vibrator, USB OTG are missing when compared to TWL6035.

---
 drivers/mfd/palmas.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mfd/palmas.c +5 -0
index ad2edd6..8b20055 100644
@@ -233,12 +233,17 @@ static void palmas_dt_to_pdata(struct i2c_client *i2c,
 }
 
 static unsigned int palmas_features = PALMAS_PMIC_FEATURE_SMPS10_BOOST;
+static unsigned int tps659038_features;
 
 static const struct of_device_id of_palmas_match_tbl[] = {
 	{
 		.compatible = "ti,palmas",
 		.data = &palmas_features,
 	},
+	{
+		.compatible = "ti,tps659038",
+		.data = &tps659038_features,
+	},
 	{ },
 };
 
Signature · 1 line
1.7.5.4
author
#1 lore raw

Hello Samuel,

Quoted 16 lines

-----Original Message-----
From: J, KEERTHY
Sent: Thursday, June 20, 2013 4:35 PM
To: [email protected]; [email protected]
Cc: [email protected]; J, KEERTHY; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; devicetree- [email protected]; [email protected]
Subject: [PATCH 2/4] MFD: Palmas: Add TPS659038 PMIC support

The Patch adds TPS659038 PMIC support in the palmas mfd driver. The TPS659038 has almost the same registers as of the earlier supported variants of PALMAS family such as the TWL6035.

The critical differences between TPS659038 and TWL6035 being:

Quoted 10 lines

1) TPS659038 has nothing related to battery charging and back up battery stuff.
2) TPS659038 does not have does not have SMPS10(Boost) step up convertor.
3) TPS659038 does not have Battery detection and anything related to battery.
4) SD card detection, Battery presence detection, Vibrator, USB OTG are missing
when compared to TWL6035.

Could you please pull this patch?

Quoted 30 lines
---
 drivers/mfd/palmas.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mfd/palmas.c index renamed from drivers/mfd/palmas.c +0 -0

ad2edd6..8b20055 100644

drivers/mfd/palmas.c +5 -1
@@ -233,12 +233,17 @@ static void palmas_dt_to_pdata(struct i2c_client
 *i2c,  }
 
 static unsigned int palmas_features =
 PALMAS_PMIC_FEATURE_SMPS10_BOOST;
+static unsigned int tps659038_features;
 
 static const struct of_device_id of_palmas_match_tbl[] = {
 	{
 		.compatible = "ti,palmas",
 		.data = &palmas_features,
 	},
+	{
+		.compatible = "ti,tps659038",
+		.data = &tps659038_features,
+	},
 	{ },
 };
 
--
Quoted 1 line

1.7.5.4

Regards,
Keerthy

Applied
#2 lore raw
In reply to J Keerthy

Hi,

Quoted 12 lines · J Keerthy

The Patch adds TPS659038 PMIC support in the palmas mfd driver. The TPS659038 has almost the same registers as of the earlier supported variants of PALMAS family such as the TWL6035.

The critical differences between TPS659038 and TWL6035 being:

1) TPS659038 has nothing related to battery charging and back up battery stuff.
2) TPS659038 does not have does not have SMPS10(Boost) step up convertor.
3) TPS659038 does not have Battery detection and anything related to battery.
4) SD card detection, Battery presence detection, Vibrator, USB OTG are missing when compared to TWL6035.

Quoted 5 lines
---
 drivers/mfd/palmas.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/
author
#3 lore raw
Quoted 29 lines

-----Original Message-----
From: Samuel Ortiz [mailto:[email protected]]
Sent: Monday, June 24, 2013 5:13 PM
To: J, KEERTHY
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; devicetree- [email protected]; [email protected]
Subject: Re: [PATCH 2/4] MFD: Palmas: Add TPS659038 PMIC support

Hi,

Quoted 7 lines · J Keerthy

The Patch adds TPS659038 PMIC support in the palmas mfd driver. The TPS659038 has almost the same registers as of the earlier supported variants of PALMAS family such as the TWL6035.

The critical differences between TPS659038 and TWL6035 being:

1) TPS659038 has nothing related to battery charging and back up

battery stuff.

Quoted 1 line

2) TPS659038 does not have does not have SMPS10(Boost) step up

convertor.

Quoted 1 line

3) TPS659038 does not have Battery detection and anything related to

battery.

Quoted 1 line

4) SD card detection, Battery presence detection, Vibrator, USB OTG

are missing

Quoted 8 lines
Quoted 7 lines

when compared to TWL6035.

---
 drivers/mfd/palmas.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Applied, thanks.

Thanks Samuel.

Quoted 7 lines

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/