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

out

cat  /sys/class/gpio/gpio7/value

0

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

cat  /sys/class/gpio/gpio7/value

0

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,

Lavanya

Outcomes