mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sundar R IYER <sundar.iyer@stericsson.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>,
	"sameo@linux.intel.com" <sameo@linux.intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	STEricsson_nomadik_linux <STEricsson_nomadik_linux@list.st.com>,
	Linus WALLEIJ <linus.walleij@stericsson.com>,
	Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Subject: Re: [PATCH v2 2/2] ux500: add ab8500-regulators machine specific data
Date: Wed, 14 Jul 2010 21:39:42 +0530	[thread overview]
Message-ID: <20100714160941.GC1689@bnru01.bnr.st.com> (raw)
In-Reply-To: <20100714154726.GH31073@rakim.wolfsonmicro.main>

> OK, you're missing the point here.  The system constraints say what's
> going to be used on this actual system not what an individual component
> is capable of supporting.  Regulators are almost always vastly more
> flexible than any system can use and so the constraints are used to tell
> the regulator core what configurations can be used on a given system.
> You need to check what makes sense on the system for the things that are
> connected.
Ok.

> For *all* supplies?
Yes. whatever supplies I have listed here all can be enabled/disabled by
their consumers. Sorry to ask, but please help me to understand the
emphasis of the question. There are other supplies, which are controlled
outside the kernel and so I haven't exposed them here.
 
> Again, you need to think about what's actually hooked up.  Permission to
> do any of this stuff depends heavily on the set of consumers that are
> actually hooked up - think about the example I mentioned above where
Agreed.

> some of the consumers on a shared supply are hooked up and doing enables
> and disables, for example.  What happens when they cause the supply to
> be disabled but another consumer is running?
Again, sorry to ask(this is confusing :() - but isn't this managed by
the core? It is the core's responsibility to effectively disable a
supply when none of the consumers are using it; and to block a disable
even when a single consumer is still using it.

For eg, all the audio digital and analog supplies listed here can be
disabled/enabled by the consumer. Same goes for the VAUXn peripheral
supplies, which have shared consumers running at the same voltages.

Regards,
Sundar

  reply	other threads:[~2010-07-14 16:09 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 14:09 [PATCH v2 1/2] regulator: add support for regulators on the ab8500 MFD Sundar Iyer
2010-07-13 14:09 ` [PATCH v2 2/2] ux500: add ab8500-regulators machine specific data Sundar Iyer
2010-07-13 14:18   ` Mark Brown
2010-07-13 14:41     ` Sundar R IYER
2010-07-13 14:56       ` Mark Brown
2010-07-13 15:08         ` Sundar R IYER
2010-07-13 15:09           ` Mark Brown
2010-07-13 16:13             ` Sundar R IYER
2010-07-13 20:38               ` Mark Brown
2010-07-14 14:50                 ` Sundar R IYER
2010-07-14 14:57                   ` Mark Brown
2010-07-14 15:36                     ` Sundar R IYER
2010-07-14 15:47                       ` Mark Brown
2010-07-14 16:09                         ` Sundar R IYER [this message]
2010-07-14 16:20                           ` Mark Brown
2010-07-14 16:47                             ` Sundar R IYER
2010-07-14 17:03                               ` Mark Brown
2010-07-14 17:36                                 ` Sundar R IYER
2010-07-14 18:42                                   ` Mark Brown
2010-07-14 22:51                                     ` Linus Walleij
2010-07-15  9:09                                       ` Mark Brown
2010-07-13 14:17 ` [PATCH v2 1/2] regulator: add support for regulators on the ab8500 MFD Mark Brown
2010-07-13 14:34   ` Sundar R IYER
2010-07-13 14:57     ` Mark Brown
2010-07-13 14:58     ` Mark Brown
2010-07-13 15:11       ` Sundar R IYER
2010-07-13 15:12         ` Mark Brown
2010-07-13 16:18           ` Sundar R IYER
2010-07-13 20:40             ` Mark Brown
2010-07-15 10:29               ` Liam Girdwood
2010-10-27 16:25 ` Thiago Farina
2010-10-27 17:33   ` Mark Brown
2010-10-27 17:42     ` Thiago Farina
2010-10-27 17:56       ` Mark Brown

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=20100714160941.GC1689@bnru01.bnr.st.com \
    --to=sundar.iyer@stericsson.com \
    --cc=STEricsson_nomadik_linux@list.st.com \
    --cc=bengt.g.jonsson@stericsson.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=sameo@linux.intel.com \
    /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

all inboxes | Powered by JetHome®