mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-16 04:07:00 +02:00
Now that the TCPM framework exists we can introduce fusb302 driver using it. This chip is a very common USB-C controller chip with PD support, which can be found in the Radxa Rock 5B among many other boards. Apart from Power Delivery, it also handles detection of the cable orientation. That can be used to control a mux for connecting the right USB3 lane pair to the USB3 controller. The driver is originally from the Linux kernel, but has been adapted to the requirements of U-Boot and its TCPM framework. Co-developed-by: Wang Jie <dave.wang@rock-chips.com> Signed-off-by: Wang Jie <dave.wang@rock-chips.com> Tested-by: Soeren Moch <smoch@web.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
17 lines
511 B
Plaintext
17 lines
511 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config TYPEC_TCPM
|
|
tristate "USB Type-C Port Controller Manager"
|
|
depends on DM
|
|
help
|
|
The Type-C Port Controller Manager provides a USB PD and USB Type-C
|
|
state machine for use with Type-C Port Controllers.
|
|
|
|
config TYPEC_FUSB302
|
|
tristate "Fairchild FUSB302 Type-C chip driver"
|
|
depends on DM && DM_I2C && TYPEC_TCPM
|
|
help
|
|
The Fairchild FUSB302 Type-C chip driver that works with
|
|
Type-C Port Controller Manager to provide USB PD and USB
|
|
Type-C functionalities.
|