All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-05  8:30 ` Alexander Syring
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Syring @ 2017-07-05  8:30 UTC (permalink / raw)
  To: robh+dt
  Cc: mark.rutland, linux, maxime.ripard, wens, devicetree,
	linux-arm-kernel, linux-kernel, Alexander Syring

The Cubietruck has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

Signed-off-by: Alexander Syring <alex@asyring.de>
---
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 102903e83bd2..13bbf2361f9c 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -271,6 +271,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-05  8:30 ` Alexander Syring
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Syring @ 2017-07-05  8:30 UTC (permalink / raw)
  To: robh+dt
  Cc: mark.rutland, devicetree, linux, linux-kernel, wens,
	maxime.ripard, Alexander Syring, linux-arm-kernel

The Cubietruck has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

Signed-off-by: Alexander Syring <alex@asyring.de>
---
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 102903e83bd2..13bbf2361f9c 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -271,6 +271,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-05  8:30 ` Alexander Syring
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Syring @ 2017-07-05  8:30 UTC (permalink / raw)
  To: linux-arm-kernel

The Cubietruck has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

Signed-off-by: Alexander Syring <alex@asyring.de>
---
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 102903e83bd2..13bbf2361f9c 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -271,6 +271,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-06  6:56   ` Maxime Ripard
  0 siblings, 0 replies; 6+ messages in thread
From: Maxime Ripard @ 2017-07-06  6:56 UTC (permalink / raw)
  To: Alexander Syring
  Cc: robh+dt, mark.rutland, linux, wens, devicetree, linux-arm-kernel,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

On Wed, Jul 05, 2017 at 10:30:20AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC with battery connector.
> 
> This enables the battery power supply subnode.
> 
> Signed-off-by: Alexander Syring <alex@asyring.de>

Queued for 4.14, thanks!
Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-06  6:56   ` Maxime Ripard
  0 siblings, 0 replies; 6+ messages in thread
From: Maxime Ripard @ 2017-07-06  6:56 UTC (permalink / raw)
  To: Alexander Syring
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw, wens-jdAy2FN1RRM,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

On Wed, Jul 05, 2017 at 10:30:20AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC with battery connector.
> 
> This enables the battery power supply subnode.
> 
> Signed-off-by: Alexander Syring <alex-a4LgQbPKaXiELgA04lAiVw@public.gmane.org>

Queued for 4.14, thanks!
Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-06  6:56   ` Maxime Ripard
  0 siblings, 0 replies; 6+ messages in thread
From: Maxime Ripard @ 2017-07-06  6:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 05, 2017 at 10:30:20AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC with battery connector.
> 
> This enables the battery power supply subnode.
> 
> Signed-off-by: Alexander Syring <alex@asyring.de>

Queued for 4.14, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170706/bcae5457/attachment.sig>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-06  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05  8:30 [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck Alexander Syring
2017-07-05  8:30 ` Alexander Syring
2017-07-05  8:30 ` Alexander Syring
2017-07-06  6:56 ` Maxime Ripard
2017-07-06  6:56   ` Maxime Ripard
2017-07-06  6:56   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.