From: Kai Poggensee <kai.poggensee@avionic-design.de>
Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/3] regulator: tps6586x: add version detection and voltage tables
Date: Fri, 29 Nov 2013 09:20:37 +0100 [thread overview]
Message-ID: <52984E55.10804@avionic-design.de> (raw)
In-Reply-To: <20131128081351.GA26502@ulmo.nvidia.com>
On 28.11.2013 09:13, Thierry Reding wrote:
> On Wed, Nov 27, 2013 at 12:45:42AM +0100, Stefan Agner wrote:
>> This patchset adds version detection for the tps6586x mfd family. This is
>> required because some regulator versions use different voltage tables. The
>> regulator driver now uses the right voltage table according to the
>> version.
>>
>> The required voltage for the SM2 converter on the Colibri T20 is 1.8V,
>> however, the device tree states 3.7V right now. Newer versions (>=V1.2) of
>> the Colibri T20 module use the TPS658643, whereas old ones (<V1.2) use the
>> TPS658623. Both of them have a different voltage table for SM2. The
>> current device tree contains a voltage which results in 1.8V for the older
>> TPS658623. Since the regulator driver has correct voltage tables for both
>> regulator versions now, we can request the correct 1.8V from the device
>> tree.
>>
>> Tested on Colibri T20 V1.1 and V1.2.
>>
>> Stefan Agner (3):
>> mfd: tps6586x: add version detection
>> regulator: tps6586x: add voltage table for tps658643
>> ARM: tegra: set SM2 voltage correct
>>
>> arch/arm/boot/dts/tegra20-colibri-512.dtsi | 4 +-
>> drivers/mfd/tps6586x.c | 41 +++++++++++--
>> drivers/regulator/tps6586x-regulator.c | 97 ++++++++++++++++++++----------
>> include/linux/mfd/tps6586x.h | 9 +++
>> 4 files changed, 110 insertions(+), 41 deletions(-)
>
> Adding Kai Poggensee on Cc. There was a variant of the Tamonten board
> with one of these versions of the chip (or maybe it was even yet another
> one).
Thanks Thierry,
we'll be more than happy to support testing once the
re-spun patch is posted. However, we will probably
do so by back-porting to L4T 16.3.
For the records:
We are using TPS658621C on first variant of Tamonten
Tegra 2 COM (internally called 1373-111), we are using
TPS658640 on variant two (1373-121).
This second variant was created to be 100% compatible
with our TamontenNG Tegra 3 COM (basically omitting some
previously unused interfaces), using TPS658640 was an
opportunistic optimization.
Regards,
Kai
WARNING: multiple messages have this Message-ID (diff)
From: kai.poggensee@avionic-design.de (Kai Poggensee)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] regulator: tps6586x: add version detection and voltage tables
Date: Fri, 29 Nov 2013 09:20:37 +0100 [thread overview]
Message-ID: <52984E55.10804@avionic-design.de> (raw)
In-Reply-To: <20131128081351.GA26502@ulmo.nvidia.com>
On 28.11.2013 09:13, Thierry Reding wrote:
> On Wed, Nov 27, 2013 at 12:45:42AM +0100, Stefan Agner wrote:
>> This patchset adds version detection for the tps6586x mfd family. This is
>> required because some regulator versions use different voltage tables. The
>> regulator driver now uses the right voltage table according to the
>> version.
>>
>> The required voltage for the SM2 converter on the Colibri T20 is 1.8V,
>> however, the device tree states 3.7V right now. Newer versions (>=V1.2) of
>> the Colibri T20 module use the TPS658643, whereas old ones (<V1.2) use the
>> TPS658623. Both of them have a different voltage table for SM2. The
>> current device tree contains a voltage which results in 1.8V for the older
>> TPS658623. Since the regulator driver has correct voltage tables for both
>> regulator versions now, we can request the correct 1.8V from the device
>> tree.
>>
>> Tested on Colibri T20 V1.1 and V1.2.
>>
>> Stefan Agner (3):
>> mfd: tps6586x: add version detection
>> regulator: tps6586x: add voltage table for tps658643
>> ARM: tegra: set SM2 voltage correct
>>
>> arch/arm/boot/dts/tegra20-colibri-512.dtsi | 4 +-
>> drivers/mfd/tps6586x.c | 41 +++++++++++--
>> drivers/regulator/tps6586x-regulator.c | 97 ++++++++++++++++++++----------
>> include/linux/mfd/tps6586x.h | 9 +++
>> 4 files changed, 110 insertions(+), 41 deletions(-)
>
> Adding Kai Poggensee on Cc. There was a variant of the Tamonten board
> with one of these versions of the chip (or maybe it was even yet another
> one).
Thanks Thierry,
we'll be more than happy to support testing once the
re-spun patch is posted. However, we will probably
do so by back-porting to L4T 16.3.
For the records:
We are using TPS658621C on first variant of Tamonten
Tegra 2 COM (internally called 1373-111), we are using
TPS658640 on variant two (1373-121).
This second variant was created to be 100% compatible
with our TamontenNG Tegra 3 COM (basically omitting some
previously unused interfaces), using TPS658640 was an
opportunistic optimization.
Regards,
Kai
WARNING: multiple messages have this Message-ID (diff)
From: Kai Poggensee <kai.poggensee@avionic-design.de>
To: linux-kernel@vger.kernel.org
Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] regulator: tps6586x: add version detection and voltage tables
Date: Fri, 29 Nov 2013 09:20:37 +0100 [thread overview]
Message-ID: <52984E55.10804@avionic-design.de> (raw)
In-Reply-To: <20131128081351.GA26502@ulmo.nvidia.com>
On 28.11.2013 09:13, Thierry Reding wrote:
> On Wed, Nov 27, 2013 at 12:45:42AM +0100, Stefan Agner wrote:
>> This patchset adds version detection for the tps6586x mfd family. This is
>> required because some regulator versions use different voltage tables. The
>> regulator driver now uses the right voltage table according to the
>> version.
>>
>> The required voltage for the SM2 converter on the Colibri T20 is 1.8V,
>> however, the device tree states 3.7V right now. Newer versions (>=V1.2) of
>> the Colibri T20 module use the TPS658643, whereas old ones (<V1.2) use the
>> TPS658623. Both of them have a different voltage table for SM2. The
>> current device tree contains a voltage which results in 1.8V for the older
>> TPS658623. Since the regulator driver has correct voltage tables for both
>> regulator versions now, we can request the correct 1.8V from the device
>> tree.
>>
>> Tested on Colibri T20 V1.1 and V1.2.
>>
>> Stefan Agner (3):
>> mfd: tps6586x: add version detection
>> regulator: tps6586x: add voltage table for tps658643
>> ARM: tegra: set SM2 voltage correct
>>
>> arch/arm/boot/dts/tegra20-colibri-512.dtsi | 4 +-
>> drivers/mfd/tps6586x.c | 41 +++++++++++--
>> drivers/regulator/tps6586x-regulator.c | 97 ++++++++++++++++++++----------
>> include/linux/mfd/tps6586x.h | 9 +++
>> 4 files changed, 110 insertions(+), 41 deletions(-)
>
> Adding Kai Poggensee on Cc. There was a variant of the Tamonten board
> with one of these versions of the chip (or maybe it was even yet another
> one).
Thanks Thierry,
we'll be more than happy to support testing once the
re-spun patch is posted. However, we will probably
do so by back-porting to L4T 16.3.
For the records:
We are using TPS658621C on first variant of Tamonten
Tegra 2 COM (internally called 1373-111), we are using
TPS658640 on variant two (1373-121).
This second variant was created to be 100% compatible
with our TamontenNG Tegra 3 COM (basically omitting some
previously unused interfaces), using TPS658640 was an
opportunistic optimization.
Regards,
Kai
next prev parent reply other threads:[~2013-11-29 8:20 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 23:45 [PATCH 0/3] regulator: tps6586x: add version detection and voltage tables Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-26 23:45 ` [PATCH 1/3] mfd: tps6586x: add version detection Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-27 13:09 ` Lee Jones
2013-11-27 13:09 ` Lee Jones
2013-11-27 13:11 ` Lee Jones
2013-11-27 13:11 ` Lee Jones
2013-11-27 13:49 ` Stefan Agner
2013-11-27 13:49 ` Stefan Agner
2013-11-27 13:49 ` Stefan Agner
[not found] ` <cd69295e946b48451f449eacc02efa4a-XLVq0VzYD2Y@public.gmane.org>
2013-11-27 13:55 ` Lee Jones
2013-11-27 13:55 ` Lee Jones
2013-11-27 13:55 ` Lee Jones
[not found] ` <cfb203a896eda67c106794d89e668d56@agner.ch>
[not found] ` <20131127143429.GN3296@lee--X1>
2013-11-27 14:36 ` Lee Jones
2013-11-27 14:36 ` Lee Jones
2013-11-27 14:36 ` Lee Jones
2013-11-27 15:26 ` Stefan Agner
2013-11-27 15:26 ` Stefan Agner
2013-11-27 15:26 ` Stefan Agner
2013-11-27 15:30 ` Lee Jones
2013-11-27 15:30 ` Lee Jones
2013-11-27 15:52 ` Stefan Agner
2013-11-27 15:52 ` Stefan Agner
2013-11-27 15:52 ` Stefan Agner
[not found] ` <89dbf704d8617c77259e04753e4380c9-XLVq0VzYD2Y@public.gmane.org>
2013-11-27 16:14 ` Lee Jones
2013-11-27 16:14 ` Lee Jones
2013-11-27 16:14 ` Lee Jones
[not found] ` <ef881d39f78b75b4badeebb5be0264edc3906d86.1385508112.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2013-11-27 16:58 ` Stephen Warren
2013-11-27 16:58 ` Stephen Warren
2013-11-27 16:58 ` Stephen Warren
[not found] ` <529624CA.6030604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-11-27 21:44 ` Stefan Agner
2013-11-27 21:44 ` Stefan Agner
2013-11-27 21:44 ` Stefan Agner
2013-11-26 23:45 ` [PATCH 2/3] regulator: tps6586x: add voltage table for tps658643 Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-26 23:45 ` Stefan Agner
[not found] ` <8be2fe8560cc19f03d5be40ad3dc21d5979c8358.1385508112.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2013-11-27 17:09 ` Stephen Warren
2013-11-27 17:09 ` Stephen Warren
2013-11-27 17:09 ` Stephen Warren
[not found] ` <5296273C.1000705-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-11-27 21:56 ` Stefan Agner
2013-11-27 21:56 ` Stefan Agner
2013-11-27 21:56 ` Stefan Agner
[not found] ` <93a0f4b1da2a54e58cee0756ab5f3e36-XLVq0VzYD2Y@public.gmane.org>
2013-11-28 8:30 ` Thierry Reding
2013-11-28 8:30 ` Thierry Reding
2013-11-28 8:30 ` Thierry Reding
2013-11-26 23:45 ` [PATCH 3/3] ARM: tegra: set SM2 voltage correct Stefan Agner
2013-11-26 23:45 ` Stefan Agner
2013-11-26 23:45 ` Stefan Agner
[not found] ` <c9ceead9e3df77b5a33ad654db23c241cd624096.1385508112.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2013-11-27 9:59 ` Lucas Stach
2013-11-27 9:59 ` Lucas Stach
2013-11-27 9:59 ` Lucas Stach
[not found] ` <1385546387.4270.11.camel-WzVe3FnzCwFR6QfukMTsflXZhhPuCNm+@public.gmane.org>
2013-11-27 11:05 ` Stefan Agner
2013-11-27 11:05 ` Stefan Agner
2013-11-27 11:05 ` Stefan Agner
2013-11-27 11:06 ` Lucas Stach
2013-11-27 11:06 ` Lucas Stach
2013-11-27 17:13 ` Stephen Warren
2013-11-27 17:13 ` Stephen Warren
2013-11-27 17:13 ` Stephen Warren
[not found] ` <5296281C.1060403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-11-27 22:03 ` Stefan Agner
2013-11-27 22:03 ` Stefan Agner
2013-11-27 22:03 ` Stefan Agner
2013-11-28 9:49 ` Lucas Stach
2013-11-28 9:49 ` Lucas Stach
2013-11-28 9:49 ` Lucas Stach
2013-11-30 16:24 ` Stefan Agner
2013-11-30 16:24 ` Stefan Agner
[not found] ` <cover.1385508112.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2013-11-28 8:13 ` [PATCH 0/3] regulator: tps6586x: add version detection and voltage tables Thierry Reding
2013-11-28 8:13 ` Thierry Reding
2013-11-28 8:13 ` Thierry Reding
2013-11-29 8:20 ` Kai Poggensee [this message]
2013-11-29 8:20 ` Kai Poggensee
2013-11-29 8:20 ` Kai Poggensee
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=52984E55.10804@avionic-design.de \
--to=kai.poggensee@avionic-design.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.