I am using LCD Touch panel(i.e OSD0700T4751) connected to am437x based custom board. LCD Display was working fine but Touch was not working with sample qt based demo application.
Here is my dts changes related to lcd & touch.
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
//compatible = "osddisplays,osd0700t4751-19ts ", "panel-dpi";
label = "lcd";
backlight = <&lcd_bl>;
panel-timing {
clock-frequency = <30000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <16>;
hsync-len = <30>;
vback-porch = <10>;
vfront-porch = <22>;
vsync-len = <13>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
&i2c1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins_default>;
clock-frequency = <400000>;
crystalfontz@2a {
compatible = "LCDproc";
pinctrl-names = "default";
reg = <0x2a>;
};
pixcir_ts@5c {
compatible = "pixcir,pixcir_tangoc";
pinctrl-names = "default";
pinctrl-0 = <&pixcir_ts_pins>;
reg = <0x5c>;
attb-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
/* <TOOO> not sure how this 0x264 is derived
* 0x264 represents the offset of padconf register of
* gpio1_3 from am43xx_pinmux base.
*/
interrupts-extended = <&gpio1 3 IRQ_TYPE_EDGE_FALLING>,
<&am43xx_pinmux 0xC>;
interrupt-names = "tsc", "wakeup";
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
wakeup-source;
/*To-Do: It is assumed tht touch controller required active low to drive the reset. Need to change if otherwise */
reset-gpio = <&gpio2 5 GPIO_ACTIVE_LOW>; /*RST pin*/
};
};

