[linux-sunxi] [PATCH v2] Fix sun7i pin assignment for IRQ's

2016-02-20 Thread hp197
After testing IRQ pins we found some bugs in the pinctrl declaration. Signed-off-by: hp197 --- Changes in v2: After some more testing we found irq on PI pins. they where on mux6 so this is included in my patch. Also included is a warning for PI17, this pin was not working on

[linux-sunxi] Re: [PATCH] Fix sun7i pin assignment for IRQ's

2016-02-20 Thread hp197
Op zaterdag 20 februari 2016 22:28:35 UTC+1 schreef hp197: > > IRQ pins are now according this page: http://linux-sunxi.org/A20/PIO > > Signed-off-by: hp197 > --- > drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c | 14 -- > 1 file changed, 14 deletions(-) >

[linux-sunxi] [PATCH] Fix sun7i pin assignment for IRQ's

2016-02-20 Thread hp197
IRQ pins are now according this page: http://linux-sunxi.org/A20/PIO Signed-off-by: hp197 --- drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c b/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c index

Re: [linux-sunxi] Re: Cubieboard GPIO interrupts

2016-02-20 Thread hp197
Op zaterdag 20 februari 2016 18:35:18 UTC+1 schreef John S: > > I see a comment that I don't really understand but maybe it helps. > > It is here https://github.com/jwrdegoede/linux-sunxi/pull/3 > Looking at the diff: https://github.com/fredericgermain/linux-sunxi/commit/b18f7d273a1cf5f3bc164742

[linux-sunxi] Re: Cubieboard GPIO interrupts

2016-02-20 Thread hp197
Op vrijdag 19 februari 2016 14:08:59 UTC+1 schreef hp197: > > > http://lxr.free-electrons.com/source/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c#L984 > According the code pin PI[10-19] have IRQ connected to mux 0x5. > > While if I taker a look onto the datasheet of the a20, I

[linux-sunxi] Cubieboard GPIO interrupts

2016-02-19 Thread hp197
Hi, As some of you on IRC might have noticed the past couple of days, im trying to get interrupts working on the GPIO pins of the cubietruck. In my quest for a irq, i found something what I think is a bug in the pinctrl driver. http://lxr.free-electrons.com/source/drivers/pinctrl/sunxi/pinctrl-