diff options
author | Hartley Sweeten | 2009-10-08 01:45:00 +0200 |
---|---|---|
committer | Russell King | 2009-10-10 13:45:13 +0200 |
commit | 6531a991f95f2f34fc00cf0a030b1cdd5e19dc02 (patch) | |
tree | 729b67962bfb16811e96e9f483e463dd6dadbd5f /scripts | |
parent | ARM: 5753/1: ep93xx: remove old EP93XX_GPIO_* defines (diff) | |
download | kernel-qcow2-linux-6531a991f95f2f34fc00cf0a030b1cdd5e19dc02.tar.gz kernel-qcow2-linux-6531a991f95f2f34fc00cf0a030b1cdd5e19dc02.tar.xz kernel-qcow2-linux-6531a991f95f2f34fc00cf0a030b1cdd5e19dc02.zip |
ARM: 5754/1: ep93xx: update i2c support
Update the ep93xx i2c support:
1) The platform init code passes the configuration data for the
i2c-gpio driver. This allows any gpio pin do be used for the
sda and scl pins. It also allows the platform to specify the
udelay and timeout.
2) Program the gpio configuration register to enable/disable the
open drain drivers. Note that this really only works if the
sda and scl pins are set to EP93XX_GPIO_LINE_EEDAT and
EP93XX_GPIO_LINE_EECLK.
3) Update the edb93xx.c platform init to use the new support.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions