TS-7970 LVDS: Difference between revisions

From embeddedTS Manuals
No edit summary
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/linux-tsimx/blob/1cdddde5f71acd177532794e52730f255e1e35ea/arch/arm/boot/dts/imx6qdl-ts7970.dtsi#L98 →‎ https://github.com/embeddedTS/linux-tsimx/blob/1cdddde5f71acd177532794e52730f255e1e35ea/arch/arm/boot/dts/imx6qdl-ts7970.dtsi#L98 https://support.embeddedarm.com/support/tickets/new →‎ https://support.embeddedTS.com/support/tickets/new))
 
(One intermediate revision by one other user not shown)
Line 35: Line 35:
</source>
</source>


The [https://github.com/embeddedarm/linux-tsimx/blob/1cdddde5f71acd177532794e52730f255e1e35ea/arch/arm/boot/dts/imx6qdl-ts7970.dtsi#L98 mxcfb1 node] should also be changed from HDMI to LVDS:
The [https://github.com/embeddedTS/linux-tsimx/blob/1cdddde5f71acd177532794e52730f255e1e35ea/arch/arm/boot/dts/imx6qdl-ts7970.dtsi#L98 mxcfb1 node] should also be changed from HDMI to LVDS:
<source lang=javascript>
<source lang=javascript>
mxcfb1: fb@0 {
mxcfb1: fb@0 {
Line 48: Line 48:
</source>
</source>


Technologic Systems offers engineering services which can assist in integrating custom displays.  [[https://support.embeddedarm.com/support/tickets/new Contact us]] for more information.
Technologic Systems offers engineering services which can assist in integrating custom displays.  [https://support.embeddedTS.com/support/tickets/new Contact us] for more information.

Latest revision as of 17:26, 17 January 2022

The TS-7970 includes one LVDS output from the i.MX6 processor. This interface can provide a pixel clock up to 85MHz supporting displays up to 1366x768 at 60hz. The LVDS pairs are available on the #HD3 header.

Linux will require some customization in the device tree to describe the timing for the LCD. These values should be provided by the LCD datasheet. As an example, this is for the 10" Hantronix display used on the TS-TPC-8950:

&ldb {
	status = "okay";

	lvds-channel@0 {
		crtc = "ipu1-di1";
		fsl,data-mapping = "spwg";
		fsl,data-width = <18>;
		status = "okay";
		primary;

		display-timings {
			native-mode = <&timing0>;
			timing0: hantronix-svga1 {
				clock-frequency = <40000000>;
				hactive = <800>;
				vactive = <600>;
				hback-porch = <46>;
				hfront-porch = <210>;
				vback-porch = <23>;
				vfront-porch = <12>;
				hsync-len = <20>;
				vsync-len = <10>;
				de-active = <1>;
				hsync-active = <1>;
				vsync-active = <1>;
				pixelclk-active = <0>;
			};
		};
	};
};

The mxcfb1 node should also be changed from HDMI to LVDS:

	mxcfb1: fb@0 {
		compatible = "fsl,mxc_sdc_fb";
		disp_dev = "ldb";
		interface_pix_fmt = "RGB666";
		default_bpp = <16>;
		int_clk = <0>;
		late_init = <0>;
		status = "okay";
	};

Technologic Systems offers engineering services which can assist in integrating custom displays. Contact us for more information.