Re: [PATCH] input: adxl34x: Add OF match support

2015-01-06 Thread Geert Uytterhoeven
Hi Laurent, Wolfram, On Thu, Dec 18, 2014 at 8:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Thursday 18 December 2014 14:03:18 Geert Uytterhoeven wrote: On Thu, Dec 18, 2014 at 1:49 PM, Laurent Pinchart wrote: There are three compatible strings defined for the ADXL345

Re: [PATCH v3 0/2] ARM: mediatek: Add driver for Mediatek I2C controller

2015-01-06 Thread Wolfram Sang
We've started upstream work for MT8173[1]. We've fixed these issues for new SoC, and we believe it is fully I2C compatible now. We'll add mt8173 support to this driver, so this driver will support both fully I2C compatible SoC and the current one. From what you tell, I'd rather add the

[PATCH 2/3] i2c: imx: remove unused return value assignments

2015-01-06 Thread Philipp Zabel
The ret variable is set and never used in the error path of i2c_imx_dma_request. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/i2c/busses/i2c-imx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index

[PATCH 3/3] i2c: imx: whitespace and checkpatch cleanup

2015-01-06 Thread Philipp Zabel
This patch fixes up some whitespace issues and addresses a few checkpatch warnings. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/i2c/busses/i2c-imx.c | 53 ++-- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git

[PATCH 1/3] i2c: imx: silence dma_request_slave_channel errors if dma not set up in device tree

2015-01-06 Thread Philipp Zabel
If the i2c device tree nodes don't contain the dmas and dma-names property, an error is displayed for each i2c device: of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@0210/i2c@021a' missing or empty This patch avoids calling dma_request_slave_channel if the

[PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-06 Thread Kevin Tsai
CM3232 is an advanced ambient light sensor with I2C protocol interface. The I2C slave address is internally hardwired as 0x10 (7-bit). Writing to configure register is byte mode, but reading ALS register requests to use word mode for 16-bit resolution. v2: Removed unused CM3232_CMD_ALS_HS.

RE: [PATCH 3/3] i2c: imx: whitespace and checkpatch cleanup

2015-01-06 Thread fugang.d...@freescale.com
From: Philipp Zabel p.za...@pengutronix.de Sent: Tuesday, January 06, 2015 10:48 PM To: Wolfram Sang Cc: linux-i2c@vger.kernel.org; Duan Fugang-B38611; Yuan Yao-B46683; Estevam Fabio-R49496; ker...@pengutronix.de; Philipp Zabel Subject: [PATCH 3/3] i2c: imx: whitespace and checkpatch cleanup

RE: [PATCH 1/3] i2c: imx: silence dma_request_slave_channel errors if dma not set up in device tree

2015-01-06 Thread fugang.d...@freescale.com
From: Philipp Zabel p.za...@pengutronix.de Sent: Tuesday, January 06, 2015 10:48 PM To: Wolfram Sang Cc: linux-i2c@vger.kernel.org; Duan Fugang-B38611; Yuan Yao-B46683; Estevam Fabio-R49496; ker...@pengutronix.de; Philipp Zabel Subject: [PATCH 1/3] i2c: imx: silence dma_request_slave_channel

RE: [PATCH 2/3] i2c: imx: remove unused return value assignments

2015-01-06 Thread fugang.d...@freescale.com
From: Philipp Zabel p.za...@pengutronix.de Sent: Tuesday, January 06, 2015 10:48 PM To: Wolfram Sang Cc: linux-i2c@vger.kernel.org; Duan Fugang-B38611; Yuan Yao-B46683; Estevam Fabio-R49496; ker...@pengutronix.de; Philipp Zabel Subject: [PATCH 2/3] i2c: imx: remove unused return value