u-boot/drivers
Ye Li d144f61ad3 lpi2c: Fix bus stop problem in xfer
In xfer function, both bus_i2c_read and bus_i2c_write will
send a STOP command.  This causes a problem when reading register
data from i2c device.

Generally two operations comprise the register data reading:
   1. Write the register address to i2c device.
      START | chip_addr | W | ACK | register_addr | ACK |

   2. Read the Data from i2c device.
      START | chip_addr | R | ACK | DATA          | NACK | STOP

The STOP command should happen at the end of the transfer, otherwise
we will always get data from register address 0

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2018-07-12 11:09:23 +02:00
..
adc adc: meson-saradc: fix regmap_init_mem call 2018-06-19 07:31:46 -04:00
ata ata: ahci_mvebu: add scsi support 2018-05-29 08:33:05 +02:00
bios_emulator SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
block block: Add SPL_BLOCK_CACHE and default n 2018-06-18 14:43:13 -04:00
bootcount SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk clk: Add Actions Semi OWL clock support 2018-07-09 15:25:31 -04:00
core dm: core: Add logging of some common errors 2018-07-09 09:11:00 -06:00
cpu cpu: bmips: fix probe to get the address 2018-07-11 14:23:55 +02:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fastboot usb: fastboot: Convert USB f_fastboot to shared fastboot 2018-05-30 11:59:21 +02:00
firmware SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fpga fpga: zynqmp: Add secure bitstream loading for ZynqMP 2018-06-01 11:37:31 +02:00
gpio gpio: omap_gpio: Convert to auto-alloc feature when DT is supported 2018-07-10 16:55:58 -04:00
i2c lpi2c: Fix bus stop problem in xfer 2018-07-12 11:09:23 +02:00
input SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
led led: bcm6328: read base address in the parent node 2018-07-11 14:23:55 +02:00
mailbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc dm: core: Update of_read_fmap_entry() for livetree 2018-07-09 09:11:00 -06:00
mmc board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00
mtd dm: spi: Update sandbox SPI emulation driver to use ofnode 2018-07-09 09:11:00 -06:00
net net: designware: Add reset ctrl to driver 2018-07-09 15:28:28 -04:00
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci dm: pci: Use a 1:1 mapping for bus <-> phy addresses 2018-06-13 09:50:57 +08:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00
pinctrl pinctrl: renesas: Fix register usage in sh_pfc_{read,write} 2018-06-19 06:15:55 +02:00
power power: pmic: Let PFUZE3000 see all 256 registers 2018-06-27 09:47:46 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram ram: bmips: convert to use live dt 2018-06-01 15:56:02 +02:00
remoteproc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset reset: uniphier: sync reset data with Linux 4.18-rc1 2018-06-23 01:28:08 +09:00
rtc drivers/rtc: convert mvrtc to DM 2018-06-05 20:19:09 -04:00
scsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial serial: ns16550: Add reset ctrl to driver 2018-07-09 15:28:28 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer x86: timer: tsc: Allow specifying clock rate from device tree again 2018-07-02 09:23:28 +08:00
tpm tpm: add a Sandbox TPMv2.x driver 2018-05-25 20:13:00 -04:00
usb sunxi: A64: OHCI: prevent turning off shared USB clock 2018-07-05 11:25:50 +02:00
video video: arm: rpi: Add brcm,bcm2708-fb compatible 2018-07-02 15:23:50 +02:00
watchdog Merge branch 'master' of git://git.denx.de/u-boot-mips 2018-06-01 16:46:39 -04:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00
Makefile reset: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET 2018-07-09 15:25:43 -04:00