usb: misc: usb251xb: add DT battery charging configuration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Only parse battery-charging-enable when the chip variant supports battery charging.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: usb: microchip,usb251xb: add battery-charging-enable propertyDocumentation/ | +7 | 1 reply | |
| 2/2 | usb: misc: usb251xb: configure battery charging from DTdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] usb: misc: usb251xb: add DT battery charging configuration
From: Jhon Wilker Rodrigues Aquino <[email protected]>
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