Don't worry about getting it perfect or pretty. Just get it out there as a starting point.
OK. Here goes... https://github.com/TheCodeArtist/dtv-demo/
Verified on Ubuntu 18.04 with python3.4 and PyQt 5.13.0
pip3 install pyqt5 python3 dtv.py File -> Open Select a *.dts under <kernel-dir>/arch/arm64/boot/dts/ Resize the various columns to view content
For a good idea of where DTV would shine, open a DTS file that directly/indirectly includes a lot of dtsi files. (upstream kernel tree has "qcom" and "freescale" in arch/arm64/boot/dts/)
For "complex" repositories, one needs to perform an one-time setup:
- update "baseDir" detection logic: https://github.com/TheCodeArtist/dtv-demo/blob/af4d41445c8eeb7884bd480367206...
- add *ALL* the include paths (relative to baseDir) https://github.com/TheCodeArtist/dtv-demo/blob/af4d41445c8eeb7884bd480367206...
...and here's the slide-deck i promised earlier https://docs.google.com/presentation/d/1QGyxRC8Mx9biBM951uXPPVVnrtGdQSmyMpMm...
Not sure how well i have been able to get my thoughts across. Give this dtv-demo a try if you like. I will be glad to answer any questions...
regards CVS