devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Mark Brown
	<broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>,
	Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>
Subject: Re: [Patch v3 2/4] mfd: tps65090: Add resources for charger
Date: Tue, 19 Mar 2013 12:17:38 -0400	[thread overview]
Message-ID: <51488FA2.2090509@nvidia.com> (raw)
In-Reply-To: <1363126089-9071-3-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 3/12/2013 6:08 PM, Rhyland Klein wrote:
> Add irq resources to pass to the charger mfd sub dev so
> the charger can listen for interrupts.
> 
> Signed-off-by: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> v3:
>  - no changes since v2
> v2:
>  - no changes since v1
> 
>  drivers/mfd/tps65090.c |   10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
> index 98edb5be..88846ae 100644
> --- a/drivers/mfd/tps65090.c
> +++ b/drivers/mfd/tps65090.c
> @@ -56,12 +56,22 @@
>  #define TPS65090_INT2_MASK_OVERLOAD_FET6		6
>  #define TPS65090_INT2_MASK_OVERLOAD_FET7		7
>  
> +static struct resource charger_resources[] = {
> +	{
> +		.start  = TPS65090_IRQ_VAC_STATUS_CHANGE,
> +		.end    = TPS65090_IRQ_VAC_STATUS_CHANGE,
> +		.flags  = IORESOURCE_IRQ,
> +	}
> +};
> +
>  static struct mfd_cell tps65090s[] = {
>  	{
>  		.name = "tps65090-pmic",
>  	},
>  	{
>  		.name = "tps65090-charger",
> +		.num_resources = ARRAY_SIZE(charger_resources),
> +		.resources = &charger_resources[0],
>  	},
>  };
>  
> 

Samuel, Anton merged patches 3 & 4 of this series. Have you had a chance
to review patches 1 & 2 ?

-rhyland

-- 
nvpublic

  parent reply	other threads:[~2013-03-19 16:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 22:08 [Patch v3 0/4] Add support for tps65090-charger Rhyland Klein
2013-03-12 22:08 ` [Patch v3 1/4] mfd: tps65090: Fix enum in header file Rhyland Klein
2013-03-12 22:08 ` [Patch v3 3/4] power_supply: tps65090-charger: Add binding doc Rhyland Klein
2013-03-12 23:10   ` Stephen Warren
     [not found]     ` <513FB5D7.5090800-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-13 19:25       ` Rhyland Klein
     [not found]         ` <5140D2C1.8020507-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-03-13 20:41           ` Stephen Warren
     [not found]             ` <5140E48D.60501-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-13 21:08               ` Rhyland Klein
2013-03-12 22:08 ` [Patch v3 4/4] power: tps65090: Add support for tps65090-charger Rhyland Klein
     [not found] ` <1363126089-9071-1-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-03-12 22:08   ` [Patch v3 2/4] mfd: tps65090: Add resources for charger Rhyland Klein
     [not found]     ` <1363126089-9071-3-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-03-19 16:17       ` Rhyland Klein [this message]
2013-03-19  2:24   ` [Patch v3 0/4] Add support for tps65090-charger Anton Vorontsov
     [not found]     ` <20130319022402.GA14118-1CZZkhFgUWNRmOO2HpYVOJIbA5emDH3N@public.gmane.org>
2013-03-19 15:55       ` Rhyland Klein
     [not found]         ` <51488A75.6000003-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-03-19 15:59           ` Anton Vorontsov
     [not found]             ` <20130319155945.GA17614-1CZZkhFgUWNRmOO2HpYVOJIbA5emDH3N@public.gmane.org>
2013-03-19 16:05               ` Rhyland Klein

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=51488FA2.2090509@nvidia.com \
    --to=rklein-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.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).