linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Laxman Dewangan
	<ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH V2] ARM: dt: tegra: harmony: add regulators
Date: Fri, 07 Sep 2012 09:37:30 -0600	[thread overview]
Message-ID: <504A14BA.9070109@wwwdotorg.org> (raw)
In-Reply-To: <1346972447-7096-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

On 09/06/2012 05:00 PM, Stephen Warren wrote:
> From: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> Harmony uses a TPS6586x regulator. Instantiate this, and hook up a
> couple of fixed GPIO-controlled regulators too.
> 
> Based on Ventana regulator patch by Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> and converted to Harmony.
> 
> swarren made the following changes:
> * Added ldo0 regulator configuration to device tree, and updated
>   board-harmony-pcie.c for the new regulator name.
> * Fixed vdd_1v05's voltage from 10.5V to 1.05V.
> * Modified board-harmony-pcie.c to obtain the en_vdd_1v05 GPIO number at
>   run-time from device tree instead of hard-coding it.
> * Removed board-harmony{-power.c,.h} now that they're unused.
> * Disabled vdd_1v05 regulator; the code in board-harmony-pcie.c hijacks
>   this GPIO for now. This will be fixed when the PCIe driver is re-
>   written as a driver. The code can't regulator_get("vdd_1v05") right
>   now, because the vdd_1v05 regulator's probe gets deferred due to its
>   supply being the PMIC, which gets probed after the regulator the first
>   time around, and this dependency is only resolved by repeated probing,
>   which happens when deferred_probe_initcall() is called, which happens
>   in a late initcall, whose runtime order relative to harmony_pcie_init()
>   is undefined, since that's also called from a late initcall.
> * Removed unused harmony_pcie_initcall().
> 
> Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Applied to Tegra's for-3.7/board-removal branch (since it relies on
patches there, and allows board-harmony-power.c to be removed).

      parent reply	other threads:[~2012-09-07 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 23:00 [PATCH V2] ARM: dt: tegra: harmony: add regulators Stephen Warren
     [not found] ` <1346972447-7096-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-07 15:37   ` Stephen Warren [this message]

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=504A14BA.9070109@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=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-DDmLM1+adcrQT0dZR+AlfA@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).