Message ID | bf3682e87c75532884881d7b08840c61678cbce1.1512396054.git-series.quentin.schulz@free-electrons.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Mon, Dec 04, 2017 at 03:12:50PM +0100, Quentin Schulz wrote: > The AXP813 can have a battery as power supply, so let's add it to the > list of compatibles. > > Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> > --- > Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Rob Herring <robh@kernel.org>
On Mon, 4 Dec 2017 15:12:50 +0100 Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > The AXP813 can have a battery as power supply, so let's add it to the > list of compatibles. > > Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> > --- > Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt > index c248866..4614c8e 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 the axp20x/axp22x/axp81x 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. > +The AXP20X, AXP22X and AXP81X can read the battery voltage, charge and > +discharge currents of the battery by reading ADC channels from the ADC. Might just be me, but this looks like a recipe for unneeded churn in future. The supported devices can read... Maybe also This node is a subnode of the PMIC with the same part number. ? I don't really care though! > > Example: >
diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt index c248866..4614c8e 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 the axp20x/axp22x/axp81x 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. +The AXP20X, AXP22X and AXP81X can read the battery voltage, charge and +discharge currents of the battery by reading ADC channels from the ADC. Example:
The AXP813 can have a battery as power supply, so let's add it to the list of compatibles. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> --- Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++---- 1 file changed, 4 insertions(+), 4 deletions(-)