This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM4378:基于 AM437X 的定制液晶屏触摸无法正常工作。

Guru**** 649970 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1077702/am4378-lcd-touch-was-not-working-on-am437x-based-custom

部件号:AM4378

我使用的是连接到基于 AM437X 的定制板的 LCD 触摸面板(即 OSD0700T4751)。  液晶屏工作正常,但触摸屏 无法使用基于 qt 的示例应用程序。

以下是我对液晶屏和触摸的 DTS 更改。

lcd0:显示{
兼容=“osdDisplays,osd070t1718-19ts”,“panel-dpi”;
//compatible =“osdDisplays,osd0700t4751-19ts”,“panel-dpi”;
标签=“LCD”;

背光=<&LCD_BL>;

面板正时{
时钟频率=<30000000>;
hactive =<800>;
vactive =<480>;
前廊=<210>;
后廊=<16>;
HSYNC - len =<30>;
背廊=<10>;
前廊=<22>;
vsync-len =<13>;
HSYNC 活动=<0>;
vsync-active =<0>;
停用=<1>;
像素激活=<1>;
};

端口{
lcd_in:端点{
远程端点=<&dpI_输出>;
};
};
};

&i2c1{
状态=“正常”;
pinctrl-names ="default";
pinctrl-0 =<&i2c1_PINs_default>;
时钟频率=<400000>;

结晶石英@2a{
兼容="LCDPRO";
pinctrl-names ="default";
REG =<0x2a>;
};

像素 cir_ts@5c{
兼容="pixcir,pixcir_tangoc";
pinctrl-names ="default";
pinctrl-0 =<&pixcir_ts_pins>;
REG =<0x5c>;  

attb-GPIO =<&GPIO1 3 GPIO _有源_高>;

/*<too>不确定此0x264的派生方式
* 0x264表示的 padconf 寄存器偏移
*来自 am43xx_pinmux 基座的 GPIO1_3。
*
中断扩展=<&GPIO1 3 IRQ_TYPE_EDGE 下降>,
<&am43xx_pinmux 0xC>;
中断名称=“TSC”,“唤醒”;
Touchscreen-size-x =<1024>;
Touchscreen-size-y =<600>;
唤醒源;
/*待办事项:假定需要触控控制器处于活动低电平才能驱动重置。 如果没有改变,需要改变*/
重置 GPIO =<&GPIO2 5 GPIO _ACTIVE 低>;/* RST 引脚*/
};
};