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
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,
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
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
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
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
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
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
8 matches
Mail list logo