[meta-freescale] Incorrect GPIO value with Kernel 3.14.28
Otavio Salvador
otavio at ossystems.com.br
Wed May 20 05:50:27 PDT 2015
On Wed, May 20, 2015 at 9:40 AM, Yannick Calmettes
<yannick.calmettes at analogway.com> wrote:
> 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.
You are likely missing the SION bit on the pin.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list