Welcome, Guest

Author Topic: A10 lime fast GPIO  (Read 1457 times)

electrolab

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
A10 lime fast GPIO
« on: October 03, 2014, 09:59:16 PM »
Hello

I was wondering if there is a way of controlling the lime GPIO without sysfs.
There was the same conversation for the allwinner A13
https://www.olimex.com/forum/index.php?topic=436.0

Although there seem to be multiple ways to do it. There is no one of them clear enough.
In the u-boot sources there is Tom drivers for gpio
https://gitorious.org/linux-sunxi/u-boot-sunxi/source/ca3c303ff5e9297e980bafef9d2ceaf5a40b4408:drivers/gpio/sunxi_gpio.c

I am lost with the multiple choices i have to make.
Any kind of help appreciated!
Cheers




JohnS

  • Hero Member
  • *****
  • Posts: 1717
  • Karma: +33/-47
Re: A10 lime fast GPIO
« Reply #1 on: October 03, 2014, 10:13:52 PM »
Those ways should work but if you're struggling to cope with them then I suggest sticking to Linux own way (via FS).

Bear in mind that Linux can suddenly reschedule and leave your app not running for an unpredictable, sometimes long, time.

John