From: Keerthy <j-keerthy@ti.com>
To: linux-omap@vger.kernel.org
Cc: broonie@kernel.org, j-keerthy@ti.com, ldewangan@nvidia.com,
sameo@linux.intel.com, grant.likely@secretlab.ca,
swarren@nvidia.com, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
gg@slimlogic.co.uk
Subject: [PATCH v3 3/4] mfd: Palmas: Add TPS659038 PMIC support
Date: Wed, 19 Jun 2013 11:27:49 +0530 [thread overview]
Message-ID: <1371621470-22279-4-git-send-email-j-keerthy@ti.com> (raw)
In-Reply-To: <1371621470-22279-1-git-send-email-j-keerthy@ti.com>
From: J Keerthy <j-keerthy@ti.com>
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.
Signed-off-by: J Keerthy <j-keerthy@ti.com>
---
Documentation/devicetree/bindings/mfd/palmas.txt | 2 ++
drivers/mfd/palmas.c | 5 +++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/palmas.txt b/Documentation/devicetree/bindings/mfd/palmas.txt
index 7bcd59c..89cb773 100644
--- a/Documentation/devicetree/bindings/mfd/palmas.txt
+++ b/Documentation/devicetree/bindings/mfd/palmas.txt
@@ -5,6 +5,7 @@ twl6035 (palmas)
twl6037 (palmas)
tps65913 (palmas)
tps65914 (palmas)
+tps659038
Required properties:
- compatible : Should be from the list
@@ -14,6 +15,7 @@ Required properties:
ti,tps65913
ti,tps65914
ti,tps80036
+ ti,tps659038
and also the generic series names
ti,palmas
- interrupt-controller : palmas has its own internal IRQs
diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index 1cacc6a..0439edb 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -232,12 +232,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,
+ },
{ },
};
--
1.7.5.4
next prev parent reply other threads:[~2013-06-19 5:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 5:57 [PATCH v3 0/4] MFD: Palmas: Add TPS659038 PMIC support on Palmas Keerthy
2013-06-19 5:57 ` [PATCH v3 1/4] MFD: Palmas: Check if irq is valid Keerthy
[not found] ` <1371621470-22279-2-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2013-06-19 16:42 ` Mark Brown
2013-06-20 4:16 ` J, KEERTHY
2013-06-19 17:08 ` Stephen Warren
2013-06-20 4:19 ` J, KEERTHY
2013-06-20 4:25 ` J, KEERTHY
2013-07-11 11:25 ` Lee Jones
2013-07-11 11:27 ` Lee Jones
2013-06-19 5:57 ` [PATCH v3 2/4] MFD: Palmas: Add SMPS10_BOOST feature Keerthy
2013-06-20 4:34 ` J, KEERTHY
2013-06-20 9:07 ` Samuel Ortiz
2013-06-20 9:13 ` J, KEERTHY
[not found] ` <DC88CAD03C0052499C1907B327FC63229ECDCE-yXqyApvAXouIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-06-20 9:27 ` Samuel Ortiz
2013-06-20 9:28 ` J, KEERTHY
2013-06-19 5:57 ` Keerthy [this message]
2013-06-20 8:41 ` [PATCH v3 3/4] mfd: Palmas: Add TPS659038 PMIC support Samuel Ortiz
2013-06-19 5:57 ` [PATCH v3 4/4] regulator: Palmas: Add TPS659038 support Keerthy
[not found] ` <1371621470-22279-5-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2013-06-19 16:42 ` Mark Brown
2013-06-20 4:19 ` J, KEERTHY
2013-06-20 8:39 ` [PATCH v3 0/4] MFD: Palmas: Add TPS659038 PMIC support on Palmas Samuel Ortiz
2013-06-20 8:41 ` J, KEERTHY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371621470-22279-4-git-send-email-j-keerthy@ti.com \
--to=j-keerthy@ti.com \
--cc=broonie@kernel.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=gg@slimlogic.co.uk \
--cc=grant.likely@secretlab.ca \
--cc=ldewangan@nvidia.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=swarren@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).