diff options
author | Quentin Schulz <quentin.schulz@free-electrons.com> | 2017-04-18 09:34:18 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-05-14 08:32:32 +0200 |
commit | 4ee75fa55b7afd4cb65e378f0381f307bd63fa6c (patch) | |
tree | 51cae28fe698dccce82754368889a802a809ec79 /arch/arm/boot/dts/axp209.dtsi | |
parent | ARM: sun8i: Use - instead of @ for DT OPP entries (diff) | |
download | linux-4ee75fa55b7afd4cb65e378f0381f307bd63fa6c.tar.xz linux-4ee75fa55b7afd4cb65e378f0381f307bd63fa6c.zip |
ARM: dtsi: axp209: add battery power supply subnode
The X-Powers AXP209 PMIC exposes battery supply various data such as
the battery status (charging, discharging, full, dead), current max
limit, current current, battery capacity (in percentage), voltage max
and min limits, current voltage, and battery capacity (in Ah).
This adds the battery power supply subnode for AXP20X PMIC.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/axp209.dtsi')
-rw-r--r-- | arch/arm/boot/dts/axp209.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index 9677dd5cf6b6..3c8fa26e87b7 100644 --- a/arch/arm/boot/dts/axp209.dtsi +++ b/arch/arm/boot/dts/axp209.dtsi @@ -64,6 +64,11 @@ #gpio-cells = <2>; }; + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp209-battery-power-supply"; + status = "disabled"; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <1500>; |