mbox series

[0/4] AXP8x3 AC and battery power supply support

Message ID 20181004193410.7265-1-oskari@lemmela.net (mailing list archive)
Headers show
Series AXP8x3 AC and battery power supply support | expand

Message

Oskari Lemmelä Oct. 4, 2018, 7:34 p.m. UTC
AXP803 AC and battery power supply support.
AXP803/AXP813 AC power supply support with input current and
voltage limiting support.

Oskari Lemmela (4):
  dt-bindings: add compatibles for AXP803 AC and battery power supplies
  ARM: dtsi: axp81x: add AC power supply subnode
  arm64: allwinner: a64: add battery and AC power supply support
  power: supply: add AXP803/AXP813 AC and battery power supply support

 .../devicetree/bindings/gpio/gpio-axp209.txt  |   3 +-
 .../bindings/iio/adc/axp20x_adc.txt           |   3 +-
 .../bindings/power/supply/axp20x_ac_power.txt |   4 +
 .../bindings/power/supply/axp20x_battery.txt  |   1 +
 arch/arm/boot/dts/axp81x.dtsi                 |   5 +
 arch/arm64/boot/dts/allwinner/axp803.dtsi     |  31 +++
 .../allwinner/sun50i-a64-sopine-baseboard.dts |   8 +
 drivers/iio/adc/axp20x_adc.c                  |   1 +
 drivers/mfd/axp20x.c                          |  22 +-
 drivers/pinctrl/pinctrl-axp209.c              |   1 +
 drivers/power/supply/axp20x_ac_power.c        | 194 ++++++++++++++++++
 drivers/power/supply/axp20x_battery.c         |   3 +
 include/linux/mfd/axp20x.h                    |   1 +
 13 files changed, 274 insertions(+), 3 deletions(-)

Comments

Chen-Yu Tsai Oct. 5, 2018, 3:37 a.m. UTC | #1
On Fri, Oct 5, 2018 at 3:34 AM Oskari Lemmela <oskari@lemmela.net> wrote:
>
> AXP803 AC and battery power supply support.
> AXP803/AXP813 AC power supply support with input current and
> voltage limiting support.
>
> Oskari Lemmela (4):
>   dt-bindings: add compatibles for AXP803 AC and battery power supplies
>   ARM: dtsi: axp81x: add AC power supply subnode

The prefix should be "ARM: dts: axp81x: "

>   arm64: allwinner: a64: add battery and AC power supply support

This should be "arm64: dts: allwinner: a64: <board>: add ..."

>   power: supply: add AXP803/AXP813 AC and battery power supply support
>
>  .../devicetree/bindings/gpio/gpio-axp209.txt  |   3 +-
>  .../bindings/iio/adc/axp20x_adc.txt           |   3 +-
>  .../bindings/power/supply/axp20x_ac_power.txt |   4 +
>  .../bindings/power/supply/axp20x_battery.txt  |   1 +
>  arch/arm/boot/dts/axp81x.dtsi                 |   5 +
>  arch/arm64/boot/dts/allwinner/axp803.dtsi     |  31 +++
>  .../allwinner/sun50i-a64-sopine-baseboard.dts |   8 +
>  drivers/iio/adc/axp20x_adc.c                  |   1 +
>  drivers/mfd/axp20x.c                          |  22 +-
>  drivers/pinctrl/pinctrl-axp209.c              |   1 +
>  drivers/power/supply/axp20x_ac_power.c        | 194 ++++++++++++++++++
>  drivers/power/supply/axp20x_battery.c         |   3 +
>  include/linux/mfd/axp20x.h                    |   1 +
>  13 files changed, 274 insertions(+), 3 deletions(-)
>
> --
> 2.17.1
>
Oskari Lemmelä Oct. 6, 2018, 9:18 p.m. UTC | #2
AXP813 AC power supply support with input current and
voltage limiting support.

AXP803 AC and battery power supply support.

Changes in v2:
* Reuse axp813 compatibles for axp803
* Refactor axp20x_ac_power.c

Oskari Lemmela (6):
  dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding
  ARM: dts: axp81x: add AC power supply subnode
  arm64: dts: allwinner: axp803: add AC and battery power supplies
  arm64: dts: allwinner: a64: sopine: enable power supplies
  mfd: axp20x: add support AXP803 AC and battery power supplies
  power: supply: add AC power supply driver for AXP813

 .../bindings/power/supply/axp20x_ac_power.txt |  3 +
 arch/arm/boot/dts/axp81x.dtsi                 |  5 +
 arch/arm64/boot/dts/allwinner/axp803.dtsi     | 31 +++++++
 .../allwinner/sun50i-a64-sopine-baseboard.dts |  8 ++
 drivers/mfd/axp20x.c                          | 22 ++++-
 drivers/power/supply/axp20x_ac_power.c        | 92 +++++++++++++++++++
 include/linux/mfd/axp20x.h                    |  1 +
 7 files changed, 161 insertions(+), 1 deletion(-)
Quentin Schulz Oct. 8, 2018, 7:11 a.m. UTC | #3
Hi Oskari,

On Sun, Oct 07, 2018 at 12:18:30AM +0300, Oskari Lemmela wrote:
> AXP813 AC power supply support with input current and
> voltage limiting support.
> 
> AXP803 AC and battery power supply support.
> 

Great to see a new developer taking interest in those PMICs :)

I received the v2 patch series as answers of the v1 patch series, you
would want to fix that by sending a separate patch series. Using the
name of the cover letter of the patch series and the author, it's
usually good enough to find previous versions if we need to, you don't
need to send the new patch series as answers of the first patch series.

Thanks,
Quentin