[linux-sunxi] [PATCH] Add triggers for cubietruck leds

2016-02-24 Thread Henry Paulissen
This (small) patch gives the same led trigger functionality as the 3.4 sunxi kernel and although mainline doesn't has to be the same, it helps in identifying and builds upon the user expectations about what those leds mean. Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- ar

[linux-sunxi] Re: [PATCH] Add triggers for cubietruck leds

2016-02-24 Thread Henry Paulissen
Op woensdag 24 februari 2016 09:57:36 UTC+1 schreef Henry Paulissen: > > This (small) patch gives the same led trigger functionality > as the 3.4 sunxi kernel and although mainline doesn't has > to be the same, it helps in identifying and builds upon the > user expectations a

[linux-sunxi] [PATCH 1/2] pinctrl: sunxi: Remove non existing irq's

2016-02-28 Thread Henry Paulissen
o/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 <he...@nitronetworks.nl> --- drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c | 12 --

[linux-sunxi] [PATCH 2/2] pinctrl: sunxi: Change mux setting on PI irq pins

2016-02-28 Thread Henry Paulissen
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

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

2016-02-25 Thread Henry Paulissen
Op donderdag 25 februari 2016 10:36:38 UTC+1 schreef Linus Walleij: > Aha there is a v5. I took out the v4 and applied this > instead. > > > There is also a v6. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group

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

2016-02-25 Thread Henry Paulissen
Op donderdag 25 februari 2016 15:16:49 UTC+1 schreef Linus Walleij: > > I'm taking this patch out of my tree now following Maxime's comments. > > I'm a bit annoyed that it is iterating too quickly as well, I will > wait and see for a while. > > All of Maxime his questions where already

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

2016-02-22 Thread Henry Paulissen
for both the PI and PC pins. Patch is based on testing with the hardware itself. Tested-by: Andre Przywara <andre.przyw...@arm.com> Reviewed-by: Andre Przywara <andre.przyw...@arm.com> Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- Changes in v2: After some mor

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

2016-02-22 Thread Henry Paulissen
for both the PI and PC pins. Patch is based on testing with the hardware itself. Tested-by: Andre Przywara <andre.przyw...@arm.com> Reviewed-by: Andre Przywara <andre.przyw...@arm.com> Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- Changes in v2: After some mor

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

2016-02-21 Thread Henry Paulissen
After testing IRQ pins we found some bugs in the pinctrl declaration. Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- 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 fo

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

2016-02-21 Thread Henry Paulissen
Op zondag 21 februari 2016 18:18:37 UTC+1 schreef Maxime Ripard: > > Your commit log is going to need some work. Which bugs? What tests did > you make? Why are you making these changes while the datasheet says > otherwise? > Its a fix for a not yet existing bug. I was fiddling around with

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

2016-02-21 Thread Henry Paulissen
ed and no other > modifications, right? > > Hmm, I see your (and Maxime his) point. I guess the C bank changes made it into the diff after testing the build. For what its worth, I corrected and completely checked the new upcoming diff. My apologies. Regards, Henry Paulissen -- You received

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

2016-02-21 Thread Henry Paulissen
After testing IRQ pins we found some bugs in the pinctrl declaration. Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- 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 fo

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

2016-02-22 Thread Henry Paulissen
for both the PI and PC pins. Patch is based on testing with the hardware itself. Signed-off-by: Henry Paulissen <he...@nitronetworks.nl> --- 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 w