summaryrefslogtreecommitdiff
path: root/touch_bus_negotiator.c
AgeCommit message (Collapse)Author
2021-06-08touch: common: modify the return value when register_tbn failedandroid-s-v2-beta-3_r0.6android-12.1.0_r0.6android-12.1.0_r0.22android-12.1.0_r0.16android-12.0.0_r0.9android-12.0.0_r0.8android-12.0.0_r0.42android-12.0.0_r0.36android-12.0.0_r0.26android-12.0.0_r0.17android-12.0.0_r0.16android-gs-raviole-5.10-s-v2-beta-3android-gs-raviole-5.10-android12Landroid-gs-raviole-5.10-android12-qpr1-dandroid-gs-raviole-5.10-android12-d1davidycchen
Return 0 when the tbn_context doesn't exist because tbn is not an always on feature. Bug: 186717670 Bug: 190339589 Test: flash boot and vendor_boot. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I4a842b53b4efaa89116ecedbabd82bbf1a311e71
2021-05-31touch: common: modify the tbn driver as a platform driverdavidycchen
Modify the tbn driver as a platform driver so that it can support multiple devices. Bug: 186717670 Test: tbn works. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ic4eef2efd6976774d28c05ceeb1ce723ae6228d3
2021-02-19touch: common: Add touch bus negotiator moduleTai Kuo
Touch bus negotiator is used for bus switching handshaking. Driver need to ensure the bus ownership before any spi transfer. Bug: 170687957 Bug: 173331067 Test: gpio handshake pins work. Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: I8b2e3e87086e013d91c75cf3e306f231e0d99f3d