On Fri, May 31, 2013 at 12:13 PM, Hebbar Gururaja
wrote:
> struct gpio_leds_priv {
> int num_leds;
> + /* Two optional pin states - default & sleep */
> + struct pinctrl *pinctrl;
> + struct pinctrl_state*pins_default;
> + struct pinctrl_state*pin
Amend leds-gpio driver to optionally take a pin control handle and set
the state of the pins to:
- "default" on boot, resume
- "sleep" on suspend()
By optionally putting the pins into sleep state in the suspend callback
we can accomplish two things.
- One is to minimize current leakage from pins
2 matches
Mail list logo