linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM: sun7i: a20: cubieboard2: Enable AXP209's ACIN power supply
Date: Thu, 25 May 2017 15:31:34 +0800	[thread overview]
Message-ID: <20170525073138.20907-3-wens@csie.org> (raw)
In-Reply-To: <20170525073138.20907-1-wens@csie.org>

The ACIN pins of the AXP209 PMIC on the Cubieboard 2 are tied to the
DC jack on the board.

Enable the ACIN power supply.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index c21edd75d0b3..2a50207618cb 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -176,6 +176,10 @@
 
 #include "axp209.dtsi"
 
+&ac_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.11.0

  parent reply	other threads:[~2017-05-25  7:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25  7:31 [PATCH 0/6] ARM: sunxi: Enable AXP PMIC power supplies Chen-Yu Tsai
2017-05-25  7:31 ` [PATCH 1/6] ARM: sun7i: a20: cubieboard2: Move usb_otg node for alphabetical ordering Chen-Yu Tsai
2017-05-25  7:31 ` Chen-Yu Tsai [this message]
2017-05-25  7:31 ` [PATCH 3/6] ARM: sun7i: a20: bananapi-m1-plus: Enable AXP209's ACIN power supply Chen-Yu Tsai
2017-05-25  7:31 ` [PATCH 4/6] ARM: sun4i: a10: cubieboard: " Chen-Yu Tsai
2017-05-25  7:31 ` [PATCH 5/6] ARM: sun6i: a31: hummingbird: Enable AXP221's " Chen-Yu Tsai
2017-05-25  7:31 ` [PATCH 6/6] ARM: sun7i: a20: cubietruck: Tie AXP209's USB power supply to USB PHY Chen-Yu Tsai
2017-05-29  6:51 ` [PATCH 0/6] ARM: sunxi: Enable AXP PMIC power supplies Maxime Ripard

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=20170525073138.20907-3-wens@csie.org \
    --to=wens@csie.org \
    --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;
as well as URLs for NNTP newsgroup(s).