commit | a80f24945fcfdff31bdf04837145e56570741a67 | [log] [tgz] |
---|---|---|
author | Qii Wang <qii.wang@mediatek.com> | Sat Apr 17 14:46:52 2021 +0800 |
committer | Wolfram Sang <wsa@kernel.org> | Sat Apr 17 22:07:25 2021 +0200 |
tree | fde7672ae8da9ba123a8023618d89c7b7614798b | |
parent | 3186b880447ad3cc9b6487fa626a71d64b831524 [diff] |
i2c: mediatek: Use scl_int_delay_ns to compensate clock-stretching The parameters of tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device clock-stretch or circuit loss, we could get a suitable scl_int_delay_ns from i2c_timings to compensate these parameters to meet the spec via EXT_CONF register. Signed-off-by: Qii Wang <qii.wang@mediatek.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>