Re: [PATCH RFC] I2C : OMAP : make omap_i2c_unidle/idle functions depend on CONFIG_PM_RUNTIME

2012-01-19 Thread Kevin Hilman
Shubhrajyoti writes: > On Thursday 12 January 2012 03:46 AM, Kevin Hilman wrote: >> Shubhrajyoti D writes: >> >>> The functions omap_i2c_unidle/idle are called from omap_i2c_runtime_resume >>> and omap_i2c_runtime_suspend which is compiled for CONFIG_PM_RUNTIME. >>> Make the omap_i2c_unidle/idle

[PATCH] i2c: Support for Netlogic XLR/XLS I2C controller.

2012-01-19 Thread Jayachandran C.
From: Ganesan Ramalingam Add support for the intergrated I2C controller on Netlogic XLR/XLS MIPS SoC. The changes are to add a new file i2c/buses/i2c-xlr.c, containing the i2c bus implementation, and to update i2c/buses/{Kconfig,Makefile} to add the CONFIG_I2C_XLR option. Signed-off-by: Ganesan

RE: [PATCH] i2c: Support for Netlogic XLR/XLS I2C controller.

2012-01-19 Thread Jayachandran C
Wolfram Sang [w.s...@pengutronix.de] wrote: >> +config I2C_XLR >> + tristate "XLR I2C support" >> + depends on CPU_XLR >> + help >> + This driver enables support for the on-chip I2C interface of >> + the Netlogic XLR/XLS MIPS processors. >> + >> + Say yes to this optio

Re: [PATCH 2/3] mfd: mc13xxx-core: Move spi specific code into separate module.

2012-01-19 Thread Grant Likely
On Thu, Jan 19, 2012 at 09:08:43AM +0100, Uwe Kleine-König wrote: > Hello, > > On Thu, Jan 19, 2012 at 12:01:33PM +1100, Marc Reilly wrote: > > All spi specific code is moved into a new module. The mc13xxx > > struct moves to the include file by necessity. > > > > A new config choice selects the

Re: mc13xxx: add I2C support

2012-01-19 Thread Mark Brown
On Thu, Jan 19, 2012 at 12:12:31PM +0100, Arnaud Patard wrote: > I've never looked at regmap deeply but can't it be done with regmap or is it > just a bad idea ? Glancing quickly at the existing code it should map on reasonably well, though a new format definition may be required for the 25 bit s

Re: [PATCH] i2c-davinci: dev->irq is used instead of IRQ_I2C by free_irq

2012-01-19 Thread Ben Dooks
On Thu, Jan 19, 2012 at 03:59:30PM +0900, Nobuhiro Iwamatsu wrote: > dev->irq is used in request_irq function, we should use > dev->irq in free_irq function too. > > Signed-off-by: Nobuhiro Iwamatsu Looks sane, will apply. > --- > drivers/i2c/busses/i2c-davinci.c |2 +- > 1 files changed,

Re: mc13xxx: add I2C support

2012-01-19 Thread Rtp
Marc Reilly writes: > Hi, Hi, > > This series (based on 3.2) adds I2C support for the mc13xxx family PMICs. > The patches are similar, but not identical to my previous patches for this > [1], the > main difference being the way the config items are done in patch 2. > > I don't have the hardwar

Re: [PATCH 2/3] mfd: mc13xxx-core: Move spi specific code into separate module.

2012-01-19 Thread Uwe Kleine-König
Hello, On Thu, Jan 19, 2012 at 12:01:33PM +1100, Marc Reilly wrote: > All spi specific code is moved into a new module. The mc13xxx > struct moves to the include file by necessity. > > A new config choice selects the bus type with SPI as the first item > (default selection) to remain compatible w