[PATCH 0/2] usb: misc: usb251xb: add DT battery charging configuration

From: Jhon Wilker Rodrigues Aquino

Date: Tue Nov 03 2026 - 13:56:38 EST


From: Jhon Wilker Rodrigues Aquino <jhon.aquino@xxxxxxxxxxxxxxx>

Add a Device Tree property to configure battery charging on selected downstream
ports of Microchip USB251x hubs.

The first patch documents the battery-charging-enable property and adds an
example enabling charging on ports 1 and 2. The second parses the port list and
sets the corresponding hub configuration bits. Charging remains disabled on
all ports when the property is omitted.

Jhon Wilker Rodrigues Aquino (2):
dt-bindings: usb: microchip,usb251xb: add battery-charging-enable
property
usb: misc: usb251xb: configure battery charging from DT

Documentation/devicetree/bindings/usb/usb251xb.yaml | 7 +++++++
drivers/usb/misc/usb251xb.c | 5 ++++-
2 files changed, 11 insertions(+), 1 deletion(-)

--
2.43.0