Re: [PATCH 09/15] Platform: OLPC: add a regulator for the DCON

2018-10-19 Thread Andy Shevchenko
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > All OLPC ECs are able to turn the power to the DCON on an off. Use the > regulator framework to expose the functionality. > +static int olpc_ec_set_dcon_power(struct olpc_ec_priv *ec, bool state) > +{ > + unsigned char ec_byte = stat

[PATCH 09/15] Platform: OLPC: add a regulator for the DCON

2018-10-10 Thread Lubomir Rintel
All OLPC ECs are able to turn the power to the DCON on an off. Use the regulator framework to expose the functionality. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/Kconfig | 1 + drivers/platform/olpc/olpc-ec.c | 65 + 2 files changed, 66 insertions