public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Qipeng Zha <qipeng.zha@intel.com>
Cc: linux-kernel@vger.kernel.org, broonie@kernel.org, samuel.ortiz@intel.com
Subject: Re: [PATCH v6 1/3] regmap: add generic macro to define regmap_irq
Date: Tue, 22 Sep 2015 23:04:38 +0100	[thread overview]
Message-ID: <20150922220438.GG3442@x1> (raw)
In-Reply-To: <1442248759-124102-1-git-send-email-qipeng.zha@intel.com>

On Tue, 15 Sep 2015, Qipeng Zha wrote:

> Add REGMAP_IRQ_REG macro in regmap.h to define regmap_irq
> structure easily for other driver module.
> 
> Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
> ---
>  include/linux/regmap.h | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.

> diff --git a/include/linux/regmap.h b/include/linux/regmap.h
> index 116655d..0d1ee0a 100644
> --- a/include/linux/regmap.h
> +++ b/include/linux/regmap.h
> @@ -517,6 +517,9 @@ struct regmap_irq {
>  	unsigned int mask;
>  };
>  
> +#define REGMAP_IRQ_REG(_irq, _off, _mask)		\
> +	[_irq] = { .reg_offset = (_off), .mask = (_mask) }
> +
>  /**
>   * Description of a generic regmap irq_chip.  This is not intended to
>   * handle every possible interrupt controller, but it should handle a

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

      parent reply	other threads:[~2015-09-22 22:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14 16:39 [PATCH v6 1/3] regmap: add generic macro to define regmap_irq Qipeng Zha
2015-09-14 16:39 ` [PATCH v6 2/3] mfd: update intel_soc_pmic structure to support Broxton WC PMIC Qipeng Zha
2015-09-20  4:18   ` Lee Jones
2015-09-22 22:05   ` Lee Jones
2015-09-14 16:39 ` [PATCH v6 3/3] mfd: add Intel Broxton Whiskey Cove PMIC driver Qipeng Zha
2015-09-20  4:18   ` Lee Jones
2015-09-21  1:51     ` Zha, Qipeng
2015-09-22 22:05   ` Lee Jones
2015-09-19 18:22 ` [PATCH v6 1/3] regmap: add generic macro to define regmap_irq Mark Brown
2015-09-22 22:04   ` Lee Jones
2015-09-23 17:58     ` Mark Brown
2015-09-24 17:20       ` [GIT PULL] mfd: Immutable branch between MFD and Regmap due for v4.3 Lee Jones
2015-09-20  4:18 ` [PATCH v6 1/3] regmap: add generic macro to define regmap_irq Lee Jones
2015-09-22 22:04 ` Lee Jones [this message]

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=20150922220438.GG3442@x1 \
    --to=lee.jones@linaro.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qipeng.zha@intel.com \
    --cc=samuel.ortiz@intel.com \
    /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