[PATCH v2 0/2] usb: misc: usb251xb: add DT battery charging configuration
From: Jhon Wilker Rodrigues Aquino
Date: Tue Nov 03 2026 - 15:10:54 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.
Changes in v2:
- Only parse battery-charging-enable when the chip variant supports battery charging.
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 | 6 +++++-
2 files changed, 12 insertions(+), 1 deletion(-)
--
2.43.0