hook-functions: dep_add_modules: Properly include panel drivers
With MODULES=dep
, we try to walk the /sys/devices/platform/edp-panel
device to include panel drivers because they are needed get a display output on some devices. This is a bit wrong, because the "edp-panel" here is the name of a device-tree node that is not necessarily a panel.
Instead, walk the devices bound under the panel drivers for modules to add to initramfs. Check not only for panel-edp
, but panel-simple
and those available over dp-aux
bus as well.