OSDN Git Service

extcon: usbc-tusb320: Add USB TYPE-C support
authorMarek Vasut <marex@denx.de>
Sat, 30 Jul 2022 18:05:00 +0000 (20:05 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 25 Sep 2022 19:40:13 +0000 (04:40 +0900)
commitbf7571c00dca0a9c5af3f5125ef5a89a40b13cd5
tree934a58cf6f497805da95775b36c514149e982f21
parent9483811a126a319ecac749f1b767ea5faecc7aed
extcon: usbc-tusb320: Add USB TYPE-C support

The TI TUSB320 seems like a better fit for USB TYPE-C subsystem,
which can expose details collected by the TUSB320 in a far more
precise way than extcon. Since there are existing users in the
kernel and in DT which depend on the extcon interface, keep it
for now.

Add TYPE-C interface and expose the supported supply current,
direction and connector polarity via the TYPE-C interface.

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/Kconfig
drivers/extcon/extcon-usbc-tusb320.c