Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580510 > unrolled thread

[PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode

Started byQuentin Schulz <quentin.schulz@free-electrons.com>
First post2017-02-14 13:40 +0100
Last post2017-02-21 19:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-02-14 13:40 +0100
    Re: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power  supply subnode Chen-Yu Tsai <wens@csie.org> - 2017-02-21 06:50 +0100
      Re: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power  supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-02-21 19:50 +0100

#1580510 — [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode

FromQuentin Schulz <quentin.schulz@free-electrons.com>
Date2017-02-14 13:40 +0100
Subject[PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode
Message-ID<taKyJ-1SG-1@gated-at.bofh.it>
The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we
enable the battery power supply subnode in its Device Tree.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index bf53408..2fe9299 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -151,6 +151,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_aldo1 {
 	regulator-always-on;
 	regulator-min-microvolt = <3000000>;
-- 
2.9.3

[toc] | [next] | [standalone]


#1585057 — Re: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode

FromChen-Yu Tsai <wens@csie.org>
Date2017-02-21 06:50 +0100
SubjectRe: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode
Message-ID<tdbuN-6BC-7@gated-at.bofh.it>
In reply to#1580510
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz
<quentin.schulz@free-electrons.com> wrote:
> The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we
> enable the battery power supply subnode in its Device Tree.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Battery charger enabled without any description of the associated battery...
In this case I think the driver should use the lowest charge current to be
safe?

Acked-by: Chen-Yu Tsai <wens@csie.org>

[toc] | [prev] | [next] | [standalone]


#1585624 — Re: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode

FromQuentin Schulz <quentin.schulz@free-electrons.com>
Date2017-02-21 19:50 +0100
SubjectRe: [PATCH v3 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode
Message-ID<tdnFE-6qe-25@gated-at.bofh.it>
In reply to#1585057
On 21/02/2017 05:50, Chen-Yu Tsai wrote:
> On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz
> <quentin.schulz@free-electrons.com> wrote:
>> The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we
>> enable the battery power supply subnode in its Device Tree.
>>
>> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
>> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> 
> Battery charger enabled without any description of the associated battery...
> In this case I think the driver should use the lowest charge current to be
> safe?
> 

Seems fair.

Quentin

-- 
Quentin Schulz, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web