[lkml]   [2018]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] Fix common issue in MAX* extcon drivers
Hi All

Most MAX* MUIC drivers unconditionally force UART path during probe.
This approach causes some issues, especially when board is booted with
non-UART cable connected to micro-USB port. For example, when USB cable is
connected, UART TX/RX lines are unconditionally short-circuited to USB
D+/D- lines. This is in turn recognized by a series of serial BREAK
signals and some random characters when USB host tries to perform
enumeration procedure.

To solve the above issue and keep UART console operational as early as
possible, set UART path only when USB ID reports UART capable cable.

This patchset fixes following MAX* extcon drivers: 8997, 14577, 77693
and 77843.

Tested on following Samsung boards: Trats (8997), Rinato (14577), Trats2
(77693) and TM2/TM2e (77843).

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Patch summary:

Marek Szyprowski (4):
extcon: max77843: Avoid forcing UART path on drive probe
extcon: max77693: Avoid forcing UART path on drive probe
extcon: max14577: Avoid forcing UART path on drive probe
extcon: max8997: Avoid forcing UART path on drive probe

drivers/extcon/extcon-max14577.c | 15 +++++++++++++--
drivers/extcon/extcon-max77693.c | 16 ++++++++++++++--
drivers/extcon/extcon-max77843.c | 18 +++++++++++++++---
drivers/extcon/extcon-max8997.c | 15 +++++++++++++--
4 files changed, 55 insertions(+), 9 deletions(-)


 \ /
  Last update: 2018-11-08 14:47    [W:0.077 / U:1.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site