Message ID | cover.2e5329bf5475a5160e613a4eb1e1377c662ce56e.1516012352.git-series.quentin.schulz@free-electrons.com |
---|---|
Headers | show |
Series | add support for AXP813 ADC and battery power supply | expand |
On Tue, Jan 23, 2018 at 5:53 PM, Lee Jones <lee.jones@linaro.org> wrote: > On Mon, 15 Jan 2018, Quentin Schulz wrote: > >> This makes the axp20x_adc driver probe with platform device id >> "axp813-adc". >> >> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> >> --- >> drivers/mfd/axp20x.c | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) > > For my own reference: > Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> Acked-by: Chen-Yu Tsai <wens@csie.org>
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > This adds a DT node for the ADC of the PMIC so that there can be > consumers of its IIO channels declaring their consumptions via DT. > > Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
On Mon, Jan 15, 2018 at 6:33 PM, 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> > Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Chen-Yu Tsai <wens@csie.org>
On Mon, Jan 15, 2018 at 6:33 PM, Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > The X-Powers AXP813 PMIC has got some slight differences from > AXP20X/AXP22X PMICs: > - the maximum voltage supplied by the PMIC is 4.35 instead of 4.36/4.24 > for AXP20X/AXP22X, > - the constant charge current formula is different, > > It also has a bit to tell whether the battery percentage returned by the > PMIC is valid. > > Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org>