This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: Hx-8328 display driver support

Part Number: AM3358
Other Parts Discussed in Thread: TFP410

Tool/software: Linux

Hello,

I'm using the am335x-evm board and want to develop new display driver for a Himax Hx-8238 LCD. I replaced the primary touch screen on am335-evm board with the Hx-8238 touch screen. Without any software change, after power on the board, I can see some distorted pictures and texts displayed on the new LCD. This certifies the hardware change is good.

I searched on the e2e forum and found below post:

http://e2e.ti.com/support/arm/sitara_arm/f/791/p/655526/2407874?keyMatch=himax&tisearch=Search-EN-Everything

From this post I got a solution  using fbtft

https://github.com/notro/fbtft.

According to the TI Wiki http://processors.wiki.ti.com/index.php/Linux_Core_LCD_Controller_User_Guide

The fbdev display driver is currently obsolete (has been since ti-linux-3.14.y), and is not actively maintained any more. Please use LCDC DRM driver instead. 

I want to know whether the above fbtft driver is supported on the latest processor SDK? 

Another question is how can I use the LCDC DRM driver to develop the driver for Hx-8238 device? 

Is it possible anybody can provide me instruction or reference code for above two questions?

thanks ahead!

William

  • fbtft driver is not supported on processor SDK. Please check ti-tfp410 driver in drivers\gpu\drm\bridge, tilcdc_panel and tilcdc_tfp410 in drivers\gpu\drm\tilcdc. As well check the dts file for panel settings.
  • Hi, we don't have DRM based reference panel driver example yet. It might be available in 3Q 2018 PLSDK release.

    Please don't refer to tfp410 drivers\gpu\drm\tilcdc. Instead refer to ti-tfp410 driver in drivers\gpu\drm\bridge. If your panel doesn't need any software programming, then you can use existing tilcdc_panel.c as is in drivers\gpu\drm\tilcdc. You only need to work with program timings in dts file.