Difference between revisions of "Tianma TM035"
From ArmadeusWiki
SebastienSz (Talk | contribs) (How to enable Tianma TM035) |
SebastienSz (Talk | contribs) m |
||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
− | * Rebuild the device tree and update | + | * Rebuild the device tree and update it on your board. |
==Features== | ==Features== |
Revision as of 15:59, 13 July 2015
Contents
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 it on your board.