[PATCH 1/4 v2] i2c/gpio: add DT support

2012-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: linux-i2c@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org --- v2: use devm update DT bindings to i2c-gpio and sda-open-drain... update against "of: introduce helper to manage boolean" Best Rega

Re: Xilinx iic i2c bus interface GPIO support for i2c-mux in Linux.

2012-02-08 Thread Jean Delvare
On Wed, 8 Feb 2012 14:02:06 -0600, Robin Holt wrote: > On Wed, Feb 08, 2012 at 08:54:29PM +0100, Jean Delvare wrote: > > Hi Robin, > > > > On Wed, 8 Feb 2012 13:46:15 -0600, Robin Holt wrote: > > > We are using a Xilinx FPGA which implements a series of i2c bus > > > interfaces. We are planning o

Re: Xilinx iic i2c bus interface GPIO support for i2c-mux in Linux.

2012-02-08 Thread Robin Holt
On Wed, Feb 08, 2012 at 08:54:29PM +0100, Jean Delvare wrote: > Hi Robin, > > On Wed, 8 Feb 2012 13:46:15 -0600, Robin Holt wrote: > > We are using a Xilinx FPGA which implements a series of i2c bus > > interfaces. We are planning on implementing a single-bit GPIO > > (XIIC_GPO_REG_OFFSET) which

Re: Xilinx iic i2c bus interface GPIO support for i2c-mux in Linux.

2012-02-08 Thread Jean Delvare
Hi Robin, On Wed, 8 Feb 2012 13:46:15 -0600, Robin Holt wrote: > We are using a Xilinx FPGA which implements a series of i2c bus > interfaces. We are planning on implementing a single-bit GPIO > (XIIC_GPO_REG_OFFSET) which is included in that logic block to act > as a MUX selector (also in the FP

Xilinx iic i2c bus interface GPIO support for i2c-mux in Linux.

2012-02-08 Thread Robin Holt
We are using a Xilinx FPGA which implements a series of i2c bus interfaces. We are planning on implementing a single-bit GPIO (XIIC_GPO_REG_OFFSET) which is included in that logic block to act as a MUX selector (also in the FPGA) between two separate i2c busses. This will require a GPIO driver in

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Coelho, Luciano
Hi Benoit, Ok, thanks. Good to know that the fixes are already queued. On 2/8/12, Cousson, Benoit wrote: > Hi Luca, > > On 2/8/2012 12:25 PM, Luciano Coelho wrote: >> On Wed, 2012-02-08 at 16:42 +0530, Shubhrajyoti Datta wrote: >>> On Wed, Feb 8, 2012 at 4:34 PM, Luciano Coelho wrote: On W

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Cousson, Benoit
Hi Luca, On 2/8/2012 12:25 PM, Luciano Coelho wrote: On Wed, 2012-02-08 at 16:42 +0530, Shubhrajyoti Datta wrote: On Wed, Feb 8, 2012 at 4:34 PM, Luciano Coelho wrote: On Wed, 2012-02-08 at 12:59 +0200, Felipe Balbi wrote: On Wed, Feb 08, 2012 at 12:56:52PM +0200, Luciano Coelho wrote: Sinc

[PATCH v6] I2C: add CSR SiRFprimaII on-chip I2C controllers driver

2012-02-08 Thread Barry Song
From: Zhiwu Song SiRFprimaII is the latest generation application processor from CSR’s multi-function SoC product family. The SoC support codes are in arch/arm/mach-prima2 from Linux mainline 3.0. There are two I2C controllers on primaII, features include: * Two I2C controller modules are on chip

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Luciano Coelho
On Wed, 2012-02-08 at 16:42 +0530, Shubhrajyoti Datta wrote: > On Wed, Feb 8, 2012 at 4:34 PM, Luciano Coelho wrote: > > On Wed, 2012-02-08 at 12:59 +0200, Felipe Balbi wrote: > >> On Wed, Feb 08, 2012 at 12:56:52PM +0200, Luciano Coelho wrote: > >> > Since commit 6145197be6cc0583fa1a2f4ec1079d36

[PATCH 3.3 v2] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Luciano Coelho
Since commit 6145197 (i2c: OMAP: Add DT support for i2c controller), building i2c_omap.c breaks if CONFIG_OF is not set: drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe': drivers/i2c/busses/i2c-omap.c:1021: error: 'omap_i2c_of_match' undeclared (first use in this function) drivers/i2c/

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Shubhrajyoti Datta
On Wed, Feb 8, 2012 at 4:34 PM, Luciano Coelho wrote: > On Wed, 2012-02-08 at 12:59 +0200, Felipe Balbi wrote: >> On Wed, Feb 08, 2012 at 12:56:52PM +0200, Luciano Coelho wrote: >> > Since commit 6145197be6cc0583fa1a2f4ec1079d366137061e, building >> >> we generally like to see the commit subject h

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Luciano Coelho
On Wed, 2012-02-08 at 12:59 +0200, Felipe Balbi wrote: > On Wed, Feb 08, 2012 at 12:56:52PM +0200, Luciano Coelho wrote: > > Since commit 6145197be6cc0583fa1a2f4ec1079d366137061e, building > > we generally like to see the commit subject here too. And adding the > abbreviated commit instead of the

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Luciano Coelho
On Wed, 2012-02-08 at 12:56 +0200, Luciano Coelho wrote: > Since commit 6145197be6cc0583fa1a2f4ec1079d366137061e, building > i2c_omap.c breaks if CONFIG_OF is not set: > > drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe': > drivers/i2c/busses/i2c-omap.c:1021: error: 'omap_i2c_of_match'

Re: [PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Felipe Balbi
On Wed, Feb 08, 2012 at 12:56:52PM +0200, Luciano Coelho wrote: > Since commit 6145197be6cc0583fa1a2f4ec1079d366137061e, building we generally like to see the commit subject here too. And adding the abbreviated commit instead of the full sha1, wouldn't hurt either ;-) > i2c_omap.c breaks if CONFI

[PATCH] I2C: OMAP: fix build breakage when CONFIG_OF is not set

2012-02-08 Thread Luciano Coelho
Since commit 6145197be6cc0583fa1a2f4ec1079d366137061e, building i2c_omap.c breaks if CONFIG_OF is not set: drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe': drivers/i2c/busses/i2c-omap.c:1021: error: 'omap_i2c_of_match' undeclared (first use in this function) drivers/i2c/busses/i2c-oma