devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Chen-Yu Tsai <wens@csie.org>,
	linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree <devicetree@vger.kernel.org>
Subject: Re: [PATCH v2 3/4] mfd: axp20x: Add axp20x-usb-power-supply for axp22x pmics
Date: Fri, 10 Jun 2016 15:56:22 +0100	[thread overview]
Message-ID: <20160610145622.GB7351@dell> (raw)
In-Reply-To: <1464887936-17020-3-git-send-email-hdegoede@redhat.com>

On Thu, 02 Jun 2016, Hans de Goede wrote:

> Add axp20x-usb-power-supply for axp22x pmics.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> Changes in v2:
> -Change compatible string for axp22x usb-power-supply cell to match v2 of:
>  "power: axp20x_usb: Add support for usb power-supply on axp22x pmics"
> ---
>  drivers/mfd/axp20x.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Applied, thanks.

> diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
> index ca04361..6364dab 100644
> --- a/drivers/mfd/axp20x.c
> +++ b/drivers/mfd/axp20x.c
> @@ -160,6 +160,11 @@ static struct resource axp20x_usb_power_supply_resources[] = {
>  	DEFINE_RES_IRQ_NAMED(AXP20X_IRQ_VBUS_NOT_VALID, "VBUS_NOT_VALID"),
>  };
>  
> +static struct resource axp22x_usb_power_supply_resources[] = {
> +	DEFINE_RES_IRQ_NAMED(AXP22X_IRQ_VBUS_PLUGIN, "VBUS_PLUGIN"),
> +	DEFINE_RES_IRQ_NAMED(AXP22X_IRQ_VBUS_REMOVAL, "VBUS_REMOVAL"),
> +};
> +
>  static struct resource axp22x_pek_resources[] = {
>  	{
>  		.name   = "PEK_DBR",
> @@ -527,6 +532,11 @@ static struct mfd_cell axp22x_cells[] = {
>  		.resources		= axp22x_pek_resources,
>  	}, {
>  		.name			= "axp20x-regulator",
> +	}, {
> +		.name		= "axp20x-usb-power-supply",
> +		.of_compatible	= "x-powers,axp221-usb-power-supply",
> +		.num_resources	= ARRAY_SIZE(axp22x_usb_power_supply_resources),
> +		.resources	= axp22x_usb_power_supply_resources,
>  	},
>  };
>  

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  parent reply	other threads:[~2016-06-10 14:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 17:18 [PATCH v2 1/4] power: axp20x_usb: Add support for usb power-supply on axp22x pmics Hans de Goede
2016-06-02 17:18 ` [PATCH v2 2/4] mfd: axp20x: Extend axp22x_volatile_ranges Hans de Goede
2016-06-10 14:57   ` Lee Jones
     [not found] ` <1464887936-17020-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-06-02 17:18   ` [PATCH v2 3/4] mfd: axp20x: Add axp20x-usb-power-supply for axp22x pmics Hans de Goede
2016-06-03  1:20     ` Chen-Yu Tsai
2016-06-10 14:56     ` Lee Jones [this message]
2016-06-10 18:47       ` Hans de Goede
2016-06-02 17:18 ` [PATCH v2 4/4] regulator: axp20x: Add support for the (external) drivebus regulator Hans de Goede
2016-06-03  1:38   ` Chen-Yu Tsai
2016-06-03 16:59     ` Hans de Goede
2016-06-03  1:39 ` [PATCH v2 1/4] power: axp20x_usb: Add support for usb power-supply on axp22x pmics Chen-Yu Tsai
2016-06-04 14:01 ` Sebastian Reichel
2016-06-04 14:09   ` Hans de Goede
2016-06-10  1:37     ` Sebastian Reichel
2016-06-06 13:26 ` Rob Herring

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=20160610145622.GB7351@dell \
    --to=lee.jones@linaro.org \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --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).