usb: typec: Support the WUSB3801 port controller
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Feb 2022 05:01:17 +0000 (23:01 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Feb 2022 15:23:18 +0000 (16:23 +0100)
commitd016cbe4d7acf5100df83ecf4d02db4e9f607c1d
tree0d668bc8eb79daad6c2a4f8dbc788aeb5c1890f0
parent2e7dfb0e9cacad0f1adbc4b97f0b96ba35027f24
usb: typec: Support the WUSB3801 port controller

WUSB3801 features a configurable port type, accessory detection, and
plug orientation detection. It provides a hardware "ID" pin output for
compatibility with USB 2.0 OTG PHYs. Add a typec class driver for it.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220214050118.61015-5-samuel@sholland.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/Kconfig
drivers/usb/typec/Makefile
drivers/usb/typec/wusb3801.c [new file with mode: 0644]