From: "Sascha Hauer" <s.hauer@pengutronix.de>
To: "Giandomenico Rossi" <rossi@amelchem.com>
Cc: barebox@lists.infradead.org,
"Giandomenico Rossi" <rossi@amelchem.com>,
"Nicola Fontana" <ntd@entidi.it>
Subject: Re: [PATCH 4/4] commands: stusb4500: add USB-C PD control command
Date: Tue, 17 Nov 2026 11:46:13 +0000 [thread overview]
Message-ID: <19f0a52f-ad0f-44fd-b97d-644b925eff29@pengutronix.de> (raw)
In-Reply-To: <20261114161953.1457428-5-rossi@amelchem.com>
Hi Giandomenico,
On 2026-11-14 17:19, Giandomenico Rossi wrote:
> Add a Barebox shell command to inspect and control the STUSB4500
> USB-C Power Delivery sink controller.
>
> The command supports listing and dumping configured PDOs, updating
> sink PDOs, forcing PD renegotiation, and displaying the negotiated
> contract. The target STUSB4500 device can be selected with the -d
> option.
The command as such can not be accepted upstream. It shouldn't be
STUSB4500 specific, but instead call into the driver through ops
which can be implemented by other drivers as well.
I think the driver part of this series can be upstreamed quite fast
if you remove the exported functions and other stuff that's only there
to implement the exported functions. If I understand correctly then
that should already give you the base case supported with the PDOs being
configured through device tree, right?
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2026-11-17 11:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 16:19 [PATCH 0/4] usb: typec: add STUSB4500 USB-C PD sink support Giandomenico Rossi
2026-11-14 16:19 ` [PATCH 1/4] usb: typec: add typec_port_from_device() Giandomenico Rossi
2026-11-14 16:19 ` [PATCH 2/4] usb: typec: stusb4500: add USB PD fixed supply driver Giandomenico Rossi
2026-11-17 11:27 ` Sascha Hauer
2026-11-14 16:19 ` [PATCH 3/4] dt-bindings: usb: add STUSB4500 USB PD sink controller binding Giandomenico Rossi
2026-11-14 16:19 ` [PATCH 4/4] commands: stusb4500: add USB-C PD control command Giandomenico Rossi
2026-11-17 11:46 ` Sascha Hauer [this message]
2026-11-17 13:12 ` Giandomenico Rossi
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=19f0a52f-ad0f-44fd-b97d-644b925eff29@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ntd@entidi.it \
--cc=rossi@amelchem.com \
/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