码迷,mamicode.com
首页 > 其他好文 > 详细

I.MX6 KEY_ROW4 can't as GPIO pin

时间:2016-11-26 20:15:24      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:http   lis   github   speed   pat   sig   lob   ***   pue   

/**********************************************************************
 *                I.MX6 KEY_ROW4 can‘t as GPIO pin
 * 说明:
 *     Tony遇到KEY_ROW4作为GPIO口时无法设置高、低电平问题,后来通过在
 * 相关patch中找到方法,很特殊。
 *
 *                                  2016-11-26 深圳 南山平山村 曾剑锋
 *********************************************************************/
一、参考文档:
    1. android-imx6-kitkat/kernel_imx.git/3.0.35/SR-0013-Split-C1-to-C1-and-microsom.patch
        https://github.com/rabeeh/android-imx6-kitkat/blob/master/kernel_imx.git/3.0.35/SR-0013-Split-C1-to-C1-and-microsom.patch
    2. [meta-freescale] [PATCH] Added support for the SolidRun HummingBird    (also known as Carrier One)
        https://lists.yoctoproject.org/pipermail/meta-freescale/2014-January/006271.html

二、解决方法:
    #define MX6DL_ENET_PAD_CTRL_PD (PAD_CTL_PKE | PAD_CTL_PUE  |        \
            PAD_CTL_PUS_100K_DOWN | PAD_CTL_SPEED_MED |                    PAD_CTL_DSE_40ohm   | PAD_CTL_HYS)

    IOMUX_PAD(0x0650, 0x0268, 5, 0x0000, 0, MX6DL_ENET_PAD_CTRL_PD), /* KEY_ROW4 reset signal */

 

I.MX6 KEY_ROW4 can't as GPIO pin

标签:http   lis   github   speed   pat   sig   lob   ***   pue   

原文地址:http://www.cnblogs.com/zengjfgit/p/6104827.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!