b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

8163依赖_T8163_8163无缝钢管最新标准(4)

电脑杂谈  发布时间:2017-06-05 17:05:22  来源:网络整理

一般修改以下几个:

tpd-resolution = <768 1024>; tp范围,依据屏分辨率而定我们用的屏是7.85寸768*1024的故参数修改为 <768 1024>

tpd-max-touch-num = <5>; 表示最多支持5点触摸

pinctrl 以CTP_pins_eint_output0 CTP_pins_eint_output1 为例:

dts里边定义:

       CTP_pins_eint_output0: eintoutput0 {                                                                    
                pins_cmd_dat {
                        pins = <MT8163_PIN_35_KPROW2__FUNC_GPIO35>;
                        slew-rate = <1>; 
                        output-low;
                };   
        };   

        CTP_pins_eint_output1: eintoutput1 {
                pins_cmd_dat {
                        pins = <MT8163_PIN_35_KPROW2__FUNC_GPIO35>;
                        slew-rate = <1>; 
                        output-high;
                };   
        };   

继续查找:

MT8163_PIN_35_KPROW2__FUNC_GPIO35

在mt8163-pinfunc.h中(此文件就是全GPIO口全功能定义的函数):

254 #define MT8163_PIN_35_KPROW2__FUNC_GPIO35 (MTK_PIN_NO(35) | 0)
255 #define MT8163_PIN_35_KPROW2__FUNC_KPROW2 (MTK_PIN_NO(35) | 1)
256 #define MT8163_PIN_35_KPROW2__FUNC_USB_DRVVBUS (MTK_PIN_NO(35) | 2)
257 #define MT8163_PIN_35_KPROW2__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(35) | 3)
258 #define MT8163_PIN_35_KPROW2__FUNC_CONN_TEST_CK (MTK_PIN_NO(35) | 4)
259 #define MT8163_PIN_35_KPROW2__FUNC_DBG_MON_B_6 (MTK_PIN_NO(35) | 7)

(2)defconfig修改

kernel-3.18/arch/arm64/configs/hiteq8163_tb_n_debug_defconfig (编译版本eng userdebug生效)

kernel-3.18/arch/arm64/configs/hiteq8163_tb_n_defconfig(编译版本user生效)


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/shouji/article-51262-4.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...