Re: [PATCH v3] i2c: omap: Add calls for pinctrl state select

2015-05-06 Thread Pascal Huerst
Sekhar Nori, any objections on that version? On 28.04.2015 13:19, pascal.hue...@gmail.com wrote: From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. If no sleep state

Re: [PATCH v2] omap: i2c: Add calls for pinctrl state select

2015-04-28 Thread Pascal Huerst
, pascal.hue...@gmail.com wrote: From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. Signed-off-by: Pascal Huerst pascal.hue...@gmail.com --- drivers/i2c/busses/i2c-omap.c | 5

[PATCH v3] i2c: omap: Add calls for pinctrl state select

2015-04-28 Thread pascal . huerst
From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. If no sleep state is provided in the DT, these calls turn to NOPs, so we don't need error checking here. Signed-off-by: Pascal

Re: [PATCH] omap: i2c: Add calls for pinctrl state select

2015-04-22 Thread Pascal Huerst
On 22.04.2015 12:28, Wolfram Sang wrote: I assume you have a different kernel config where something is enabled which includes the pinctrl-stuff in another include which is included by these drivers. Although, my .config was arm-allyesconfig. Can you send yours? Sure. See below. cat

Re: [PATCH] omap: i2c: Add calls for pinctrl state select

2015-04-22 Thread Pascal Huerst
Hey Wolfram, On 22.04.2015 10:12, Wolfram Sang wrote: On Fri, Apr 17, 2015 at 05:07:57PM +0200, pascal.hue...@gmail.com wrote: From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT

[PATCH v2] omap: i2c: Add calls for pinctrl state select

2015-04-22 Thread pascal . huerst
From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. Signed-off-by: Pascal Huerst pascal.hue...@gmail.com --- drivers/i2c/busses/i2c-omap.c | 5 + 1 file changed, 5 insertions

[PATCH] omap: i2c: Add calls for pinctrl state select

2015-04-17 Thread pascal . huerst
From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. Signed-off-by: Pascal Huerst pascal.hue...@gmail.com --- drivers/i2c/busses/i2c-omap.c | 4 1 file changed, 4 insertions

[PATCH] omap: i2c: Add calls for pinctrl state select

2015-04-16 Thread pascal . huerst
From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. --- drivers/i2c/busses/i2c-omap.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers

Re: gpio-omap: wakeup mask

2014-07-15 Thread Pascal Huerst
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09.07.2014 17:24, Tony Lindgren wrote: * Pascal Huerst pascal.hue...@gmail.com [140709 05:47]: On 09.07.2014 12:41, Tony Lindgren wrote: If you just comment out the _gpio_rmw part above do things work as expected? Yes. It only wakes up

Re: gpio-omap: wakeup mask

2014-07-09 Thread Pascal Huerst
Hey Tony, all On 04.07.2014 09:27, Tony Lindgren wrote: * Pascal Huerst pascal.hue...@gmail.com [140702 05:12]: Hi everyone, we have a device with an am335x and are using some gpios on bank0 to wake up the device from suspend to ram. We have some user buttons which are configured

Re: gpio-omap: wakeup mask

2014-07-09 Thread Pascal Huerst
On 09.07.2014 12:41, Tony Lindgren wrote: * Pascal Huerst pascal.hue...@gmail.com [140709 03:18]: Hey Tony, all On 04.07.2014 09:27, Tony Lindgren wrote: * Pascal Huerst pascal.hue...@gmail.com [140702 05:12]: Hi everyone, we have a device with an am335x and are using some gpios on bank0

gpio-omap: wakeup mask

2014-07-02 Thread Pascal Huerst
Hi everyone, we have a device with an am335x and are using some gpios on bank0 to wake up the device from suspend to ram. We have some user buttons which are configured in the devicetree as gpio-keys and one power-key which should wake up the device: buttons { power {