Re: [PATCH 1/2] regulator: of: Add support for parsing regulator_state for suspend state

From: Mark Brown
Date: Mon Jun 09 2014 - 15:22:23 EST


On Mon, Jun 09, 2014 at 07:29:39PM +0900, Chanwoo Choi wrote:

> + ret = of_property_read_u32(suspend_np, "regulator-mode", &pval);
> + if (!ret)
> + suspend_state->mode = pval;

If we're going to do that we'd need to define what modes mean in the DT
binding - currently there's no support for modes at all because it's
complicated to come up with sensible and meaningful generic defintions.

Attachment: signature.asc
Description: Digital signature