Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1228813
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 1/3] regmap: add generic macro to define regmap_irq |
| Date | 2015-09-20 06:20 +0200 |
| Message-ID | <qaEgx-5MM-3@gated-at.bofh.it> (permalink) |
| References | <q8xsS-Tg-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Couple of people requested this now:
Acked-by: Lee Jones <lee.jones@linaro.org>
> Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
> ---
> include/linux/regmap.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v6 1/3] regmap: add generic macro to define regmap_irq Qipeng Zha <qipeng.zha@intel.com> - 2015-09-14 10:40 +0200
[PATCH v6 3/3] mfd: add Intel Broxton Whiskey Cove PMIC driver Qipeng Zha <qipeng.zha@intel.com> - 2015-09-14 10:40 +0200
Re: [PATCH v6 3/3] mfd: add Intel Broxton Whiskey Cove PMIC driver Lee Jones <lee.jones@linaro.org> - 2015-09-20 06:20 +0200
RE: [PATCH v6 3/3] mfd: add Intel Broxton Whiskey Cove PMIC driver "Zha, Qipeng" <qipeng.zha@intel.com> - 2015-09-21 04:00 +0200
[PATCH v6 2/3] mfd: update intel_soc_pmic structure to support Broxton WC PMIC Qipeng Zha <qipeng.zha@intel.com> - 2015-09-14 10:40 +0200
Re: [PATCH v6 2/3] mfd: update intel_soc_pmic structure to support Broxton WC PMIC Lee Jones <lee.jones@linaro.org> - 2015-09-20 06:20 +0200
Re: [PATCH v6 1/3] regmap: add generic macro to define regmap_irq Mark Brown <broonie@kernel.org> - 2015-09-20 02:40 +0200
Re: [PATCH v6 1/3] regmap: add generic macro to define regmap_irq Lee Jones <lee.jones@linaro.org> - 2015-09-20 06:20 +0200
csiph-web