All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] pinctrl: meson: enable support for external GPIO interrupts
@ 2015-11-23 10:16 ` Carlo Caione
  0 siblings, 0 replies; 32+ messages in thread
From: Carlo Caione @ 2015-11-23 10:16 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	jiang.liu-VuQAYsv1563Yd54FQh9/CA, marc.zyngier-5wv7dgnIgG8,
	tglx-hfZtesqFncYOwBW4kG4KsQ,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
	b.galvani-Re5JQEeQqe8AvxtiuMwx3w,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-meson-/JYPxA39Uh5TLH3MbocFFw, drake-6IF/jdPJHihWk0Htik3J/w,
	jerry.cao-LpR1jeaWuhtBDgjK7y7TUQ,
	victor.wan-LpR1jeaWuhtBDgjK7y7TUQ
  Cc: Carlo Caione

From: Carlo Caione <carlo-6IF/jdPJHihWk0Htik3J/w@public.gmane.org>

In Meson SoCs we have 8 independent GPIO interrupts that can be programmed to
use any of the GPIOs in the chip as interrupt source.

These GPIOs are managed by GIC but they can be conditioned (and enabled) by
some registers external to the GIC.

GPIOs |--[mux1 or mux2]--[polarity]--[filter]--[edge_select]--> GIC

For discussion see comment to the [PATCH 3/5].

Changelog:

* V2:
    - Introduced .irq_request_resources() and .irq_release_resources()
    - s/virq/irq/ and s/pin/hwirq/
    - Moved to the new irq_fwspec

Carlo Caione (5):
  of/irq: export of_irq_find_parent again
  irqdomain: introduce irq_of_phandle_args_to_fwspec
  pinctrl: meson: enable GPIO IRQs
  pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support
  ARM: meson: DTS: Enable GPIO IRQs

 .../devicetree/bindings/pinctrl/meson,pinctrl.txt  |  12 +
 arch/arm/boot/dts/meson8b.dtsi                     |   6 +
 drivers/of/irq.c                                   |   2 +-
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/meson/pinctrl-meson.c              | 303 +++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson.h              |  18 +-
 drivers/pinctrl/meson/pinctrl-meson8.c             |  36 ++-
 drivers/pinctrl/meson/pinctrl-meson8b.c            |  36 ++-
 include/linux/of_irq.h                             |   8 +
 kernel/irq/irqdomain.c                             |   5 +-
 10 files changed, 393 insertions(+), 34 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2015-12-01 16:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23 10:16 [PATCH v2 0/5] pinctrl: meson: enable support for external GPIO interrupts Carlo Caione
2015-11-23 10:16 ` Carlo Caione
     [not found] ` <1448273816-11290-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2015-11-23 10:16   ` [PATCH v2 1/5] of/irq: export of_irq_find_parent again Carlo Caione
2015-11-23 10:16     ` Carlo Caione
     [not found]     ` <1448273816-11290-2-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2015-11-30 13:47       ` Linus Walleij
2015-11-30 13:47         ` Linus Walleij
2015-11-23 10:16   ` [PATCH v2 2/5] irqdomain: introduce irq_of_phandle_args_to_fwspec Carlo Caione
2015-11-23 10:16     ` Carlo Caione
     [not found]     ` <1448273816-11290-3-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2015-11-26 17:25       ` Marc Zyngier
2015-11-26 17:25         ` Marc Zyngier
2015-11-23 10:16   ` [PATCH v2 3/5] pinctrl: meson: enable GPIO IRQs Carlo Caione
2015-11-23 10:16     ` Carlo Caione
     [not found]     ` <1448273816-11290-4-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2015-11-24  8:28       ` Marc Zyngier
2015-11-24  8:28         ` Marc Zyngier
     [not found]         ` <20151124082801.09139a93-5wv7dgnIgG8@public.gmane.org>
2015-11-24  9:04           ` [linux-meson] " Carlo Caione
2015-11-24  9:04             ` Carlo Caione
     [not found]             ` <CAOQ7t2ZUAefL2xuEzAwoQWi3tpu7N7y6krMv1UUzaBT4BYZv4A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-26 16:09               ` Carlo Caione
2015-11-26 16:09                 ` Carlo Caione
2015-11-26 16:27               ` Marc Zyngier
2015-11-26 16:27                 ` Marc Zyngier
     [not found]                 ` <20151126162722.1146b220-5wv7dgnIgG8@public.gmane.org>
2015-11-26 17:56                   ` Carlo Caione
2015-11-26 17:56                     ` Carlo Caione
2015-11-23 10:16   ` [PATCH v2 4/5] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support Carlo Caione
2015-11-23 10:16     ` Carlo Caione
     [not found]     ` <1448273816-11290-5-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2015-11-23 23:47       ` Rob Herring
2015-11-23 23:47         ` Rob Herring
2015-12-01 16:02         ` [linux-meson] " Carlo Caione
2015-12-01 16:02           ` Carlo Caione
2015-11-23 10:16   ` [PATCH v2 5/5] ARM: meson: DTS: Enable GPIO IRQs Carlo Caione
2015-11-23 10:16     ` Carlo Caione
2015-11-30 13:53   ` [PATCH v2 0/5] pinctrl: meson: enable support for external GPIO interrupts Linus Walleij
2015-11-30 13:53     ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.