[PATCH] i2c: ocores: Fix pointer to integer cast warning

2013-02-18 Thread Jayachandran C
After commit a000b8c1 [i2c: ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg function], compiling i2c-ocores.c for 64-bit gives the following warning: drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe': drivers/i2c/busses/

Re: [PATCH] i2c: sh_mobile: Don't start transfers when suspending

2013-02-18 Thread Bastian Hecht
2013/2/15 Magnus Damm : > On Fri, Feb 15, 2013 at 2:17 AM, Bastian Hecht wrote: >> Currently we provoke i2c timeouts by allowing transfers when >> suspending. This patch adds awareness to suspending and fixes these >> issues. >> The patch follows the style used in i2c-tegra.c - thanks. >> >> Signe

Re: i2c: Multiplexed I2C bus core support

2013-02-18 Thread Michael Lawnick
Am 18.02.2013 11:38, schrieb Gerlando Falauto: > Hi Michael, > > first of all thanks for your answer :-) > > On 02/18/2013 11:19 AM, Michael Lawnick wrote: > >> On my project I do no automatic i2c detection, but all is controlled via >> user space. So I always know where and which devices and bu

Re: [PATCH v3] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 01:51:45PM +0100, Christian Ruppert wrote: > This patch makes the SDA hold time configurable through device tree. > It was tested on a hybrid of i2c/next and arc-3.8-baseline (see > https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) > si

[PATCH v3] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Christian Ruppert
This patch makes the SDA hold time configurable through device tree. It was tested on a hybrid of i2c/next and arc-3.8-baseline (see https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) since our platform is ARC based and this architecture is not yet supported by

Re: [PATCH v2] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 11:14:27AM +0100, Christian Ruppert wrote: > This patch makes the SDA hold time configurable through device tree. > It was tested on a hybrid of i2c/next and arc-3.8-baseline (see > https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) > si

Re: i2c: Multiplexed I2C bus core support

2013-02-18 Thread Gerlando Falauto
Hi Michael, first of all thanks for your answer :-) On 02/18/2013 11:19 AM, Michael Lawnick wrote: On my project I do no automatic i2c detection, but all is controlled via user space. So I always know where and which devices and buses get connected. You mean you add devices through sysfs? Th

Re: i2c: Multiplexed I2C bus core support

2013-02-18 Thread Michael Lawnick
Am 13.02.2013 16:36, schrieb Gerlando Falauto: > Hi everyone, > > On 07/09/2010 11:07 AM, Michael Lawnick wrote: >> Add multiplexed bus core support. I2C multiplexer and switches >> like pca954x get instantiated as new adapters per port. >> >> Signed-off-by: Michael Lawnick >> Cc: Jean Delvare >

[PATCH v2] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Christian Ruppert
This patch makes the SDA hold time configurable through device tree. It was tested on a hybrid of i2c/next and arc-3.8-baseline (see https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) since our platform is ARC based and this architecture is not yet supported by