[PATCH v2] i2c: imx: whitespace and checkpatch cleanup

2015-01-22 Thread Philipp Zabel
This patch fixes up some whitespace issues and addresses a few checkpatch warnings. Signed-off-by: Philipp Zabel Acked-by: Fugang Duan --- Changes since v1: - Dropped the 80 char limit line breaks --- drivers/i2c/busses/i2c-imx.c | 23 +-- 1 file changed, 13 insertions

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

2015-01-22 Thread Philipp Zabel
Am Donnerstag, den 22.01.2015, 15:33 +0100 schrieb Wolfram Sang: > On Wed, Jan 14, 2015 at 03:14:07PM +0100, Wolfram Sang wrote: > > On Tue, Jan 06, 2015 at 03:48:19PM +0100, Philipp Zabel wrote: > > > If the i2c device tree nodes don't contain the dmas and dma-na

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

2015-01-14 Thread Philipp Zabel
Am Mittwoch, den 14.01.2015, 15:25 +0100 schrieb Wolfram Sang: > On Tue, Jan 06, 2015 at 03:48:21PM +0100, Philipp Zabel wrote: > > This patch fixes up some whitespace issues and addresses a few > > checkpatch warnings. > > Well, since you asked for it... I am not so st

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

2015-01-07 Thread Philipp Zabel
Hi Andy, Am Mittwoch, den 07.01.2015, 02:36 + schrieb fugang.d...@freescale.com: > From: Philipp Zabel > 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-R4949

[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
_channel if the dma-names property does not exist in the device tree in the first place. Signed-off-by: Philipp Zabel --- drivers/i2c/busses/i2c-imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 7f3a9fe..f0d9904 100644 --

[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 --- 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 f0d9904..b5c9ce4 100644 --- a

[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 --- drivers/i2c/busses/i2c-imx.c | 53 ++-- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Philipp Zabel
Hi Vladimir, [Added Andy Yan to Cc:, because imx-hdmi->dw-hdmi] Am Montag, den 01.12.2014, 17:39 +0200 schrieb Vladimir Zapolskiy: > On 01.12.2014 17:11, Philipp Zabel wrote: > > Am Montag, den 01.12.2014, 16:54 +0200 schrieb Vladimir Zapolskiy: > >> Hi Philipp and Shawn, &g

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-01 Thread Philipp Zabel
because iMX6 > > HDMI DDC bus may be represented by one of general purpose I2C busses > > found on SoC. > > > > Signed-off-by: Vladimir Zapolskiy > > Cc: Wolfram Sang > > Cc: Philipp Zabel > > Cc: Shawn Guo > > Cc: devicet...@vger

Re: [PATCH] i2c: imx: use of_alias_get_id to order i2c devices

2013-04-16 Thread Philipp Zabel
Am Dienstag, den 16.04.2013, 11:17 +0200 schrieb Wolfram Sang: > On Tue, Apr 09, 2013 at 07:09:39PM +0200, Philipp Zabel wrote: > > This allows to order i2c character devices as they are numbered > > in the reference manual, instead of ordering them by register > > base add

[PATCH] i2c: imx: use of_alias_get_id to order i2c devices

2013-04-09 Thread Philipp Zabel
This allows to order i2c character devices as they are numbered in the reference manual, instead of ordering them by register base address. Signed-off-by: Philipp Zabel --- drivers/i2c/busses/i2c-imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c

[PATCH] i2c: Add clk_prepare/clk_unprepare calls to i2c-pxa

2012-03-15 Thread Philipp Zabel
This patch adds clk_prepare/clk_unprepare calls to the i2c-pxa driver by using the helper functions clk_prepare_enable and clk_disable_unprepare. Signed-off-by: Philipp Zabel Cc: Haojian Zhuang Cc: Eric Miao Cc: Jean Delvare Cc: Ben Dooks Cc: Wolfram Sang --- drivers/i2c/busses/i2c-pxa.c