Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NHD-5.0-800480TF-ATXL-CTP lcd display #6

Conversation

aragua
Copy link

@aragua aragua commented Apr 28, 2016

In non interlaced mode Vsync and Hsync have been inverted.

If we use FB_SYNC_VERT_HIGH_ACT in upper layer, hsync signal polarity is impacted. With FB_SYNC_HOR_HIGH_ACT, vsync is impacted
The values are correct in the interlaced mode.

In non interlaced mode Vsync and Hsync have been inverted.

If we use FB_SYNC_VERT_HIGH_ACT in upper layer, hsync signal polarity is impacted. With FB_SYNC_HOR_HIGH_ACT, vsync is impacted
The values are correct in the interlaced mode.
NHD-5.0-800480TF-ATXL-CTP lcd display use a ft5306 to manage touchscreen.
The actual version does not work with device tree.

Replace the driver by a version found here:
http://lxr.free-electrons.com/source/drivers/input/touchscreen/edt-ft5x06.c?v=3.15

Tested with device tree
&i2c1 {
	clock-frequency = <400000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c1>;
	status = "okay";

	touchscreen@38 {
		compatible = "edt,edt-ft5306", "edt,edt-ft5x06";
		reg = <0x38>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_touchscreen>;
		interrupt-parent = <&gpio6>;
		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
		reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
	        touchscreen-size-x = <800>;
		touchscreen-size-y = <480>;
	};
};
@aragua aragua changed the title Fix vsync and hsync polarity settings Add support for NHD-5.0-800480TF-ATXL-CTP lcd display Apr 29, 2016
@wandboard-org wandboard-org merged commit 9c3bf6d into wandboard-org:wandboard_imx_3.10.53_1.1.0_ga May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants