Driver placement for a new STUSB4500 USB-C PD sink controller
Giandomenico Rossi
rossi at amelchem.com
Tue Aug 25 02:38:13 PDT 2026
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.
More information about the barebox
mailing list