How to use saa7134 gpio via gpio-sysfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to bit twiddle saa7134 gpio pins from userspace.
To use gpio-sysfs, I need a "GPIO number" to export each pin, but I
do not know how to find such a number.

Card is RTD Embedded Technologies VFG7350 [card=72,autodetected].
GPIO uses pcf8574 chip.
Kernel is 2.6.30.

gpio-sysfs creates
    /sys/class/gpio/export
    /sys/class/gpio/import
but no gpio<n> entries so far.

>From dmesg ("gpiotracking=1")
    saa7133[0]: board init: gpio is 10000
    saa7133[0]: gpio: mode=0x0000000 in=0x4011000 out=0x0000000 [pre-init]
    saa7133[1]: board init: gpio is 10000
    saa7133[1]: gpio: mode=0x0000000 in=0x4010f00 out=0x0000000 [pre-init]

How may I find each "GPIO number" for this board?

Thanks in advance for any help.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux