luckfox-pico-sdk/sysdrv/source/kernel/Documentation/devicetree/bindings/power/universal_charger.txt
2023-08-08 20:36:47 +08:00

17 lines
366 B
Plaintext

Binding for UNIVERSAL Charger
Required properties:
- compatible: Should contain one of the following:
* "universal-charger"
- extcon: extcon specifier for the Charger.
- dc-det-gpio: gpio for dc detect.
Example:
universal_charger {
status = "okay";
compatible = "universal-charger";
extcon = <&u2phy0>;
dc-det-gpio = <&gpio3 1 GPIO_ACTIVE_HIGH>;
};