-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve devicetree file navigation #282
Comments
I don't understand. Could you maybe describe what is the desired result for https://elixir.bootlin.com/linux/latest/A/ident/vsys_3v3 ? Or which results are the problem? Is this an issue with sorting? |
A The tricky part is twofold:
Most often, you have a So if you want to get an overview of what a node contains, you must first find where the node is declared and then find all references to its alias. BUT you want to search for those aliases only in Aliases are also used to point to nodes without modifying them. For example you pick GPIOs by using the GPIO controller alias (this is called a phandle). Example: take this main_gpio0 phandle. It is in a Some more complexities:
|
I think we want more than that, especially indexing of the compatible string. It'd be great if when clicking on a compatible string, one could easily get to:
|
This is already supported though, see for example |
Wow, that's nice. I had forgotten about this! But if I click on a compatible string in a DT, does it use that database ? |
Yes, it does use the right database. Example. |
There are currently features to navigate devicetree files, but not much. Ideas to take this further:
vsys_3v3
give too many results to be useful. It should start with results in parent (/children?) DTS/DTSI.The text was updated successfully, but these errors were encountered: