Messages in this thread | | | Date | Wed, 12 Dec 2012 12:07:41 +0900 | From | Mark Brown <> | Subject | Re: [RFC PATCH 3/3] dt: Document: Add optional MAX77686 operating mode bindings |
| |
On Mon, Dec 10, 2012 at 10:30:42AM -0800, Doug Anderson wrote:
> The max77686 appears to support NORMAL and IDLE mode for most LDOs, so > the only reasonable values for these two would be 2 and 4. It appears > that it would also be nonsensical (impossible to map to a register > value) to have REGULATOR_MODE_NORMAL for suspend and > REGULATOR_MODE_IDLE for the normal running mode.
The concept of normal and idle modes is Linux-specific, it's not a generic hardware property. You'd want to have something like the expected current drain, the regulator API does already have support for mapping into an optimal mode already.
| |