diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-08-08 10:59:28 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-08-20 15:49:41 +0300 |
commit | 19358d4488db7e6a04e940730cc75909d7d1e0d8 (patch) | |
tree | 34e8ef30c493874ed7705a463f99e79dc9ec627d /drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | |
parent | b07531acd55180efc95e334605f04ca1eaf4e003 (diff) | |
download | linux-19358d4488db7e6a04e940730cc75909d7d1e0d8.tar.xz |
i2c: rcar: implement STOP and REP_START according to docs
When doing a REP_START after a read message, the driver used to trigger
a STOP first which would then be overwritten by REP_START. This was the
only stable method found when doing the last refactoring. However, this
was not in accordance with the documentation.
After research from our BSP team and myself, we now can implement a
version which works and is according to the documentation. The new
approach ensures the ICMCR register is only changed when really needed.
Tested on a R-Car Gen2 (H2) and Gen3 with DMA (M3N).
Signed-off-by: Hiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/pinctrl/qcom/pinctrl-spmi-gpio.c')
0 files changed, 0 insertions, 0 deletions