How to add more panel power on sequence control gpios into panel device node of device-tree?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add more panel power on sequence control gpios into panel device node of device-tree?

Jump to solution
417 Views
SS_S
Contributor II

Hello,

I'm using a iMX8MP with a custom board and Android11.

LVDS display and logo output well when I added enable-gpios<...> property into panel device node of device-tree.

But the corresponding probe function of driver (panel-simple.c) won't be invoked after I added more one reset-gpios<...> property into panel device node of device-tree.

May you comment how to add more panel power on sequence control GPIOs into panel device node of device-tree?

Thanks in advanced.

 

 

0 Kudos
1 Solution
326 Views
SS_S
Contributor II

Dear Joanxie,

I found its cause this morning and try to debug it.

Thanks for your kindly reply.

 

View solution in original post

0 Kudos
4 Replies
395 Views
joanxie
NXP TechSupport
NXP TechSupport

could you share your new dts file with me? let me double check it, and what power on sequence control GPIOs do you mean? what is your use case?

0 Kudos
366 Views
SS_S
Contributor II

for newer DTS

Dear joanxie,

My project panel has more gpios to control its power on/off sequence. (VDD,RESET,TP_EN and BL) 

SS_S_0-1700709903245.png

 

Currently, the panel power on sequence doesn't meet above specification.

So, we need to define those gpios (VDD,RESET,TP_EN and BL) to fine tune them.

Now, the panel output and work well when I have enable-gpios<...> property in lvds_panel device node for VDD and another enable-gpios<...> property in ss_backlight device node for BL.

but it will fail after I add reset-gpio<...> property into lvds_panel dvice node. (the probe function of driver panel-simple.c won't be invoked.)

Please refer to attchment for the DTS. (my tag is "ss_panel")

Thanks

0 Kudos
330 Views
joanxie
NXP TechSupport
NXP TechSupport

pls share your schematic about this gpio connection let me double confirm this

0 Kudos
327 Views
SS_S
Contributor II

Dear Joanxie,

I found its cause this morning and try to debug it.

Thanks for your kindly reply.

 

0 Kudos