From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 79E2BE005B9; Wed, 20 May 2015 05:46:17 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [85.31.212.143 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from fx803.security-mail.net (smtpout140.security-mail.net [85.31.212.143]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 38C6DE0027F for ; Wed, 20 May 2015 05:46:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by fx803.security-mail.net (MTA) with SMTP id 274443B0C920 for ; Wed, 20 May 2015 14:46:09 +0200 (CEST) Received: from fx803 (localhost [127.0.0.1]) by fx803.security-mail.net (MTA) with ESMTP id 222923B0C934 for ; Wed, 20 May 2015 14:46:09 +0200 (CEST) X-Virus-Scanned: E-securemail x-secugrey: score=-10 x-secugrey: filter=out_default,id=20150520144608-79093-00019,score=-20 Received: from cg92.security-mail.net (cg92.security-mail.net [172.16.248.92]) by fx803.security-mail.net (MTA) with ESMTPS id 3DB6E3B0C8E0 for ; Wed, 20 May 2015 14:46:08 +0200 (CEST) Received: by cg92.security-mail.net (MTA, from userid 0) id 36510A184; Wed, 20 May 2015 14:46:08 +0200 (CEST) Received: from [89.91.77.218] (account yannick.calmettes@analogway.com HELO [192.168.0.39]) by mails.optimails.com (CommuniGate Pro SMTP 6.0.11) with ESMTPSA id 1837972944 for meta-freescale@yoctoproject.org; Wed, 20 May 2015 14:46:08 +0200 Message-ID: <555C80AE.2010806@analogway.com> Date: Wed, 20 May 2015 14:40:14 +0200 From: Yannick Calmettes User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" X-Virus-Scanned: by Security-Mail Subject: Incorrect GPIO value with Kernel 3.14.28 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 12:46:17 -0000 Content-Type: multipart/alternative; boundary="------------020602030809070703060302" --------------020602030809070703060302 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. Regards, Yannick ** --------------020602030809070703060302 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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.

Regards,

Yannick


 

--------------020602030809070703060302--