linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Thierry Reding
	<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH 01/10] ARM: tegra: Add AS3722 PMIC on Venice2
Date: Fri, 20 Dec 2013 12:23:28 +0530	[thread overview]
Message-ID: <52B3E968.8090906@nvidia.com> (raw)
In-Reply-To: <52B355EC.9040306-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

On Friday 20 December 2013 01:54 AM, Stephen Warren wrote:
> On 12/19/2013 09:06 AM, Thierry Reding wrote:

> (Laxman, as an aside, I'm not sure why you're upstreaming patches that
> don't exactly match the existing kernel support for this board...)

I did not get this based on what context it is. Can you please elaborate 
where I am missing the stuff?


>
>> diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
>> +				sd0 {
>> +					regulator-name = "vdd_cpu";
>> +					regulator-min-microvolt = <700000>;
>> +					regulator-max-microvolt = <1350000>;
> Laxman's patch has:
>
>   					regulator-max-microvolt = <1400000>;

We have the Laguna platform on which Android and L4T is running fine. 
This is based on same PMIC used for Venice2. As we are running the more 
cpu stress on Laguna, I took this parameter from the Laguna Power tree 
where it is maximum 1.4V. Chrome have maximum as 1.35mV.



>
>> +					regulator-always-on;
>> +					ams,ext-control = <2>;
>> +				};
> Laxman's patch adds:
>
>   					regulator-min-microamp = <3500000>;
>   					regulator-max-microamp = <3500000>;
>   					regulator-boot-on;
>
> Those properties (with various values) are added to quite a few nodes; I
> won't bother pointing them out elsewhere.


All rails does not support the current configuration. SD0, SD1 and SD6 
supports this. We have configured these value on Laguna as per system 
eng recommendation for this rails. As the power tree s almost same, I 
configured same here for Venice2. SD0 and SD6 on 3500mA and SD1 is on 
2500mA.



>
>> +				sd1 {
> ...
>> +					regulator-max-microamp = <3500000>;
> Laxman's patch has:
>
>   					regulator-max-microamp = <2500000>;
>
> Laxman's patch adds the following node:
>
>   				sd3 {
>   					regulator-name = "vddio-ddr-2phase";
>   					regulator-min-microvolt = <1350000>;
>   					regulator-max-microvolt = <1350000>;
>   					regulator-always-on;
>   					regulator-boot-on;
>   				};
As per schematic, SD2 and SD3 make 2 phase supply for the DDR. I added 
SD3 so that it should not get disabled at time of unused regulator 
disabled by regulator framework.
>
>> +				sd6 {
> ...
>> +					regulator-min-microvolt = <800000>;
> Laxman's patch has:
>
>   					regulator-min-microvolt = <650000>;

Again from downstream Laguna platform.

>
>> +				ldo6 {
> ...
>> +					regulator-min-microvolt = <3300000>;
> Laxman's patch has:
>
>   					regulator-min-microvolt = <1800000>;
VDDIO SDMMC and I think it is for SD3.0 (UHS) which switches voltage 
from 3.3 to 1.8 on UHS mode by sdmmc driver.

  parent reply	other threads:[~2013-12-20  6:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 16:06 [PATCH 00/10] ARM: tegra: Enable a bunch of functionality on Venice2 Thierry Reding
     [not found] ` <1387469182-14398-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 16:06   ` [PATCH 01/10] ARM: tegra: Add AS3722 PMIC " Thierry Reding
     [not found]     ` <1387469182-14398-2-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:24       ` Stephen Warren
     [not found]         ` <52B355EC.9040306-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20  6:53           ` Laxman Dewangan [this message]
     [not found]             ` <52B3E968.8090906-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 10:25               ` Thierry Reding
     [not found]                 ` <20131220102542.GJ27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 10:46                   ` Laxman Dewangan
     [not found]                     ` <52B41FEA.7020608-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 16:57                       ` Stephen Warren
     [not found]                         ` <52B476EA.2040401-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 17:25                           ` Laxman Dewangan
2013-12-19 21:47       ` Stephen Warren
     [not found]         ` <52B3695D.70601-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:14           ` Thierry Reding
     [not found]             ` <20131220111442.GK27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 17:02               ` Stephen Warren
2013-12-19 16:06   ` [PATCH 02/10] ARM: tegra: Hook up SDMMC3 power-supply " Thierry Reding
2013-12-19 16:06   ` [PATCH 03/10] ARM: tegra: Add Tegra124 host1x support Thierry Reding
2013-12-19 16:06   ` [PATCH 04/10] ARM: tegra: Add Tegra124 eDP support Thierry Reding
     [not found]     ` <1387469182-14398-5-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:46       ` Stephen Warren
     [not found]         ` <52B35B15.4090008-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:17           ` Thierry Reding
2013-12-19 16:06   ` [PATCH 05/10] ARM: tegra: Enable eDP for Venice2 Thierry Reding
     [not found]     ` <1387469182-14398-6-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 21:40       ` Stephen Warren
     [not found]         ` <52B367C7.9010301-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 10:20           ` Thierry Reding
     [not found]             ` <20131220102024.GI27787-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-20 17:01               ` Stephen Warren
2013-12-19 16:06   ` [PATCH 06/10] ARM: tegra: Add SPI controller nodes for Tegra124 Thierry Reding
     [not found]     ` <1387469182-14398-7-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 20:38       ` Stephen Warren
     [not found]         ` <52B35944.8090307-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:15           ` Thierry Reding
2013-12-19 16:06   ` [PATCH 07/10] ARM: tegra: Enable Venice2 keyboard Thierry Reding
     [not found]     ` <1387469182-14398-8-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20 17:56       ` Stephen Warren
2013-12-19 16:06   ` [PATCH 08/10] ARM: tegra: Enable power key on Venice2 Thierry Reding
2013-12-19 16:06   ` [PATCH 09/10] ARM: tegra: Add Tegra124 USB support Thierry Reding
2013-12-19 16:06   ` [PATCH 10/10] ARM: tegra: Enable USB on Venice2 Thierry Reding
     [not found]     ` <1387469182-14398-11-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 21:37       ` Stephen Warren
     [not found]         ` <52B36720.8080205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20  2:59           ` Jim Lin
2013-12-20 11:53           ` Thierry Reding

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=52B3E968.8090906@nvidia.com \
    --to=ldewangan-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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).