Re: [RFC PATCH 3/3] dt: Document: Add optional MAX77686 operatingmode bindings

From: Mark Brown
Date: Tue Dec 11 2012 - 22:07:36 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/