Thread (22 messages) 22 messages, 5 authors, 2017-09-25

[RFC PATCH 0/7] AXP803 AC/Battery support

From: Quentin Schulz <hidden>
Date: 2017-09-25 09:22:30
Also in: linux-devicetree, linux-iio, linux-pm, lkml

Hi Icenowy,

On 24/09/2017 16:36, Jonathan Cameron wrote:
On Thu, 21 Sep 2017 23:20:11 +0800
Icenowy Zheng [off-list ref] wrote:
quoted
? 2017?9?21? GMT+08:00 ??10:46:21, Jonathan Cameron [off-list ref] ??:
quoted
On Wed, 20 Sep 2017 23:18:07 +0800
Icenowy Zheng [off-list ref] wrote:
 
quoted
The AXP803 PMIC, used by most Allwinner A64 boards, features 3 power  
inputs:  
quoted
AC, USB and Battery.

This patchset adds support for the AC and Battery supplies, which is  
useful  
quoted
for the boards from Pine64 (Pine64, SoPine w/ baseboard model A,  
Pinebook).  
quoted
The USB supply is not yet supported in this patchset because it's not
present on Pine series boards.

In order to enable battery monitoring the ADC for battery is also  
enabled  
quoted
for AXs.

In order to enable battery monitoring the ADC for battery is also  
enabled  
quoted
for AXP803.  
I'll go with the obvious question...

Why an RFC rather than a standard patch submission? I'm not immediately
seeing what is controversial!  
Oh I am just not confident about this patchset,
especially the IIO part.
It all looks fine to me.  I would imagine that, once everyone is
happy, this will go through the mfd tree, but Lee may have other ideas!
Small modifications to make but I definitely agree with Jonathan that
you did not need to send an RFC.

Quentin
Jonathan
quoted
quoted
Jonathan
 
quoted
Icenowy Zheng (7):
  dt-bindings: add compatibles for AXP803 Battery/USB power supplies
  iio: adc: axp20x-adc: allow to skip ADC rate setup now
  iio: adc: axp20x-adc: add support for AXP803
  power: supply: axp20x-battery: support AXP803
  mfd: axp20x: add cells for AXP803 ADC/AC Power/Battery
  arm64: allwinner: a64: add power supply nodes in AXP803 DTSI
  arm64: allwinner: a64: enable AC and Battery for Pine64

 .../bindings/power/supply/axp20x_battery.txt       |   1 +
 .../bindings/power/supply/axp20x_usb_power.txt     |   1 +
 arch/arm64/boot/dts/allwinner/axp803.dtsi          |  15 +++
 .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts |   8 ++
 drivers/iio/adc/axp20x_adc.c                       | 114  
++++++++++++++++++++-  
quoted
 drivers/mfd/axp20x.c                               |  11 ++
 drivers/power/supply/axp20x_battery.c              |  88  
++++++++++++++--  
quoted
 7 files changed, 226 insertions(+), 12 deletions(-)
  

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel  
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
-- 
Quentin Schulz, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help