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