Re: [PATCH 1/1] i2c: mv64xxx: Remove redundant of_match_ptr

2013-10-01 Thread Wolfram Sang
On Mon, Sep 30, 2013 at 05:32:06PM +0530, Sachin Kamat wrote: > The data structure of_match_ptr() protects is always compiled in. > Hence of_match_ptr() is not needed. > > Signed-off-by: Sachin Kamat Applied to for-next, thanks! I hope you checked if you missed other occurences, too. My pointing

Re: [PATCH 2/2] i2c: davinci: Remove redundant of_match_ptr

2013-10-01 Thread Wolfram Sang
On Mon, Sep 30, 2013 at 09:04:26AM +0530, Sachin Kamat wrote: > The data structure of_match_ptr() protects is always compiled in. > Hence of_match_ptr() is not needed. > > Signed-off-by: Sachin Kamat Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr

2013-10-01 Thread Wolfram Sang
On Mon, Sep 30, 2013 at 09:04:25AM +0530, Sachin Kamat wrote: > The data structure of_match_ptr() protects is always compiled in. > Hence of_match_ptr() is not needed. > > Signed-off-by: Sachin Kamat Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-01 Thread Stephen Warren
On 10/01/2013 04:39 AM, Maxime COQUELIN wrote: > This patch adds support to SSC (Synchronous Serial Controller) > I2C driver. This IP also supports SPI protocol, but this is not > the aim of this driver. > > This IP is embedded in all ST SoCs for Set-top box platorms, and > supports I2C Standard a

Re: [PATCH v4] i2c: enable runtime PM for I2C adapter devices enumerated from ACPI

2013-10-01 Thread Rafael J. Wysocki
On Tuesday, October 01, 2013 04:09:42 PM Mika Westerberg wrote: > The ACPI specification requires the parent device to be powered on before > any of its children. It can be only powered off when all the children are > already off. > > Currently whenever there is no I2C traffic going on, the I2C co

Re: [PATCH] i2c: s3c2410 : Add polling mode support

2013-10-01 Thread Mark Brown
On Tue, Oct 01, 2013 at 04:03:40PM +0530, Yuvaraj Kumar C D wrote: > +static bool is_ack(struct s3c24xx_i2c *i2c) > +{ > + u32 time_out = i2c->tx_setup; > + > + while (--time_out) { > + if (readl(i2c->regs + S3C2410_IICCON) > + & S3C2410_IICCON_IRQPEND) { >

[PATCH v4] i2c: enable runtime PM for I2C adapter devices enumerated from ACPI

2013-10-01 Thread Mika Westerberg
The ACPI specification requires the parent device to be powered on before any of its children. It can be only powered off when all the children are already off. Currently whenever there is no I2C traffic going on, the I2C controller driver can put the device into low power state transparently to i

[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. The series has been tested working on STiH416-B2020 board. It applies on top of v3.12-rc3. Changes since v2: - Create generic DT property for Anti-glitch

[PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-01 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Signed-off-by: Maxime Coquelin Cc: Sriniva

[PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |9 + arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++ 2 files changed

[PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + arch/arm/boot/dts/stih416.dtsi | 53 2 files changed, 88 insertions(+)

[PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ arch/arm/boot/dts/stih415.dtsi | 53 2 files changed, 89 insertions(+

[PATCH] i2c: s3c2410 : Add polling mode support

2013-10-01 Thread Yuvaraj Kumar C D
From: Vasanth Ananthan This patch adds polling mode support for i2c-s3c2410 driver.The SATA PHY controller's CMU and TRSV block's are of I2C register map in exynos5250.These blocks can be configured using i2c. But i2c controller instance on which these block's sits lacks an interrupt line.Also t

[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. The series has been tested working on STiH416-B2020 board. It applies on top of v3.12-rc3. Changes since v2: - Create generic DT property for Anti-glitch

Re: [PATCH v3] i2c: enable runtime PM for I2C adapter devices enumerated from ACPI

2013-10-01 Thread Mika Westerberg
On Mon, Sep 30, 2013 at 05:43:48PM +0300, Mika Westerberg wrote: > +static void acpi_i2c_device_pm_get(struct i2c_client *client) > +{ > + struct i2c_adapter *adap = client->adapter; > + > + /* Make sure the adapter is active */ > + if (ACPI_HANDLE(adap->dev.parent)) > + pm_