diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-09 13:12:48 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-09 13:12:48 +0000 |
commit | f3f213a6f94d330b77b3910f4c66b62aeec50645 (patch) | |
tree | c3f9fb9d237fa970fbe2a2d425d0be312d0e86a7 /Bindings/power/supply/axp20x_battery.txt | |
parent | 8fdc67f730291b64de002bf95d19ae75e058b8ce (diff) |
Update the DTS file from Linux 4.12vendor/device-tree/4.12
Notes
Notes:
svn path=/vendor/device-tree/dist/; revision=320832
svn path=/vendor/device-tree/4.12/; revision=320833; tag=vendor/device-tree/4.12
Diffstat (limited to 'Bindings/power/supply/axp20x_battery.txt')
-rw-r--r-- | Bindings/power/supply/axp20x_battery.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Bindings/power/supply/axp20x_battery.txt b/Bindings/power/supply/axp20x_battery.txt new file mode 100644 index 000000000000..c24886676a60 --- /dev/null +++ b/Bindings/power/supply/axp20x_battery.txt @@ -0,0 +1,20 @@ +AXP20x and AXP22x battery power supply + +Required Properties: + - compatible, one of: + "x-powers,axp209-battery-power-supply" + "x-powers,axp221-battery-power-supply" + +This node is a subnode of the axp20x/axp22x PMIC. + +The AXP20X and AXP22X can read the battery voltage, charge and discharge +currents of the battery by reading ADC channels from the AXP20X/AXP22X +ADC. + +Example: + +&axp209 { + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp209-battery-power-supply"; + } +}; |