linux/drivers/pinctrl/sunxi
Icenowy Zheng 1899ccc041 pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl
The pin controller of Allwinner H5 has three IRQ banks, however in old
versions of drivers and device trees, only two are set, which makes
PG bank IRQ not available.

If it's directly set to 3, the old device trees will fail to boot.

Add a workaround (and a warning) for older device trees, and allow new
device trees to use correct 3 IRQ banks.

Fixes: 838adb576d ("drivers: pinctrl: add driver for Allwinner H5 SoC")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-08-22 14:48:24 +02:00
..
Kconfig pinctrl: sunxi: add support of R40 to A10 pinctrl driver 2017-08-14 15:00:59 +02:00
Makefile pinctrl: sunxi: Add support for A83T R_PIO 2017-06-09 11:20:32 +02:00
pinctrl-sun4i-a10.c pinctrl: sunxi: add support of R40 to A10 pinctrl driver 2017-08-14 15:00:59 +02:00
pinctrl-sun5i.c pinctrl: sunxi: make sun5i explicitly non-modular 2017-02-06 11:28:22 +01:00
pinctrl-sun6i-a31-r.c pinctrl: sunxi: explicitly request exclusive reset control 2017-08-14 15:01:02 +02:00
pinctrl-sun6i-a31.c pinctrl: sunxi: Support A31/A31s with pinctrl variants 2017-02-06 11:05:57 +01:00
pinctrl-sun8i-a23-r.c pinctrl: sunxi: explicitly request exclusive reset control 2017-08-14 15:01:02 +02:00
pinctrl-sun8i-a23.c pinctrl: sunxi: make bool drivers explicitly non-modular 2016-11-04 23:25:34 +01:00
pinctrl-sun8i-a33.c pinctrl: sunxi: make bool drivers explicitly non-modular 2016-11-04 23:25:34 +01:00
pinctrl-sun8i-a83t-r.c pinctrl: sunxi: Add support for A83T R_PIO 2017-06-09 11:20:32 +02:00
pinctrl-sun8i-a83t.c pinctrl: sunxi: Fix SPDIF function name for A83T 2017-05-23 11:30:56 +02:00
pinctrl-sun8i-h3-r.c pinctrl: sunxi: rename R_PIO i2c pin function name 2017-08-14 15:00:59 +02:00
pinctrl-sun8i-h3.c pinctrl: sunxi: Remove unsupported PWM channel pinmux in H3 2016-09-08 01:08:23 +02:00
pinctrl-sun8i-v3s.c pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base 2017-08-14 15:01:03 +02:00
pinctrl-sun9i-a80-r.c pinctrl: sunxi: make A80 explicitly non-modular 2016-03-09 10:27:25 +07:00
pinctrl-sun9i-a80.c pinctrl: sunxi: make bool drivers explicitly non-modular 2016-11-04 23:25:34 +01:00
pinctrl-sun50i-a64-r.c pinctrl: sunxi: Add A64 R_PIO controller support 2017-03-14 14:42:24 +01:00
pinctrl-sun50i-a64.c drivers: pinctrl: add driver for Allwinner A64 SoC 2016-03-11 22:46:27 +07:00
pinctrl-sun50i-h5.c pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl 2017-08-22 14:48:24 +02:00
pinctrl-sunxi.c pinctrl: sunxi: constify irq_domain_ops 2017-06-09 10:58:58 +02:00
pinctrl-sunxi.h pinctrl: sunxi: Add SoC ID definitions for A10, A20 and R40 SoCs 2017-05-29 18:31:56 +02:00