I needed a way to discover which Linux source code files are related to a Kconfig symbol. As there is at least one Kconfig symbol for each Linux device driver, how could I find out what files are part of a device driver based on a single, or a set, of Kconfig symbols? I made a Perl script for that. For example:
$ cd /src/linux/drivers/net/ethernet
$ Kconfig-files.pl ALX
All source files associated to the ALX Kconfig symbol are listed. The script is at Github.