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

2015-04-23 Thread Wolfram Sang
On Wed, Apr 22, 2015 at 12:49:02PM +0200, Pascal Huerst wrote: 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

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

2015-04-22 Thread Wolfram Sang
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. Signed-off-by: Pascal Huerst pascal.hue...@gmail.com

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

2015-04-22 Thread Wolfram Sang
You are right, the include is missing. I just reapplied the patch, compiled and interestingly enough, I don't get any compile errors. (?) 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

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] 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