U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Soeren Moch <smoch@web.de>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Anand Moon <linux.amoon@gmail.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Marek Vasut <marex@denx.de>,
	u-boot@lists.denx.de, Jonas Karlman <jonas@kwiboo.se>,
	Tim Harvey <tharvey@gateworks.com>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Maxim Kiselev <bigunclemax@gmail.com>
Subject: Re: [PATCH v2 0/4] USB-PD TCPM improvements
Date: Fri, 7 Mar 2025 10:29:47 +0100	[thread overview]
Message-ID: <0ed21fc1-6982-4c11-a913-bc03dbb541a1@web.de> (raw)
In-Reply-To: <CANAwSgQYPHyiFe9q+=+vWa9+pdrnEqz01L2fG8yXTaRqepubxA@mail.gmail.com>



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@gmail.com>
> Tested-by: Anand Moon<linux.amoon@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@22: probing Type-C port manager...fusb302
> usb-typec@22: fusb302 device ID: 0x91
> fusb302 usb-typec@22: TCPM: set voltage limit = 0 mV
> fusb302 usb-typec@22: TCPM: set current limit = 0 mA
> fusb302 usb-typec@22: fusb302 start drp toggling
> fusb302 usb-typec@22: TCPM: init finished
> fusb302 usb-typec@22: TCPM: CC connected in CC2 as UFP
> fusb302 usb-typec@22: TCPM: set voltage limit = 5000 mV
> fusb302 usb-typec@22: TCPM: set current limit = 3000 mA
> fusb302 usb-typec@22: CC activities detected, delay handling
> fusb302 usb-typec@22: CC activities detected, delay handling
> fusb302 usb-typec@22: Initiating hard-reset, which might result in
> machine power-loss.
> fusb302 usb-typec@22: TCPM: PD transmit data failed: -110
> fusb302 usb-typec@22: TCPM: set voltage limit = 5000 mV
> fusb302 usb-typec@22: TCPM: set current limit = 3000 mA
> fusb302 usb-typec@22: CC activities detected, delay handling
> fusb302 usb-typec@22: CC activities detected, delay handling
> fusb302 usb-typec@22: TCPM: PD chip enter low power mode
> Core:  362 devices, 34 uclasses, devicetree: separate
> MMC:   mmc@fe2c0000: 1, mmc@fe2d0000: 2, mmc@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@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@fe2c0000: 1, mmc@fe2d0000: 2, mmc@fe2e0000: 0
Loading Environment from nowhere... OK
In:    serial@feb50000
Out:   serial@feb50000
Err:   serial@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@22                    | i2c@feac0000        | i2c @ 4 |
status: 0
=> tcpm dev 0
dev: 0 @ usb-typec@22
=> tcpm info
Orientation: reverse
PD Revision: rev3
Power Role:  sink
Data Role:   device
Voltage:      5.000 V
Current:      3.000 A
=>

Thanks,
Soeren

  reply	other threads:[~2025-03-07  9:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26 18:44 [PATCH v2 0/4] USB-PD TCPM improvements Sebastian Reichel
2025-02-26 18:44 ` [PATCH v2 1/4] usb: tcpm: improve handling of some power-supplies Sebastian Reichel
2025-02-26 18:44 ` [PATCH v2 2/4] usb: tcpm: avoid resets for missing source capability messages Sebastian Reichel
2025-02-26 18:44 ` [PATCH v2 3/4] usb: tcpm: print error on hard reset Sebastian Reichel
2025-02-26 18:44 ` [PATCH v2 4/4] usb: tcpm: improve data role mismatch error recovery Sebastian Reichel
2025-02-27  6:00 ` [PATCH v2 0/4] USB-PD TCPM improvements Anand Moon
2025-03-01 18:11   ` Peter Robinson
2025-03-03  7:38     ` Anand Moon
2025-03-03 16:06       ` Sebastian Reichel
2025-03-04  5:05         ` Anand Moon
2025-03-04 12:42           ` Sebastian Reichel
2025-03-04 14:50             ` Anand Moon
2025-03-06 19:00               ` Anand Moon
2025-03-07  9:29                 ` Soeren Moch [this message]
2025-03-27 17:08 ` Nicolas Frattaroli
2025-06-18  9:36 ` Marcel Ziswiler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ed21fc1-6982-4c11-a913-bc03dbb541a1@web.de \
    --to=smoch@web.de \
    --cc=bigunclemax@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux.amoon@gmail.com \
    --cc=marex@denx.de \
    --cc=pbrobinson@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sebastian.reichel@collabora.com \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox