Tianma TM035

From ArmadeusWiki
Revision as of 16:59, 13 July 2015 by SebastienSz (Talk | contribs) (How to enable Tianma TM035)

Jump to: navigation, search

Description

This Tianma's LCD module allowed you to add a display and a touchscreen to your APF28Dev.

Module flat cable can be used to connect the TM035 to the APF28Dev. LCD resolution: 320x240.

How to enable Tianma TM035 support on recent kernel (3.19+)

You have to edit the APF28Dev's device tree file. The file is buildroot/output/build/linux-XXX/arch/arm/boot/dts/imx28-apf28dev.dts .

  • Find the following lines and modify them as the comment says:
...

lcdif@80030000 {
pinctrl-names = "default";
pinctrl-0 = <&lcdif_16bit_pins_a
                 &lcdif_pins_apf28dev>;
//display = <&st0700>;
/*
* To use the Tianma TM035 LCD comment the line above
* and uncomment the line below.
*/
display = <&tm035>;
status = "okay";

...
  • Rebuild the device tree and update the it on your board.

Features

Resources