zephyr,charger-gpio

Description

GPIO controlled charging state and status inputs. At least one of
ctrl-gpios or charging-gpios must be provided. Status-only devices do not
support enabling or disabling charging through the driver.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ctrl-gpios

phandle-array

Pin that controls the charging state. Charging is enabled when active.

charging-gpios

phandle-array

Input that is active while charging. When inactive, the charger reports
not charging unless charge-done-gpios is active.

charge-done-gpios

phandle-array

Input that is active when charging is complete. Requires charging-gpios.
If both status inputs are active, the charger reports unknown status.