From: Quentin Schulz Date: Wed, 28 Feb 2018 10:35:59 +0000 (+0100) Subject: dt-bindings: power: supply: axp20x: add AXP813 battery DT binding X-Git-Tag: v4.17-rc1~155^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99cdb0a9f5ecae5c8accc0ee65326b6e9e793725;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: power: supply: axp20x: add AXP813 battery DT binding The AXP813 can have a battery as power supply, so let's add it to the list of compatibles. Signed-off-by: Quentin Schulz Reviewed-by: Rob Herring Acked-by: Chen-Yu Tsai Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt index c24886676a605..41916f69902c5 100644 --- a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt +++ b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt @@ -4,12 +4,12 @@ Required Properties: - compatible, one of: "x-powers,axp209-battery-power-supply" "x-powers,axp221-battery-power-supply" + "x-powers,axp813-battery-power-supply" -This node is a subnode of the axp20x/axp22x PMIC. +This node is a subnode of its respective PMIC DT node. -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. +The supported devices can read the battery voltage, charge and discharge +currents of the battery by reading ADC channels from the ADC. Example: