u-boot-brain/drivers
Nick Thompson 0e57968a21 I2C: OMAP: detect more devices when probing an i2c bus
The omap24xx driver only seems to support devices that have a single subaddress
byte. With these types of devices, the first access in a bus transaction is
usually a write (writes the subaddress) followed by either a read or write to
access the devices registers.

Many such devices will respond to a read as the first access, but there are at
least some that will NACK such a read. (e.g. ADV7180.)

The probe function attempts to detect a devices ACK to a read access only and
fails to find devices that NACK a read.

This commit modifies the probe function to start a write instead. This detects
devices that respond to reads (since they must also respond to writes) as well
as those that only respond to writes. The bus is immediately set to idle after a
(N)ACK avoiding actually writing anything to the device.

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
2011-04-14 08:33:23 +02:00
..
bios_emulator Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
block MXC: removed warnings from IMX51 ATA driver 2011-02-02 00:54:43 +01:00
dma Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
fpga add Xilinx_abort_fn to Xilinx_Spartan3_Slave_Serial_fns 2010-11-30 21:59:21 +01:00
gpio mvmfp: add MFP configuration support for PANTHEON 2011-02-21 08:30:55 +01:00
hwmon Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
i2c I2C: OMAP: detect more devices when probing an i2c bus 2011-04-14 08:33:23 +02:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc powerpc/8xxx: Fix LAW init to respect pre-initialized entries 2011-04-04 09:24:41 -05:00
mmc Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2011-04-10 21:24:40 +02:00
mtd Merge branch 'sf' of git://git.denx.de/u-boot-blackfin 2011-04-13 22:04:11 +02:00
net Fix misc spelling errors found by lintian 2011-04-12 22:58:31 +02:00
pci fsl_pci: Add support for FSL PCIe controllers v2.x 2011-04-04 09:24:41 -05:00
pcmcia Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
power ftpmu010: support faraday ftpmu010 driver 2011-01-25 22:18:57 +01:00
qe powerpc/85xx: Add P1021 specific QE and UEC support 2011-04-05 10:18:39 -05:00
rtc eNET: Add RTC support to eNET 2011-02-12 15:11:43 +11:00
serial serial: add pantheon soc support 2011-02-21 08:30:55 +01:00
spi Blackfin: BF50x: new processor port 2011-04-08 00:44:26 -04:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2011-04-05 12:24:20 +02:00
video video/mx3fb: fix clock divider 2010-12-17 21:24:02 +01:00
watchdog ftwdt010_wdt: move header to include/faraday and enhance 2011-04-12 22:58:33 +02:00