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

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

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

2016-02-28 Thread Henry Paulissen
pio/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 --- drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c | 12 1 file changed,

[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 --- arch/arm/boot/dts/sun7

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

2016-02-22 Thread Henry Paulissen
cument for both the PI and PC pins. Patch is based on testing with the hardware itself. Tested-by: Andre Przywara Reviewed-by: Andre Przywara Signed-off-by: Henry Paulissen --- Changes in v2: After some more testing we found irq on PI pins. they where on mux6 so this is included i

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

2016-02-22 Thread Henry Paulissen
cument for both the PI and PC pins. Patch is based on testing with the hardware itself. Tested-by: Andre Przywara Reviewed-by: Andre Przywara Signed-off-by: Henry Paulissen --- Changes in v2: After some more testing we found irq on PI pins. they where on mux6 so this is included i

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

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

[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 --- 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

[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 --- 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