]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite771f28a31da47e219876deb9bd9a3e13074eae4
tree934a58cf6f497805da95775b36c514149e982f21
parentb9433db3ea9265320973ab3ca8418bc55ee42e31
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