On 3/24/2011 3:12 PM, Hilman, Kevin wrote:
Vishwanath Sripathy<[email protected]>  writes:

-----Original Message-----
From: [email protected] [mailto:linux-omap-
[email protected]] On Behalf Of Kevin Hilman
Sent: Thursday, March 24, 2011 5:30 AM
To: [email protected]
Cc: Paul Walmsely; Benoit Cousson
Subject: [PATCH/RFC 07/19] OMAP3: voltage: add scalable flag to
voltagedomain

Add a 'bool scalable' flag to the struct powerdomain and set it for

I suppose you meant "struct voltagedomain".

yes

But shouldn't this flag be part of PMIC struct?
Voltage scalability depends on the kind of VDD supply from PMIC. So even
if OMAP supports voltage scaling, we may not be able to scale the voltage
if PMIC does not support it.

That's a good point.  Probably I can drop this flag and just use the
existence of the various fields of the voltage domain (pmic, vc, vp,
etc.) to determine if the voltdm can scale.

Mmm, the scalability is still a characteristic of the OMAP voltage domain. Some are scalable with a supported range of voltage, some are not.

So that information is relevant in the voltage domain. Then the regulator framework will have as well some information about the range that should match what OMAP is able to do.

Benoit
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to