Re: [RFC] binding for nvec mfd device

2013-09-18 Thread Wolfram Sang
> It looks like that the i2c subsystem needs some modifications to allow to > specify a master device which is attached to a slave controller. Maybe > someone > from the i2c folks (cc'ed) can comment on this? The linux i2c core does not really support controllers being a slave. There are proba

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

2013-09-18 Thread Srinivas KANDAGATLA
On 18/09/13 13:46, Maxime COQUELIN wrote: > On 09/18/2013 02:03 PM, Lee Jones wrote: >>> >> This patch supplies I2C configuration to STiH416 SoC. >>> >> >>> >> Cc: Srinivas Kandagatla >>> >> Signed-off-by: Maxime Coquelin >>> >> --- >>> >> arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 ++

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

2013-09-18 Thread Gabriel FERNANDEZ
On 18/09/2013 12:01, 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 and F

[PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-18 Thread Thierry Reding
Some functions and variables are only used if the configuration selects HAVE_CLK. Protect them with a corresponding #ifdef CONFIG_HAVE_CLK block to avoid compiler warnings. Signed-off-by: Thierry Reding --- drivers/i2c/busses/i2c-mv64xxx.c | 12 +++- 1 file changed, 7 insertions(+), 5 de

[PATCH] i2c: mv64xxx: Do not use writel_relaxed()

2013-09-18 Thread Thierry Reding
The driver is used on PowerPC which don't provide writel_relaxed(). This breaks the c2k and prpmc2800 default configurations. To fix the build, turn the calls to writel_relaxed() into writel(). The impacts for ARM should be minimal. Signed-off-by: Thierry Reding --- drivers/i2c/busses/i2c-mv64xx

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

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:03 PM, Lee Jones wrote: >> 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 | 57 >> +++

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

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:00 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> 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/

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

2013-09-18 Thread Maxime COQUELIN
Hi Lee, On 09/18/2013 01:40 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> 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/st

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

2013-09-18 Thread Lee Jones
> 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 | 57 > > 2 files changed

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

2013-09-18 Thread Lee Jones
On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > 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 | 57 > ++

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

2013-09-18 Thread Lee Jones
On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > 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 |7 +++ > arch/arm/boot/dts/stih41

Re: [PATCH 7/9] of/platform: Resolve interrupt references at probe time

2013-09-18 Thread Thierry Reding
On Tue, Sep 17, 2013 at 01:04:06PM +, Strashko, Grygorii wrote: > Hi Thierry, > > On 09/16/2013 11:32 AM, Thierry Reding wrote:> Interrupt references are > currently resolved very early (when a device is > > created). This has the disadvantage that it will fail in cases where the > > interrup

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

2013-09-18 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 | 57 2 files changed, 93 insertions(+)

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

2013-09-18 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. Cc: Srinivas Kandagatla Signed-off-by: Max

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

2013-09-18 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. Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration to STiH416 SoC ARM:

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

2013-09-18 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 |7 +++ arch/arm/boot/dts/stih41x-b2020.dtsi | 20 2 files changed, 27

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

2013-09-18 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 | 57 2 files changed, 92 insertions(+)