[PATCH 1/2] dt-bindings: usb: microchip,usb251xb: add battery-charging-enable property
From: Jhon Wilker Rodrigues Aquino
Date: Tue Nov 03 2026 - 13:56:54 EST
From: Jhon Wilker Rodrigues Aquino <jhon.aquino@xxxxxxxxxxxxxxx>
Describe the battery-charging-enable property as a list of downstream ports in the USB251x device tree binding.
Add an example that enables charging on ports 1 and 2.
Signed-off-by: Jhon Wilker Rodrigues Aquino <jhon.aquino@xxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/usb251xb.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/usb251xb.yaml b/Documentation/devicetree/bindings/usb/usb251xb.yaml
index 0329a6aaaa928..0eb3035553c37 100644
--- a/Documentation/devicetree/bindings/usb/usb251xb.yaml
+++ b/Documentation/devicetree/bindings/usb/usb251xb.yaml
@@ -230,6 +230,12 @@ properties:
Specifies the time it takes from the time the host initiates the
power-on sequence to a port until the port has adequate power.
+ battery-charging-enable:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description: |
+ Specifies the downstream ports which will have battery charging enabled.
+ Battery charging is disabled on all ports by default.
+
swap-dx-lanes:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: |
@@ -264,6 +270,7 @@ examples:
manufacturer = "Foo";
product = "Foo-Bar";
serial = "1234567890A";
+ battery-charging-enable = <1 2>;
/* correct misplaced usb connectors on port 1,2 */
swap-dx-lanes = <1 2>;
};
--
2.43.0