Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1346359
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] pinctrl: sunxi: Change mux setting on PI irq pins |
| Date | 2016-03-01 05:50 +0100 |
| Message-ID | <r7KpX-4hl-1@gated-at.bofh.it> (permalink) |
| References | <r7iWJ-1yM-9@gated-at.bofh.it> <r7iWJ-1yM-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Feb 29, 2016 at 12:13:27AM +0100, Henry Paulissen wrote: > 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> Thanks ! -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] pinctrl: sunxi: Change mux setting on PI irq pins Henry Paulissen <henry@nitronetworks.nl> - 2016-02-29 00:30 +0100 Re: [PATCH 2/2] pinctrl: sunxi: Change mux setting on PI irq pins Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-01 05:50 +0100
csiph-web