cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
srinivasan
Explorer
Explorer
2,561 Views
Registered: ‎02-17-2017

Unable to find the sysfs entries for the gpio configured using emio

Dear Xilinx community

 

I have configured existing GPIO controller via EMIO , I have attached the configuration files the problem is am unable to find the sysfs entries for GPIO pins 54, 55, 56, 57 configured via EMIO

 

 

zync:/# mount -t debugfs none /sys/kernel/debug
zync:/# cat /sys/
block/     bus/       class/     dev/       devices/   firmware/  fs/        kernel/    module/    power/
zync:/# cat /sys/kernel/debug/
bdi/                fault_around_bytes  iio/                mmc0/               regmap/             ubifs/
clk/                gpio                irq_domain_mapping  pinctrl/            sleep_time          usb/
dynamic_debug/      hid/                memblock/           pm_qos/             ubi/                uwb/
zync:/# cat /sys/kernel/debug/gpio
gpiochip1: GPIOs 1008-1015, /amba@0/gpio@41240000:

gpiochip0: GPIOs 1016-1023, /amba@0/gpio@41200000:
zync:/#
zync:/#
zync:/# echo 906 > /sys/class/gpio/export
-sh: write error: Invalid argument
zync:/#


Could you please let me know how to resolve issue so that I can drive these pins from syfs entries
 
Kindly do the needful as early as possible
Many Thanks in advance
0 Kudos
0 Replies