The STM SPEAr platform can only access the i2c controller register
via 16bit read/write functions. This patch adds support to
automatically detect this 16bit access mode.
Signed-off-by: Stefan Roese s...@denx.de
---
drivers/i2c/busses/i2c-designware-core.c | 22 --
drivers
Hi Bhupesh,
On Wednesday 14 March 2012 04:29:23 Bhupesh SHARMA wrote:
-Original Message-
From: Stefan Roese [mailto:s...@denx.de]
Sent: Tuesday, March 13, 2012 9:24 PM
To: linux-i2c@vger.kernel.org
Cc: spear-devel; ben-li...@fluff.org
Subject: [PATCH] i2c: designware: Add
Hi Ben,
On Wednesday 14 March 2012 10:05:40 Stefan Roese wrote:
On Wednesday 14 March 2012 09:19:22 Bhupesh SHARMA wrote:
+++ b/drivers/i2c/busses/i2c-designware-core.c
@@ -164,7 +164,14 @@ static char *abort_sources[] = {
u32 dw_readl(struct dw_i2c_dev *dev, int offset
On Wednesday 18 April 2012 13:24:26 Wolfram Sang wrote:
snip
@@ -254,7 +265,13 @@ int i2c_dw_init(struct dw_i2c_dev *dev)
/* Configure register endianess access */
reg = dw_readl(dev, DW_IC_COMP_TYPE);
if (reg == ___constant_swab32(DW_IC_COMP_TYPE_VALUE)) {
-
The STM SPEAr platform can only access the i2c controller register
via 16bit read/write functions. This patch adds support to
automatically detect this 16bit access mode.
Signed-off-by: Stefan Roese s...@denx.de
---
v3:
- Changed multiple if statements into one if/elseif/etc statement
to remove
On Wednesday 18 April 2012 16:00:11 Wolfram Sang wrote:
On Wed, Apr 18, 2012 at 03:01:41PM +0200, Stefan Roese wrote:
The STM SPEAr platform can only access the i2c controller register
via 16bit read/write functions. This patch adds support to
automatically detect this 16bit access mode