From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] ARM: tegra: cardhu: add dt entry for PMIC TPS65911.
Date: Thu, 05 Jul 2012 13:16:19 -0600 [thread overview]
Message-ID: <4FF5E803.7000304@wwwdotorg.org> (raw)
In-Reply-To: <1341414479-6446-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
On 07/04/2012 09:07 AM, Laxman Dewangan wrote:
> Tegra30 based platform "cardhu" have the power management
> IC TPS65911 for the regulator.
> Adding DT entry for this device.
>
> Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
I recall there were some differences between Cardhu A02 and A04. Does
this patch apply equally to both?
Please have a look at the recent threads re: various Tegra20 boards'
regulator .dts files, and see the results at:
git://nv-tegra.nvidia.com/user/swarren/linux-2.6 linux-next_common
Most of these comments are driven by comments made in the review of
those patches.
In the patch description, can you please specify where you got all the
values from, and any discrepancies.
> diff --git a/arch/arm/boot/dts/tegra30-cardhu.dts b/arch/arm/boot/dts/tegra30-cardhu.dts
> + vdd1_reg: regulator@0 {
> + reg = <0>;
> + regulator-compatible = "vdd1";
> + regulator-name = "vdd_1v2_gen";
It'd be good to list all the signals that these regulators drive
directly; the schematics "rename" the signals quite a lot.
> + regulator-min-microvolt = < 600000>;
> + regulator-max-microvolt = <1500000>;
Similarly, the contraints should list the exact voltage that's required
of the regulators, not a range. Right now, there is no DVFS in the
mainline kernel, so even for rails where DVFS could be used in the
future, we should specify the single voltage we want these rails to run
at without DVFS for now.
> + regulator-always-on;
> + regulator-boot-on;
These properties aren't in the same order in all the nodes. It'd be nice
to have them ordered the same way everywhere.
I'm not sure if it really makes sense to specify regulator-boot-on,
since there's no way to know what SW has run before the kernel which
might have turned off the regulator; regulator-always-on seems to cover
all necessary use-cases.
next prev parent reply other threads:[~2012-07-05 19:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-04 15:07 [PATCH] ARM: tegra: cardhu: add dt entry for PMIC TPS65911 Laxman Dewangan
[not found] ` <1341414479-6446-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-07-05 19:16 ` Stephen Warren [this message]
[not found] ` <4FF5E803.7000304-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-07-06 10:07 ` Laxman Dewangan
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=4FF5E803.7000304@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@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