1
0
Fork 0
mirror of https://github.com/u-boot/u-boot.git synced 2025-04-20 20:04:46 +00:00
u-boot/drivers/usb/tcpm
Sebastian Reichel 43fdd31cfa usb: tcpm: fusb302: add driver
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>
2024-10-17 03:12:47 +02:00
..
fusb302.c usb: tcpm: fusb302: add driver 2024-10-17 03:12:47 +02:00
fusb302_reg.h usb: tcpm: fusb302: add driver 2024-10-17 03:12:47 +02:00
Kconfig usb: tcpm: fusb302: add driver 2024-10-17 03:12:47 +02:00
Makefile usb: tcpm: fusb302: add driver 2024-10-17 03:12:47 +02:00
tcpm-internal.h
tcpm-uclass.c
tcpm.c