[meta-freescale] Incorrect GPIO value with Kernel 3.14.28

Yannick Calmettes yannick.calmettes at analogway.com
Wed May 20 06:23:51 PDT 2015


You can see below all the things I do related to this GPIO.
In 3.10.53 it returns "1".

*In DTS :*
MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0xC0000000

*At startup :*
echo 41 > /sys/class/gpio/export
echo "in" > /sys/class/gpio/gpio41/direction

*On Terminal :*
root at mx6dl-rev0-main:~# cat /sys/class/gpio/gpio41/value
512

Yannick

**
Le 20/05/2015 15:25, Fabio Estevam a écrit :
> On Wed, May 20, 2015 at 10:17 AM, Yannick Calmettes
> <yannick.calmettes at analogway.com> wrote:
>> Sorry Fabio, it stills return 512.
> How do you read the pins exactly? From kernel or from userspace?
>
> What was the response in 3.10.53?
>
> Regards,
>
> Fabio Estevam
>
>
>
>


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150520/5e7b539e/attachment.html>


More information about the meta-freescale mailing list