summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHenry Paulissen <henry@nitronetworks.nl>2016-02-28 23:13:26 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2016-03-08 09:00:38 (GMT)
commit9c24ef41fe128eb4c36b7786fced39ef5acd10de (patch)
tree4b4a05fae990766965925d13795d33afb62e16e3 /sound
parent8626ada871f123390b39910d47de84ab3cf67443 (diff)
downloadlinux-9c24ef41fe128eb4c36b7786fced39ef5acd10de.tar.xz
pinctrl: sunxi: Remove non existing irq's
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 233: EINT12 is on pin PC19 mux6. Page 236: EINT12 is on pin PH12 mux6. Now, it is a bit strange to have the same IRQ on 2 different pins, but I guess this could still be possible hardware wise. But then: Pin registers: Page 253: EINT12 is *not* on pin PC19. Page 281: EINT12 is on pin PH12. 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. 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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions