linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oskari Lemmela <oskari@lemmela.net>
To: Sebastian Reichel <sre@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: Quentin Schulz <quentin.schulz@bootlin.com>,
	devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Oskari Lemmela <oskari@lemmela.net>
Subject: [PATCH v7 4/9] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies
Date: Sat,  8 Dec 2018 19:36:13 +0200	[thread overview]
Message-ID: <20181208173618.31395-5-oskari@lemmela.net> (raw)
In-Reply-To: <20181208173618.31395-1-oskari@lemmela.net>

AXP803 ACIN pins are routed from SOM to the DC jack on the baseboard.
AXP803 charger pins BATSENSE, LOADSENSE, N_BATDRV, LX_CHG, VIN_CHG
and IPSOUT are connected via PMOS driver to SOM VBAT pins. VBAT and
AXP803 TS pins are routed to the baseboard 3-pin battery connector.

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
---
 .../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts    | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
index 53fcc9098df3..4695b0d407b6 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
@@ -80,6 +80,14 @@
 	};
 };
 
+&ac_power_supply {
+	status = "okay";
+};
+
+&battery_power_supply {
+	status = "okay";
+};
+
 &de {
 	status = "okay";
 };
-- 
2.17.1


  parent reply	other threads:[~2018-12-08 17:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-08 17:36 [PATCH v7 0/9] AXP8x3 AC and battery power supply support Oskari Lemmela
2018-12-08 17:36 ` [PATCH v7 1/9] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Oskari Lemmela
2018-12-08 17:36 ` [PATCH v7 2/9] ARM: dts: axp81x: add AC power supply subnode Oskari Lemmela
2018-12-08 17:36 ` [PATCH v7 3/9] arm64: dts: allwinner: axp803: add AC and battery power supplies Oskari Lemmela
2018-12-08 17:36 ` Oskari Lemmela [this message]
2018-12-08 17:36 ` [PATCH v7 5/9] arm64: dts: allwinner: a64: pinebook: enable " Oskari Lemmela
2018-12-08 17:36 ` [PATCH v7 6/9] power: supply: add AC power supply driver for AXP813 Oskari Lemmela
2018-12-08 17:36 ` [PATCH v7 7/9] mfd: axp20x: Add AC power supply cell " Oskari Lemmela

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=20181208173618.31395-5-oskari@lemmela.net \
    --to=oskari@lemmela.net \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=quentin.schulz@bootlin.com \
    --cc=robh+dt@kernel.org \
    --cc=sre@kernel.org \
    --cc=wens@csie.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).