u-boot-brain/drivers
Tom Rini 168a5acb81 Revert "I2C: OMAP: detect more devices when probing an i2c bus"
This reverts commit 0e57968a21.

The short version of the original commit is that some i2c devices cannot
be probed via read as they NAK the first cycle, so try and probe via a
write that we abort before it writes to the device.  This however is not
allowed by the TRM for any of these parts.  The section on I2C_CON
(table 17-35 I2C_CON for am/dm37x for example) says you must not change
the register while STT has been set.  On these parts, the unpredictable
behavior that the chip exhibits is not problematic.  On OMAP4 however it
results in the chip being in a bad state:
Panda # i2c probe
Valid chip addresses: 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12
13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A
2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42
43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A
5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72
73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F
Panda # i2c md 50 0
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Error reading the chip.

We must revert the original behavior to bring probe back into line with
the TRM.

Cc: Nick Thompson <nick.thompson@ge.com>
Cc: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Heiko Schocher <hs@denx.de>
2012-07-07 14:07:22 +02:00
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block Block: Remove MG DISK support 2012-06-21 20:53:09 +02:00
dma DMA: Split the APBH DMA init into block and channel init 2012-04-16 14:53:59 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio gpio: tegra2: rename tegra2_gpio.* to tegra_gpio.* 2012-07-07 14:07:20 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c Revert "I2C: OMAP: detect more devices when probing an i2c bus" 2012-07-07 14:07:22 +02:00
input tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
misc pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
mmc mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.* 2012-07-07 14:07:20 +02:00
mtd sf: winbond: Add support for the Winbond W25Q80BL 2012-07-07 14:07:20 +02:00
net net: sh-eth: Add support Gigabit of SH7734 2012-05-23 17:53:09 -05:00
pci pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe drivers/qe/uec.c: Fix compile warning 2012-05-22 13:41:48 -05:00
rtc arm, davinci: move davinci_rtc struct to hardware.h 2011-12-06 23:59:37 +01:00
serial sh: Add SH7269 device and RSK2+SH7269 board 2012-05-28 09:12:54 +09:00
spi spi: tegra2: rename tegra2_spi.* to tegra_spi.* 2012-07-07 14:07:20 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
video video: atmel/lcd: add LCD driver for new Atmel SoC 2012-06-05 11:19:02 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00