16 Jan, 2014
1 commit
-
Use devm_*() functions to make cleanup paths simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().Signed-off-by: Jingoo Han
Signed-off-by: Wolfram Sang
12 Sep, 2012
1 commit
-
On transactions with n>=2 bytes, the controller actually wrongly clocks in n+1
bytes. This is caused by the (wrong) assumption that RFE in the Status Register
is 1 iff there is no byte already ordered (via a dummy TX byte). This lead to
the implementation of synchronized byte ordering, e.g.:Dummy-TX - RX - Dummy-TX - RX - ...
But since RFE actually stays high after some Dummy-TX, it rather looks like:
Dummy-TX - Dummy-TX - RX - Dummy-TX - RX - (RX)
The last RX byte is clocked in by the bus controller, but ignored by the kernel
when filling the userspace buffer.This patch fixes the issue by asking for RX via Dummy-TX asynchronously.
Introducing a separate counter for TX bytes.Signed-off-by: Roland Stigge
Signed-off-by: Wolfram Sang
22 Apr, 2012
2 commits
-
This patch adds device tree support to the pnx-i2c driver by using platform
resources for memory region and irq and removing dependency on mach includes.The following platforms are affected:
* PNX
* LPC31xx (WIP)
* LPC32xxThe patch is based on a patch by Jon Smirl, working on lpc31xx integration
Signed-off-by: Roland Stigge
Signed-off-by: Wolfram Sang -
As a precondition for device tree conversion, the platforms using i2c-pnx.c are
converted to using mem and irq resources instead of platform data.Signed-off-by: Roland Stigge
Reviewed-by: Arnd Bergmann
Signed-off-by: Wolfram Sang
13 Feb, 2010
6 commits
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
This avoids unnecessary casting.
Signed-off-by: Russell King
-
Acked-by: Vitaly Wool
Signed-off-by: Russell King -
Acked-by: Vitaly Wool
Signed-off-by: Russell King -
Acked-by: Vitaly Wool
Signed-off-by: Russell King
20 Nov, 2009
1 commit
-
Made buf type unsigned to prevent sign extension
Signed-off-by: Kevin Wells
Signed-off-by: Ben Dooks
08 Aug, 2008
1 commit
-
include/linux/i2c-pnx.h was missed when moving the include files.
Fix it now; it doesn't really need to include mach/i2c.h at all.
Successfully build tested with pnx4008_defconfig, which had
failed in linux-next.Signed-off-by: Russell King
11 Dec, 2006
1 commit
-
New I2C bus driver for Philips ARM boards (Philips IP3204 I2C IP
block). This I2C controller can be found on (at least) PNX010x,
PNX52xx and PNX4008 Philips boards.Signed-off-by: Vitaly Wool
Signed-off-by: Jean Delvare