OSDN Git Service

i2c: iproc: Add i2c repeated start capability
authorLori Hikichi <lori.hikichi@broadcom.com>
Mon, 30 Sep 2019 06:44:29 +0000 (12:14 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 17 Nov 2019 10:08:26 +0000 (11:08 +0100)
commit5a5e277b8d408ef2b167282d62662be0437d381f
treec7efa8ad9af07bdf59ea91e43ee1fa560985eb61
parent9af433840b3f61ac30d569a85234ab8f210f813a
i2c: iproc: Add i2c repeated start capability

Enable handling of i2c repeated start. The current code
handles a multi msg i2c transfer as separate i2c bus
transactions. This change will now handle this case
using the i2c repeated start protocol. The number of msgs
in a transfer is limited to two, and must be a write
followed by a read.

Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Signed-off-by: Icarus Chau <icarus.chau@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Shivaraj Shetty <sshetty1@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm-iproc.c