Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: quentin.schulz@free-electrons.com (Quentin Schulz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 6/7] ARM: dts: sun8i: sina33: enable battery power supply subnode
Date: Wed,  5 Apr 2017 10:10:58 +0200	[thread overview]
Message-ID: <20170405081059.1684-7-quentin.schulz@free-electrons.com> (raw)
In-Reply-To: <20170405081059.1684-1-quentin.schulz@free-electrons.com>

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>
Acked-by: Chen-Yu Tsai <wens@csie.org>
---
 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 e34e092..7afe7fe 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -182,6 +182,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_aldo1 {
 	regulator-always-on;
 	regulator-min-microvolt = <3000000>;
-- 
2.9.3

  parent reply	other threads:[~2017-04-05  8:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05  8:10 [PATCH v5 0/7] add support for AXP20X and AXP22X battery power supply driver Quentin Schulz
2017-04-05  8:10 ` [PATCH v5 1/7] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding Quentin Schulz
2017-04-05  8:10 ` [PATCH v5 2/7] power: supply: add battery driver for AXP20X and AXP22X PMICs Quentin Schulz
2017-04-05  8:10 ` [PATCH v5 3/7] mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver Quentin Schulz
2017-04-05  8:59   ` Lee Jones
2017-04-05  8:10 ` [PATCH v5 4/7] ARM: dtsi: axp209: add battery power supply subnode Quentin Schulz
2017-04-05  8:10 ` [PATCH v5 5/7] ARM: dtsi: axp22x: " Quentin Schulz
2017-04-05  8:10 ` Quentin Schulz [this message]
2017-04-05  8:10 ` [PATCH v5 7/7] ARM: sun5i: chip: enable " Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170405081059.1684-7-quentin.schulz@free-electrons.com \
    --to=quentin.schulz@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox