Re: [PATCH] i2c: nomadik: adopt pinctrl support

2013-01-23 Thread Wolfram Sang
Hi, @@ -857,15 +885,44 @@ static int nmk_i2c_suspend(struct device *dev) { struct amba_device *adev = to_amba_device(dev); struct nmk_i2c_dev *nmk_i2c = amba_get_drvdata(adev); + int ret; if (nmk_i2c-busy) return -EBUSY; + if

[PATCH] i2c: nomadik: adopt pinctrl support

2013-01-06 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@stericsson.com Amend the I2C nomadik pin controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume and before performing an i2c transfer - idle after initial default, after resume default, and after each

[PATCH] i2c: nomadik: adopt pinctrl support

2012-09-25 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@stericsson.com Amend the I2C nomadik pin controller to optionally take a pin control handle and set the state of the pins to default on boot and before performing an i2c transfer, and to sleep after an i2c xfer. Signed-off-by: Patrice Chotard