Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1568328 > unrolled thread

[PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs

Started byQuentin Schulz <quentin.schulz@free-electrons.com>
First post2017-01-27 13:30 +0100
Last post2017-01-31 05:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-01-27 13:30 +0100
    Re: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for  AXP22X PMICs Sebastian Reichel <sre@kernel.org> - 2017-01-29 17:50 +0100
      Re: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for  AXP22X PMICs Chen-Yu Tsai <wens@csie.org> - 2017-01-31 05:50 +0100

#1568328 — [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs

FromQuentin Schulz <quentin.schulz@free-electrons.com>
Date2017-01-27 13:30 +0100
Subject[PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs
Message-ID<t4dPc-46H-37@gated-at.bofh.it>
The X-Powers AXP20X and AXP22X PMICs expose the status of AC power
supply.

This adds the AC power supply driver to the MFD cells of the AXP22X
PMICs.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/axp20x.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index cdc729d..7607c30 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -607,6 +607,11 @@ static struct mfd_cell axp221_cells[] = {
 		.name		= "axp20x-adc",
 		.of_compatible	= "x-powers,axp221-adc"
 	}, {
+		.name		= "axp20x-ac-power-supply",
+		.of_compatible	= "x-powers,axp221-ac-power-supply",
+		.num_resources	= ARRAY_SIZE(axp20x_ac_power_supply_resources),
+		.resources	= axp20x_ac_power_supply_resources,
+	}, {
 		.name		= "axp20x-usb-power-supply",
 		.of_compatible	= "x-powers,axp221-usb-power-supply",
 		.num_resources	= ARRAY_SIZE(axp22x_usb_power_supply_resources),
@@ -625,6 +630,11 @@ static struct mfd_cell axp223_cells[] = {
 	}, {
 		.name			= "axp20x-regulator",
 	}, {
+		.name		= "axp20x-ac-power-supply",
+		.of_compatible	= "x-powers,axp221-ac-power-supply",
+		.num_resources	= ARRAY_SIZE(axp20x_ac_power_supply_resources),
+		.resources	= axp20x_ac_power_supply_resources,
+	}, {
 		.name		= "axp20x-usb-power-supply",
 		.of_compatible	= "x-powers,axp223-usb-power-supply",
 		.num_resources	= ARRAY_SIZE(axp22x_usb_power_supply_resources),
-- 
2.9.3

[toc] | [next] | [standalone]


#1569231 — Re: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs

FromSebastian Reichel <sre@kernel.org>
Date2017-01-29 17:50 +0100
SubjectRe: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs
Message-ID<t50PT-Ye-5@gated-at.bofh.it>
In reply to#1568328

[Multipart message — attachments visible in raw view] — view raw

Hi,

On Fri, Jan 27, 2017 at 09:54:44AM +0100, Quentin Schulz wrote:
> The X-Powers AXP20X and AXP22X PMICs expose the status of AC power
> supply.
> 
> This adds the AC power supply driver to the MFD cells of the AXP22X
> PMICs.
> 
> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>

Acked-By: Sebastian Reichel <sre@kernel.org>

-- Sebastian

[toc] | [prev] | [next] | [standalone]


#1570315 — Re: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs

FromChen-Yu Tsai <wens@csie.org>
Date2017-01-31 05:50 +0100
SubjectRe: [PATCH v2 11/25] mfd: axp20x: add AC power supply cells for AXP22X PMICs
Message-ID<t5yye-4Fi-1@gated-at.bofh.it>
In reply to#1569231
On Mon, Jan 30, 2017 at 12:35 AM, Sebastian Reichel <sre@kernel.org> wrote:
> Hi,
>
> On Fri, Jan 27, 2017 at 09:54:44AM +0100, Quentin Schulz wrote:
>> The X-Powers AXP20X and AXP22X PMICs expose the status of AC power
>> supply.
>>
>> This adds the AC power supply driver to the MFD cells of the AXP22X
>> PMICs.
>>
>> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
>> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
>
> Acked-By: Sebastian Reichel <sre@kernel.org>

Acked-by: Chen-Yu Tsai <wens@csie.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web