lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 8 Sep 2014 14:32:35 -0500 From: Nishanth Menon <nm@...com> To: Mugunthan V N <mugunthanvnm@...com> CC: <bcousson@...libre.com>, <tony@...mide.com>, <devicetree@...r.kernel.org>, <linux-omap@...r.kernel.org>, <linux-kernel@...r.kernel.org> Subject: Re: [resend PATCH 1/3] pinctrl: dra7: dt-bindings: add pin off modes for dra7 SoC On 00:49-20140909, Mugunthan V N wrote: > Add pin off modes for dra7 SoC so that during module disable or suspend > state it can help saving power > > Signed-off-by: Mugunthan V N <mugunthanvnm@...com> > --- > include/dt-bindings/pinctrl/dra.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h > index 002a285..a0ff2d0 100644 > --- a/include/dt-bindings/pinctrl/dra.h > +++ b/include/dt-bindings/pinctrl/dra.h > @@ -46,5 +46,13 @@ > #define PIN_INPUT_PULLUP (PULL_ENA | INPUT_EN | PULL_UP) > #define PIN_INPUT_PULLDOWN (PULL_ENA | INPUT_EN) > > +/* Off mode states */ > +#define PIN_OFF_NONE 0 > +#define PIN_OFF_OUTPUT_HIGH (OFF_EN | OFFOUT_EN | OFFOUT_VAL) > +#define PIN_OFF_OUTPUT_LOW (OFF_EN | OFFOUT_EN) > +#define PIN_OFF_INPUT_PULLUP (OFF_EN | OFF_PULL_EN | OFF_PULL_UP) > +#define PIN_OFF_INPUT_PULLDOWN (OFF_EN | OFF_PULL_EN) > +#define PIN_OFF_WAKEUPENABLE WAKEUP_EN > + > #endif NAK for OFF_NONE, OFF_xyz etc. A) There is no OFF mode on DRA7. in sleep state use mode 15 (gated). B) when using this for wakeup - use pinctrl wakeup handling to do the wakeup. Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists