TP

TP驱动
以4寸屏为例,该屏带了TP,驱动IC为GT911,在内核添加TP驱动

# cd kernel
# ARCH=arm make menuconfig 

路径如下:
Device Drivers —>
Input device support —>
[] Touchscreens —>
<
> Goodix I2C touchscreen

保存一下配置

cp .config arch/arm/configs/infinity2m_spinand_ssc011a_s01a_minigui_doublenet_defconfig

配置DTS

根据原理图和HW Check list配置dts

# vi kernel/arch/arm/boot/dts/infinity2m-ssc011a-s01a-padmux-rgb565-rmii-doublenet.dtsi

vi kernel/arch/arm/boot/dts/infinity2m-ssc011a-s01a-rgb565-rmii-doublenet.dtsi


编译

# ./Release_to_customer.sh -f nand -p ssd201 -o 2D06 -m 256
文档更新时间: 2022-06-23 16:18   作者:Aeeditor