From: Yannick Calmettes <yannick.calmettes@analogway.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Incorrect GPIO value with Kernel 3.14.28
Date: Wed, 20 May 2015 14:59:39 +0200 [thread overview]
Message-ID: <555C853B.6070805@analogway.com> (raw)
In-Reply-To: <CAOMZO5C-pm-Ug7jGaSTrJ4-=0K1fHOxx3hTQHfAoNejoazdP5Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
Dear Fabio,
I read the value through sysfs. In DTS file i have configured the GPIO
with value 0x80000000 (no configuration normally)
Yannick
**
Le 20/05/2015 14:50, Fabio Estevam a écrit :
> On Wed, May 20, 2015 at 9:40 AM, Yannick Calmettes
> <yannick.calmettes@analogway.com> wrote:
>> Dear all,
>>
>> I'm currently use Kernel 3.14.28 with release BSP_3.14.28-1.0.1_patch (on a
>> IMx6 DualLite). When I read the value of a GPIO it give me the bus value
>> instead of the pin value.
>> For example when I read GPIO41 it returns me "0" or "512" (the pin is
>> toggled every seconds), 512 corresponds to the bit 9 (41 - 32) of the bus.
>> The GPIO value was correct with kernel 3.10.53.
> Are you setting the SION bit in the pad configuration?
>
> Regards,
>
> Fabio Estevam
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2134 bytes --]
next prev parent reply other threads:[~2015-05-20 13:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 12:40 Incorrect GPIO value with Kernel 3.14.28 Yannick Calmettes
2015-05-20 12:50 ` Otavio Salvador
2015-05-20 12:50 ` Fabio Estevam
2015-05-20 12:59 ` Yannick Calmettes [this message]
2015-05-20 13:07 ` Fabio Estevam
2015-05-20 13:17 ` Yannick Calmettes
2015-05-20 13:25 ` Fabio Estevam
2015-05-20 13:23 ` Yannick Calmettes
2015-05-20 13:34 ` Gary Thomas
2015-05-20 15:15 ` Yannick Calmettes
2015-05-20 15:32 ` Gary Thomas
2015-05-20 15:36 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=555C853B.6070805@analogway.com \
--to=yannick.calmettes@analogway.com \
--cc=festevam@gmail.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.