devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-arm-kernel
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	linux-kernel
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-sunxi <linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC
Date: Tue, 9 Feb 2016 13:41:37 +0800	[thread overview]
Message-ID: <CAGb2v66a=LLMBEbrR2qCzuYp+-fa96qLROFN10+aNvfGTtW-Zg@mail.gmail.com> (raw)
In-Reply-To: <20160208162244.GG7265-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>

On Tue, Feb 9, 2016 at 12:22 AM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> On Mon, Feb 08, 2016 at 10:56:05PM +0800, Chen-Yu Tsai wrote:
>> On Mon, Feb 8, 2016 at 10:53 PM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>> > On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote:
>
>> >> Mark, may I assume you are OK with this DTS include listing
>> >> the regulators, even if their sections are empty?
>
>> > If it has no content why have it?
>
>> I'd like the regulator core to disable any unused ones. The core
>> considers regulators that don't have nodes as not having constraints,
>> and won't touch them.
>
>> Any other ways to do this? Or am I going about this the wrong way?
>
> The whole point with constraints is that they describe what is safe on a
> given board.  This includes powering off unused regulators - it should
> be something that the system integrator configures, not something that
> they get as default.

OK. So how should one describe a regulator as unused? Just leave it out
since it's not wired to anything? Or have an empty node at the board
level? One of the regulators involved on my board is by (hardware)
default on.

Thanks
ChenYu

  parent reply	other threads:[~2016-02-09  5:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 10:27 [PATCH 00/11] mfd: axp20x: Add support for AXP809 PMIC Chen-Yu Tsai
     [not found] ` <1454408864-24112-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-02 10:27   ` [PATCH 01/11] MAINTAINERS: Add entry for X-Powers AXP family PMIC drivers Chen-Yu Tsai
     [not found]     ` <1454408864-24112-2-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-02 13:27       ` Maxime Ripard
2016-02-03  0:19       ` Julian Calaby
     [not found]         ` <CAGRGNgVxan9RCsLFW9hHWcdW+Rd_SgVG95H-yQg213g-YeE6Ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-03  1:28           ` Joe Perches
     [not found]             ` <1454462910.7291.53.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2016-02-03  1:30               ` [linux-sunxi] " Julian Calaby
2016-02-03  6:49               ` Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 02/11] mfd: axp20x: Add bindings for AXP809 PMIC Chen-Yu Tsai
     [not found]     ` <1454408864-24112-3-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-02 22:43       ` Rob Herring
2016-02-09 10:18         ` Lee Jones
2016-02-02 10:27   ` [PATCH 03/11] mfd: axp20x: Add support " Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 04/11] regulator: axp20x: Remove voltage readout support for switch regulators Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 05/11] regulator: axp20x: Use linear voltage ranges for AXP20X LDO4 Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 06/11] regulator: axp20x: support AXP809 variant Chen-Yu Tsai
     [not found]     ` <1454408864-24112-7-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-03 17:15       ` Mark Brown
2016-05-31 17:46       ` Applied "regulator: axp20x: support AXP809 variant" to the regulator tree Mark Brown
2016-02-02 10:27   ` [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC Chen-Yu Tsai
     [not found]     ` <1454408864-24112-8-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-02 12:17       ` Mark Brown
     [not found]         ` <20160202121733.GO4455-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-06 12:42           ` Chen-Yu Tsai
     [not found]             ` <CAGb2v657zYT30KbuK0fyVOmhv0kzJjj9gTsTFRaS4i3d6YhiHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-08 14:53               ` Mark Brown
     [not found]                 ` <20160208145347.GD7265-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-08 14:56                   ` Chen-Yu Tsai
     [not found]                     ` <CAGb2v64ySLAVbPf_XaZnzm5T=SmQLip4iO2p4cGXg=C0=51eqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-08 16:22                       ` Mark Brown
     [not found]                         ` <20160208162244.GG7265-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-09  5:41                           ` Chen-Yu Tsai [this message]
     [not found]                             ` <CAGb2v66a=LLMBEbrR2qCzuYp+-fa96qLROFN10+aNvfGTtW-Zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-09 11:32                               ` Mark Brown
2016-02-02 10:27   ` [PATCH 08/11] ARM: dts: sun9i: a80-optimus: Add AXP809 PMIC device node and regulators Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 09/11] ARM: dts: sun9i: cubieboard4: " Chen-Yu Tsai
2016-02-02 10:27   ` [PATCH 10/11] ARM: dts: sun9i: a80-optimus: Disable dummy regulators vcc3v0, vcc3v3, vcc5v0 Chen-Yu Tsai
     [not found]     ` <1454408864-24112-11-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2016-02-02 16:21       ` Maxime Ripard
2016-02-02 16:41         ` Chen-Yu Tsai
     [not found]           ` <CAGb2v66xjgsoVEBocUfDk6DDx4QcH-4pP94v+4FHLTJ=rii09Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-04 16:44             ` Maxime Ripard
2016-02-02 10:27   ` [PATCH 11/11] ARM: dts: sun9i: cubieboard4: " Chen-Yu Tsai

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='CAGb2v66a=LLMBEbrR2qCzuYp+-fa96qLROFN10+aNvfGTtW-Zg@mail.gmail.com' \
    --to=wens-jday2fn1rrm@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@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).