where to add lvds power sequence in linux-4.1.15

cancel
Showing results for 
Search instead for 
Did you mean: 

where to add lvds power sequence in linux-4.1.15

903 Views
fulinux
Contributor IV

Dear Communty,

our board is imx6q,i am porting linux-4.1.15, i need to run a 1920*1080 lvds screen, this screen need large power(backlight Vmin = 60v), so we add a power supply circuit for screen. there are schematics of lcd power as follows:

1、

20160429121630174.jpg

2、

20160429121702517.jpg

3、

20160429121743253.jpg

4、

20160429121908895.jpg

5、

20160429121929878.jpg

As you can see,we should add three gpios to control power sequence, there are 'lcd_power_on', 'lcd_en' and 'backlight_power_on'. how should i configure device tree, or add and modify codes. it had troubled me for a long time.

anyone can help me?

Looking forward to your reply!

Best regards

fulinux.

Labels (2)
Tags (2)
0 Kudos
2 Replies

161 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi fulinux

in linux one can add init codes to board file  mach-imx6q.c

linux-2.6-imx.git - Freescale i.MX Linux Tree

in uboot  this may be ../mx6sabresd/mx6sabresd.c

also please refer to attached Porting Guide

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

161 Views
fulinux
Contributor IV

anyone can help me?

0 Kudos