public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: oskari@lemmela.net (Oskari Lemmela)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 7/7] mfd: axp20x: Add supported cells for AXP803
Date: Mon,  8 Oct 2018 21:19:08 +0300	[thread overview]
Message-ID: <20181008181908.9456-8-oskari@lemmela.net> (raw)
In-Reply-To: <20181008181908.9456-1-oskari@lemmela.net>

AXP803 is compatible with AXP813.
Adding cells for GPIO, ADC, AC and battery power supplies.

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
---
 drivers/mfd/axp20x.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 1508d9113126..4befe474b165 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -731,8 +731,23 @@ static const struct mfd_cell axp803_cells[] = {
 		.name			= "axp221-pek",
 		.num_resources		= ARRAY_SIZE(axp803_pek_resources),
 		.resources		= axp803_pek_resources,
+	}, {
+		.name			= "axp20x-regulator",
+	}, {
+		.name			= "axp20x-gpio",
+		.of_compatible		= "x-powers,axp813-gpio",
+	}, {
+		.name			= "axp813-adc",
+		.of_compatible		= "x-powers,axp813-adc",
+	}, {
+		.name		= "axp20x-battery-power-supply",
+		.of_compatible	= "x-powers,axp813-battery-power-supply",
+	}, {
+		.name           = "axp20x-ac-power-supply",
+		.of_compatible  = "x-powers,axp813-ac-power-supply",
+		.num_resources  = ARRAY_SIZE(axp20x_ac_power_supply_resources),
+		.resources      = axp20x_ac_power_supply_resources,
 	},
-	{	.name			= "axp20x-regulator" },
 };
 
 static const struct mfd_cell axp806_self_working_cells[] = {
-- 
2.17.1

  parent reply	other threads:[~2018-10-08 18:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-08 18:19 [PATCH v3 0/7] AXP8x3 AC and battery power supply support Oskari Lemmela
2018-10-08 18:19 ` [PATCH v3 1/7] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Oskari Lemmela
2018-10-12 15:44   ` Rob Herring
2018-10-12 19:32   ` Quentin Schulz
2018-10-08 18:19 ` [PATCH v3 2/7] ARM: dts: axp81x: add AC power supply subnode Oskari Lemmela
2018-10-12 19:32   ` Quentin Schulz
2018-10-08 18:19 ` [PATCH v3 3/7] arm64: dts: allwinner: axp803: add AC and battery power supplies Oskari Lemmela
2018-10-12 19:33   ` Quentin Schulz
2018-10-08 18:19 ` [PATCH v3 4/7] arm64: dts: allwinner: a64: sopine: enable " Oskari Lemmela
2018-10-12 19:33   ` Quentin Schulz
2018-10-08 18:19 ` [PATCH v3 5/7] power: supply: add AC power supply driver for AXP813 Oskari Lemmela
2018-10-08 18:19 ` [PATCH v3 6/7] mfd: axp20x: Add AC power supply cell " Oskari Lemmela
2018-10-12 19:35   ` Quentin Schulz
2018-10-08 18:19 ` Oskari Lemmela [this message]
2018-10-11  8:10   ` [PATCH v3 7/7] mfd: axp20x: Add supported cells for AXP803 Chen-Yu Tsai

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=20181008181908.9456-8-oskari@lemmela.net \
    --to=oskari@lemmela.net \
    --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