mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Driver placement for a new STUSB4500 USB-C PD sink controller
@ 2026-08-25  9:38 Giandomenico Rossi
  2026-08-25 10:08 ` Ahmad Fatoum
  0 siblings, 1 reply; 3+ messages in thread
From: Giandomenico Rossi @ 2026-08-25  9:38 UTC (permalink / raw)
  To: barebox

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-25 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  9:38 Driver placement for a new STUSB4500 USB-C PD sink controller Giandomenico Rossi
2026-08-25 10:08 ` Ahmad Fatoum
2026-08-25 12:14   ` Giandomenico Rossi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox