Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-11-25 Thread ivoronov
DTS FIXED: Per http://www.serverphorums.com/read.php?12,1260131 Add a proper interrupt xlate function, that uses the same description than the GPIOs ( ), that will make things less confusing. Corrected example interrupt-parent = <&pio>; interrupts = <7 10 IRQ_TYPE_LEVEL_LOW>; /* PH10 / EINT10 *

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-11-24 Thread ivoronov
Update: When trying to load the example http://linux-sunxi.org/External_interrupts just changing PH20 to PH7 [ 529.653595] /rebooter: arguments longer than property [ 529.658844] rebooter-irq: cannot register IRQ -6 [ 529.663558] prismlx-rebooter: probe of rebooter failed with error -5 --

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-11-23 Thread ivoronov
Dear Andrea, Maxime & Co, In the past I have set up EINT7 for my Cubie2 per manual http://linux-sunxi.org/External_interrupts and it works well on 3.19 through 4.2 kernels. In looking at audio sunxi-codec working I switched to 4.4-rc1 over the last week and discovered the following: 1) my modu

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-07 Thread Maxime Ripard
Please keep all the recipients in Cc. On Thu, May 07, 2015 at 02:13:16AM -0700, Andrea Venturi wrote: > > I don't think that ever supposed to work that way, most notably > > because it just wouldn't work with SoCs that multiple interrupt banks > > (like the A31, A23, etc.) > > > > > sorry, i'm

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-07 Thread Andrea Venturi
On Thursday, May 7, 2015 at 10:00:04 AM UTC+2, Maxime Ripard wrote: > > ... > > any advice for further investigation? > > There's more to it. > > thanx for the quick reply! > I don't think that ever supposed to work that way, most notably > because it just wouldn't work with SoCs that multi

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-07 Thread Maxime Ripard
On Wed, May 06, 2015 at 11:48:59PM -0700, Andrea Venturi wrote: > hello, > > i have an issue about external interrupts, following this clear example: > http://linux-sunxi.org/External_interrupts > > it works for EINT up to EINT21 in PH port, but if i try in an Olimex A20 > SOM (on a A20 SOM EVB

[linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-05-06 Thread Andrea Venturi
hello, i have an issue about external interrupts, following this clear example: http://linux-sunxi.org/External_interrupts it works for EINT up to EINT21 in PH port, but if i try in an Olimex A20 SOM (on a A20 SOM EVB who have a schematic available showing no hints AFAICS) an EINT in PI port (