Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1735828
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH 0/7] AXP803 AC/Battery support |
| Date | 2017-09-20 17:20 +0200 |
| Message-ID | <urOX7-4Mq-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The AXP803 PMIC, used by most Allwinner A64 boards, features 3 power inputs: AC, USB and Battery. This patchset adds support for the AC and Battery supplies, which is useful for the boards from Pine64 (Pine64, SoPine w/ baseboard model A, Pinebook). 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 for AXs. In order to enable battery monitoring the ADC for battery is also enabled for AXP803. 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 ++++++++++++++++++++- drivers/mfd/axp20x.c | 11 ++ drivers/power/supply/axp20x_battery.c | 88 ++++++++++++++-- 7 files changed, 226 insertions(+), 12 deletions(-) -- 2.13.5
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC PATCH 0/7] AXP803 AC/Battery support Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:20 +0200
[RFC PATCH 1/7] dt-bindings: add compatibles for AXP803 Battery/USB power supplies Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:20 +0200
Re: [RFC PATCH 1/7] dt-bindings: add compatibles for AXP803 Battery/USB power supplies Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-25 11:20 +0200
[RFC PATCH 3/7] iio: adc: axp20x-adc: add support for AXP803 Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:20 +0200
Re: [RFC PATCH 3/7] iio: adc: axp20x-adc: add support for AXP803 Jonathan Cameron <jic23@kernel.org> - 2017-09-24 16:40 +0200
Re: [RFC PATCH 3/7] iio: adc: axp20x-adc: add support for AXP803 Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-25 10:50 +0200
[RFC PATCH 5/7] mfd: axp20x: add cells for AXP803 ADC/AC Power/Battery Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:20 +0200
[RFC PATCH 7/7] arm64: allwinner: a64: enable AC and Battery for Pine64 Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:30 +0200
[RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI Icenowy Zheng <icenowy@aosc.io> - 2017-09-20 17:30 +0200
Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-25 11:20 +0200
Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI Icenowy Zheng <icenowy@aosc.io> - 2017-09-25 11:20 +0200
Re: [linux-sunxi] Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI Chen-Yu Tsai <wens@csie.org> - 2017-09-25 11:30 +0200
Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-25 11:30 +0200
Re: [RFC PATCH 0/7] AXP803 AC/Battery support Jonathan Cameron <Jonathan.Cameron@huawei.com> - 2017-09-21 16:50 +0200
Re: [RFC PATCH 0/7] AXP803 AC/Battery support Icenowy Zheng <icenowy@aosc.io> - 2017-09-21 17:30 +0200
Re: [RFC PATCH 0/7] AXP803 AC/Battery support Jonathan Cameron <jic23@kernel.org> - 2017-09-24 16:40 +0200
Re: [RFC PATCH 0/7] AXP803 AC/Battery support Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-25 11:30 +0200
csiph-web