linux/drivers/pinctrl/sunxi
Maxime Ripard d8323c6b03 pinctrl: sunxi: Add custom irq_domain_ops
The current interrupt parsing code was working by accident, because the
default was actually parsing the first node of interrupts.

While that was mostly working (and the flags were actually ignored), this
binding has never been documented, and doesn't work with SoCs that have
multiple interrupt banks anyway.

Add a proper interrupt xlate function, that uses the same description than
the GPIOs (<bank> <pin> <flags>), that will make things less confusing.

The EINT number will still be used as the hwirq number, but won't be
exposed through the DT.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-27 14:56:30 +02:00
..
Kconfig pinctrl: sunxi: Add allwinner A33 PIO controller support 2015-06-04 10:32:11 +02:00
Makefile pinctrl: sunxi: Add allwinner A33 PIO controller support 2015-06-04 10:32:11 +02:00
pinctrl-sun4i-a10.c This is the bulk of pin control changes for the v4.1 development 2015-04-14 17:58:15 -07:00
pinctrl-sun5i-a10s.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun5i-a13.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun6i-a31-r.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun6i-a31.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun6i-a31s.c pinctrl: Remove .owner field 2015-06-04 10:12:42 +02:00
pinctrl-sun7i-a20.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun8i-a23-r.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun8i-a23.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sun8i-a33.c pinctrl: sunxi: Add allwinner A33 PIO controller support 2015-06-04 10:32:11 +02:00
pinctrl-sun9i-a80.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-sunxi.c pinctrl: sunxi: Add custom irq_domain_ops 2015-07-27 14:56:30 +02:00
pinctrl-sunxi.h pinctrl: sun4i: GPIOs configured as irq must be set to input before reading 2015-03-18 10:56:46 +01:00