AnsweredAssumed Answered

Unable to access gpios in sysfs entries for 3.14 kernel version with dts files

Question asked by Bandaru Lavanya on Jul 20, 2016
Latest reply on Jul 20, 2016 by igorpadykov

Hi All,


i want to toggle gpio pins in sysfs entries.

eg: pin7

echo 7 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio7/direction

cat /sys/class/gpio/gpio7/direction


cat  /sys/class/gpio/gpio7/value


echo 1 > /sys/class/gpio/gpio7/value

cat  /sys/class/gpio/gpio7/value


Here i am not able to change value for this gpio.

i tried with some other gpio's also all are giving like this only

can anyone please help me i am new to the device tree files.

for this am i need to give any thing in dts file.


Thanks & Regards,