1 1
Peter1

property "reset-gpios" not found

Recommended Posts

(edited)

Hello, in a Overlay (compatible = "simple-panel-dsi";) I have the following proerties:

reset-gpios = <&gpio8 3 1>; /* GPIO8_A3 */
reset-delay-ms = <10>;
enable-delay-ms = <60>;
...

in the panel-simple.c driver File I can find the properties "reset-delay-ms", "enable-delay-ms"  - but not the "reset-gpios" property. Even though the reset at GPIO8_A3 is working correctly.

I also had no success to find this property in another file... so I'm very confused about where or in which driver / include is this property defined/specified?

I also have tried to search "reset-gpios" in all files with grep, see below, but I could not find a related driver/include file that use this property.

sudo grep --include=\*.{c,h,dtsi,dts} -rnw '/home/yy/build/cache/' -e "reset-gpios"

 

in the panel-simple.c driver File I can find the property "reset" instead of "reset-gpios", but if I use "reset = <..." in my Overlay - the reset at GPIO8_A3 does not work.

So I'm really wondering why that "reset-gpios" is working?

Maybe someone can give a hint?

 

Many thanks

Peter

 

EDIT: can someone move this Thread to "Common Issues" ?

Edited by Peter1

Share this post


Link to post
Share on other sites
3 hours ago, Peter1 said:

but I could not find a related driver/include file that use this property.

you should look here in cache/sources/linux-mainline/linux-5.4.y/Documentation/devicetree/bindings/display/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1