[PATCHv2 0/3] ARM: I2C: Add device tree bindings to i2c-mux-gpio

2012-09-24 Thread Maxime Ripard
Hi everyone, This patchset adds the device tree entry to the CFA-10049 board of its i2c muxer. This muxer controls sub-buses that contains three Nuvoton NAU7802 ADCs and a NXP PCA955 GPIO expander. Support for these will be added eventually. Thanks, Maxime Changes from v1: - Fixed indentation

[PATCH 3/3] ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049

2012-09-24 Thread Maxime Ripard
This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555 GPIO expander eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 33 + 1 file changed, 33 insertions(+) diff --git

[PATCH 1/3] i2c: i2c-mux-gpio: Use devm_kzalloc instead of kzalloc

2012-09-24 Thread Maxime Ripard
Use the devm_kzalloc managed function to stripdown the error and remove code. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Jean Delvare kh...@linux-fr.org Acked-by: Peter Korsgaard jac...@sunsite.dk --- drivers/i2c/muxes/i2c-mux-gpio.c | 14 +- 1 file

[PATCH 2/3] i2c: mux: Add dt support to i2c-mux-gpio driver

2012-09-24 Thread Maxime Ripard
Allow the i2c-mux-gpio to be used by a device tree enabled device. The bindings are inspired by the one found in the i2c-mux-pinctrl driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-mux-gpio.txt | 81 ++

Re: [PATCH 3/3] ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049

2012-09-24 Thread Sergei Shtylyov
Hello. On 24-09-2012 13:53, Maxime Ripard wrote: This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555 GPIO expander eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 33 +

Re: [PATCH] ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints

2012-09-24 Thread Tony Lindgren
* Jean Pihet jean.pi...@newoldbits.com [120920 09:09]: Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. Since the constraint is on the MPU subsystem, use the PM_QOS_CPU_DMA_LATENCY class of PM QoS. The resulting MPU constraints are used by cpuidle

Re: [PATCH] ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints

2012-09-24 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. Since the constraint is on the MPU subsystem, use the PM_QOS_CPU_DMA_LATENCY class of PM QoS. The resulting MPU constraints are used by cpuidle to