public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* Re: About [PATCH 1/2] regulator: core: Provide a dummy regulator with full constraints
       [not found]           ` <20131016103942.GG2443-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2013-10-17  4:39             ` Wei Ni
       [not found]               ` <525F6A1B.70505-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Ni @ 2013-10-17  4:39 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 10/16/2013 06:39 PM, Mark Brown wrote:
> * PGP Signed by an unknown key
> 
> On Wed, Oct 16, 2013 at 12:36:46PM +0800, Wei Ni wrote:
>> On 10/12/2013 08:14 PM, Mark Brown wrote:
> 
>>> OK, I think the device tree board code just needs to set full
>>> constraints during machine initialisation.  We can't have multiple
> 
>> Hi, Mark, do you mean we can call regulator_has_full_constraints(), but
>> some platforms doesn't have board file now, they only have dts file, how
>> to call this functions?
> 
> There is still a board file for DT machines, it's just shared between
> all machines - it should be doing the call instead of the regulator
> framework trying to retrofit it.

So do you mean it should call the regulator_has_full_constraints() in
the .init_machine for all machines? If so, this will affect all boards,
for example, in arch/arm/mach-tegra, if we set full constraints in the
shared board file tegra.c, all tegra boards will be set, is it right?

Thanks.
Wei.

> 
> * Unknown Key
> * 0x7EA229BD
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About [PATCH 1/2] regulator: core: Provide a dummy regulator with full constraints
       [not found]               ` <525F6A1B.70505-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-10-17  9:37                 ` Mark Brown
       [not found]                   ` <20131017093701.GH2443-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2013-10-17  9:37 UTC (permalink / raw)
  To: Wei Ni
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

On Thu, Oct 17, 2013 at 12:39:55PM +0800, Wei Ni wrote:

> So do you mean it should call the regulator_has_full_constraints() in
> the .init_machine for all machines? If so, this will affect all boards,
> for example, in arch/arm/mach-tegra, if we set full constraints in the
> shared board file tegra.c, all tegra boards will be set, is it right?

Yes, but this is currently the case anyway for every system using DT -
all we'd be doing is moving this call earlier in init.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About [PATCH 1/2] regulator: core: Provide a dummy regulator with full constraints
       [not found]                   ` <20131017093701.GH2443-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2013-10-17 10:39                     ` Wei Ni
  0 siblings, 0 replies; 3+ messages in thread
From: Wei Ni @ 2013-10-17 10:39 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 10/17/2013 05:37 PM, Mark Brown wrote:
> * PGP Signed by an unknown key
> 
> On Thu, Oct 17, 2013 at 12:39:55PM +0800, Wei Ni wrote:
> 
>> So do you mean it should call the regulator_has_full_constraints() in
>> the .init_machine for all machines? If so, this will affect all boards,
>> for example, in arch/arm/mach-tegra, if we set full constraints in the
>> shared board file tegra.c, all tegra boards will be set, is it right?
> 
> Yes, but this is currently the case anyway for every system using DT -
> all we'd be doing is moving this call earlier in init.

Ok, I will send out patches for Tegra series.

> 
> * Unknown Key
> * 0x7EA229BD
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-17 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5253A17E.10503@nvidia.com>
     [not found] ` <20131008090910.GW21581@sirena.org.uk>
     [not found]   ` <5253D489.7010900@nvidia.com>
     [not found]     ` <20131012121412.GJ2443@sirena.org.uk>
     [not found]       ` <525E17DE.6080301@nvidia.com>
     [not found]         ` <20131016103942.GG2443@sirena.org.uk>
     [not found]           ` <20131016103942.GG2443-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-10-17  4:39             ` About [PATCH 1/2] regulator: core: Provide a dummy regulator with full constraints Wei Ni
     [not found]               ` <525F6A1B.70505-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-17  9:37                 ` Mark Brown
     [not found]                   ` <20131017093701.GH2443-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-10-17 10:39                     ` Wei Ni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox