mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Giandomenico Rossi <rossi@amelchem.com>
To: barebox@lists.infradead.org
Subject: Driver placement for a new STUSB4500 USB-C PD sink controller
Date: Tue, 25 Aug 2026 11:38:13 +0200	[thread overview]
Message-ID: <561b94b11b45ec960fbbc060d8db8f292e2446e4.camel@amelchem.com> (raw)

Hi,

I'm writing a Barebox driver for the STMicroelectronics STUSB4500, an
autonomous USB Type-C Power Delivery sink controller (I2C). 
It can trigger a renegotiation, and reports the resulting contract.
Target platform is an STM32MP151-based board.

I'd like to agree on where the files should live, so I don't have to
reshuffle everything later.

Driver source: at the moment I have the driver under drivers/usb/misc/,
but since it's a USB Type-C PD sink controller it might fit better
under drivers/usb/typec/ (which Barebox doesn't have yet, so it would
mean creating it). Would you prefer that, or somewhere else?

DT binding: I've written the binding as a YAML schema
(st,stusb4500.yaml), matching the Linux dt-schema format and reusing
the common usb-connector.yaml for the connector sub-node. 
Where should it go in the Barebox tree?

Regards,
Giandomenico Rossi
Amel s.r.l.



             reply	other threads:[~2026-08-25  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25  9:38 Giandomenico Rossi [this message]
2026-08-25 10:08 ` Ahmad Fatoum
2026-08-25 12:14   ` 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=561b94b11b45ec960fbbc060d8db8f292e2446e4.camel@amelchem.com \
    --to=rossi@amelchem.com \
    --cc=barebox@lists.infradead.org \
    /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