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

2012-03-18 Thread Marc Reilly
All spi specific code is moved into a new module. The mc13xxx struct moves to a new local include file by necessity. A new config choice selects the SPI bus type support and by default is value of SPI_MASTER to remain compatible with existing configs. Signed-off-by: Marc Reilly --- drivers/mfd/

[PATCH v4 4/4] mfd: mc13xxx: Add i2c driver

2012-03-18 Thread Marc Reilly
Adds support for mc13xxx family ICs connected via i2c. Signed-off-by: Marc Reilly --- drivers/mfd/Kconfig |8 +++- drivers/mfd/Makefile |1 + drivers/mfd/mc13xxx-i2c.c | 128 + 3 files changed, 136 insertions(+), 1 deletions(-) cre

[PATCH v4 1/4] mfd: mc13xxx-core: Prepare for separate spi and i2c backends.

2012-03-18 Thread Marc Reilly
This patch abstracts the bus specific operations from the driver core. Generic init and cleanup is consolidated into mc13xxx_common_*. spi specific functions are renamed to reflect such. (The irq member of the mc13xxx struct is no longer redundant, it's used to store the irq for cleanup time). Sig

[PATCH v4 2/4] mfd: mc13xxx-core: use regmap for register access

2012-03-18 Thread Marc Reilly
This change converts the mc13xxx core to use regmap rather than direct spi r/w. The spidev member of mc13xxx struct becomes redundant and is removed. Extra debugging aids are added to mc13xxx_reg_rmw. Mutex init is moved to before regmap init. Signed-off-by: Marc Reilly --- drivers/mfd/mc13xxx-c

mc13xxx: add I2C support (now with regmap), V4

2012-03-18 Thread Marc Reilly
Hi, This series (against mfd-2.6/for-next) changes the mc13xxx driver to use regmap and adds I2C support. It has a compile dependency on regmap/for-next, as the spi driver uses the recently added pad_bits config field. Changes since V3: - spi driver uses padded register format (reads should actu

Re: [PATCH] spi: bitbang: convert to using core message queue

2012-03-18 Thread Linus Walleij
On Sat, Mar 17, 2012 at 12:39 AM, Guennadi Liakhovetski wrote: > The SPI subsystem core now manages message queues internally. Remove the > local message queue implementation from the spi-bitbang driver and > migrate to the common one. > > Signed-off-by: Guennadi Liakhovetski This is great stuf

Offrez vous les caraibes

2012-03-18 Thread Nouvelles Antilles par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT0xMyZiPTgwNTkmYz00ODM2MTImZD0yMDEyLTAzLTE4IDIxOjIwOjAxJmU9MSZoPTgwNTgmZj04MDU5Jmc9ODA1OQ== Lien de désinscription : http://m10-fr.com/mc10_unsub/YT0xMyZiPTgwNTkmYz00ODM2MTImZD0yMD