OpenCloudOS-Kernel/drivers/pinctrl
Henry Paulissen 7866f5a0ba pinctrl: sunxi: Change mux setting on PI irq pins
While I was testing irq's on the cubietruck I found a couple of
not working irq pins. Further diving into the problem it opened
up a mess called "manual".

This so called manual (A20 user manual v1.3 dated 2014-10-10) says:

Pin overview:
    Page 237:       EINT26 is on mux 5.
    Page 288:       EINT26 is on mux 6.

The manual is so contradicting that further tests had to be made
to see which of the 2 statements where correct.

This patch is based on actual outcome of these tests and not what
the manual says.

Test procedure used:

Connect a 1 pulse per second (GPS) line to the pin.

echo pin### > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio###/direction
echo rising > /sys/class/gpio/gpio###/edge

Check /proc/interrupts if a irq was attached and if irq's where
received.

Hardware used:
Henry Paulissen: Cubietruck
Andere Przywara: BananaPi M1

Tested-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Henry Paulissen <henry@nitronetworks.nl>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-03-08 16:02:27 +07:00
..
bcm pinctrl-bcm2835: Fix cut-and-paste error in "pull" parsing 2016-03-08 15:17:19 +07:00
berlin pinctrl: berlin: guard sub-directory with CONFIG_PINCTRL_BERLIN 2015-12-01 10:39:26 +01:00
freescale pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
intel pinctrl: intel: Remove unneeded header includes 2016-02-12 13:56:57 +01:00
mediatek pinctrl: mediatek/7623: delete unnecessary .owner 2016-02-25 16:25:55 +01:00
meson pinctrl: meson: use gpiochip data pointer 2016-01-05 14:14:50 +01:00
mvebu pinctrl: mvebu: complain about missing group after checking variant 2015-12-09 16:15:07 +01:00
nomadik pinctrl: nomadik: stn8815 CLCD alternate functions 2016-01-28 12:26:34 +01:00
pxa pinctrl: pxa: pxa2xx: add pin control skeleton 2015-12-15 14:07:06 +01:00
qcom pinctrl: qcom: ipq4019: Add IPQ4019 pinctrl support 2016-02-16 15:52:21 +01:00
samsung GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
sh-pfc pinctrl: sh-pfc: r8a7795: Add CAN FD support 2016-02-26 13:59:41 +01:00
sirf GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
spear GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
stm32 pinctrl: stm32: Remove dependency with DT bindings header files 2016-02-09 10:52:28 +01:00
sunxi pinctrl: sunxi: Change mux setting on PI irq pins 2016-03-08 16:02:27 +07:00
tegra pinctrl: tegra: move Tegra pinctrl drivers to sub-directory 2016-02-05 15:16:43 +01:00
uniphier pinctrl: uniphier: add COMPILE_TEST option 2016-02-10 10:55:39 +01:00
vt8500 pinctrl: vt8500-wmt: use gpiochip data pointer 2016-01-05 14:15:08 +01:00
Kconfig pinctrl: Turn AMD support to tristate 2016-02-16 00:11:49 +01:00
Makefile pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK 2016-02-13 23:34:19 +01:00
core.c pinctrl: core: create nolock version of pinctrl_find_gpio_range_from_pin 2016-03-07 10:41:20 +07:00
core.h pinctrl: core: create nolock version of pinctrl_find_gpio_range_from_pin 2016-03-07 10:41:20 +07:00
devicetree.c pinctrl: simplify of_pinctrl_get() 2015-07-16 09:39:03 +02:00
devicetree.h pinctrl: core device tree mapping table parsing support 2012-04-18 13:53:10 +02:00
pinconf-generic.c pinctrl: update document for pinconf_generic_parse_dt_config 2015-12-01 11:11:05 +01:00
pinconf.c pinctrl: pinconf: remove needless loop 2015-10-31 22:13:07 +01:00
pinconf.h pinctrl: pinconf-generic: Allow driver to specify DT params 2015-01-11 22:32:19 +01:00
pinctrl-adi2-bf54x.c pinctrl: pinctrl-adi: combine multiple groups of one function together 2014-02-25 10:49:13 +01:00
pinctrl-adi2-bf60x.c added tabs instead of spaces 2015-07-16 09:39:01 +02:00
pinctrl-adi2.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-adi2.h pinctrl: pinctrl-adi: combine multiple groups of one function together 2014-02-25 10:49:13 +01:00
pinctrl-amd.c pinctrl: Fix return value check in amd_gpio_probe() 2016-02-15 19:42:41 +01:00
pinctrl-amd.h Fix inconsistent spinlock of AMD GPIO driver which can be 2015-04-07 11:36:49 +02:00
pinctrl-as3722.c pinctrl: as3722: use gpiochip data pointer 2016-01-05 14:14:53 +01:00
pinctrl-at91-pio4.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-at91.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-at91.h pinctrl: at91: use own header 2014-10-29 09:28:35 +01:00
pinctrl-coh901.c pinctrl: coh901: fix initconst annotation 2016-02-15 20:40:52 +01:00
pinctrl-coh901.h pinctrl: support pinconfig on the U300 2012-03-12 22:49:03 +01:00
pinctrl-digicolor.c pinctrl: digicolor: use gpiochip data pointer 2016-01-05 14:14:55 +01:00
pinctrl-falcon.c staging: drivers: pinctrl: Fixed checkpatch.pl warnings 2015-01-21 11:02:26 +01:00
pinctrl-lantiq.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-lantiq.h pinctrl/lantiq: introduce new dedicated devicetree bindings 2015-11-30 13:12:07 +01:00
pinctrl-lpc18xx.c pinctrl: lpc18xx: add nxp,gpio-pin-interrupt property 2016-03-07 10:44:30 +07:00
pinctrl-palmas.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-pic32.c pinctrl: pinctrl-pic32: Add PIC32 pin control driver 2016-02-05 23:54:47 +01:00
pinctrl-pic32.h pinctrl: pinctrl-pic32: Add PIC32 pin control driver 2016-02-05 23:54:47 +01:00
pinctrl-pistachio.c pinctrl: pistachio: use gpiochip data pointer 2016-01-05 14:14:55 +01:00
pinctrl-rockchip.c pinctrl: rockchip: add support for the rk3399 2016-02-10 16:41:03 +01:00
pinctrl-single.c pinctrl: Delete unnecessary checks 2015-11-17 11:49:50 +01:00
pinctrl-st.c pinctrl: st: activate strict mux mode 2016-01-27 11:02:53 +01:00
pinctrl-tb10x.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tz1090-pdc.c pinctrl: tz1090-pdc: Remove unneded semicolons 2015-10-02 04:06:46 -07:00
pinctrl-tz1090.c pinctrl: tz1090: Remove unneded semicolons 2015-10-02 04:06:46 -07:00
pinctrl-u300.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-utils.c pinctrl: utils: include export.h to avoid warnings 2013-08-28 15:50:33 +02:00
pinctrl-utils.h pinctrl: add utility functions for add map/configs 2013-08-14 21:00:41 +02:00
pinctrl-xway.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-zynq.c pinctrl: zynq: fix typo in group name for qspi1 2016-02-15 19:18:59 +01:00
pinmux.c pinctrl: join lines that can be a single line within 80 columns 2015-09-14 09:13:43 +02:00
pinmux.h pinctrl: ifdef CONFIG_DEBUG_FS cleanup 2012-04-18 13:53:12 +02:00