[PATCH v2 0/4] USB-PD TCPM improvements

Soeren Moch smoch at web.de
Fri Mar 7 10:29:47 CET 2025



On 06.03.25 20:00, Anand Moon wrote:
> Apologies, I had not applied the whole series of patches
>
> Please add my
> Reviewed-by: Anand Moon<linux.amoon at gmail.com>
> Tested-by: Anand Moon<linux.amoon at gmail.com>
>
> After applying enabling debug I am convinced this works on my Rock Pi 5b Board.
>
> U-Boot 2025.04-rc3-00057-g671ac2d744b2 (Mar 06 2025 - 23:51:44 +0530)
>
> Model: Radxa ROCK 5B
> SoC:   RK3588
> DRAM:  8 GiB
> fusb302 usb-typec at 22: probing Type-C port manager...fusb302
> usb-typec at 22: fusb302 device ID: 0x91
> fusb302 usb-typec at 22: TCPM: set voltage limit = 0 mV
> fusb302 usb-typec at 22: TCPM: set current limit = 0 mA
> fusb302 usb-typec at 22: fusb302 start drp toggling
> fusb302 usb-typec at 22: TCPM: init finished
> fusb302 usb-typec at 22: TCPM: CC connected in CC2 as UFP
> fusb302 usb-typec at 22: TCPM: set voltage limit = 5000 mV
> fusb302 usb-typec at 22: TCPM: set current limit = 3000 mA
> fusb302 usb-typec at 22: CC activities detected, delay handling
> fusb302 usb-typec at 22: CC activities detected, delay handling
> fusb302 usb-typec at 22: Initiating hard-reset, which might result in
> machine power-loss.
> fusb302 usb-typec at 22: TCPM: PD transmit data failed: -110
> fusb302 usb-typec at 22: TCPM: set voltage limit = 5000 mV
> fusb302 usb-typec at 22: TCPM: set current limit = 3000 mA
> fusb302 usb-typec at 22: CC activities detected, delay handling
> fusb302 usb-typec at 22: CC activities detected, delay handling
> fusb302 usb-typec at 22: TCPM: PD chip enter low power mode
> Core:  362 devices, 34 uclasses, devicetree: separate
> MMC:   mmc at fe2c0000: 1, mmc at fe2d0000: 2, mmc at fe2e0000: 0
>
I also tested this series on top of v2025.04-rc3 with my working USB-PD
power supply.
Of course I cannot check the improvements for problematic power
supplies, but I
can confirm that there are no regressions from this series in my setup.

For the series:
Tested-by: Soeren Moch <smoch at web.de>


U-Boot 2025.04-rc3-00004-g27c9bc97fafe (Mar 07 2025 - 09:39:42 +0100)

Model: Radxa ROCK 5B
SoC:   RK3588
DRAM:  8 GiB
Core:  362 devices, 34 uclasses, devicetree: separate
MMC:   mmc at fe2c0000: 1, mmc at fe2d0000: 2, mmc at fe2e0000: 0
Loading Environment from nowhere... OK
In:    serial at feb50000
Out:   serial at feb50000
Err:   serial at feb50000
Model: Radxa ROCK 5B
SoC:   RK3588
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=> tcpm list
| ID | Name                            | Parent name         | Parent
uclass @ seq
|  0 | usb-typec at 22                    | i2c at feac0000        | i2c @ 4 |
status: 0
=> tcpm dev 0
dev: 0 @ usb-typec at 22
=> tcpm info
Orientation: reverse
PD Revision: rev3
Power Role:  sink
Data Role:   device
Voltage:      5.000 V
Current:      3.000 A
=>

Thanks,
Soeren


More information about the U-Boot mailing list