commit | 3cd4f6c2241683c42e17b61462ba0e82df37ab37 | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Fri Apr 10 15:37:58 2020 -0700 |
committer | Kumar Gala <kumar.gala@gmail.com> | Tue Apr 14 10:38:10 2020 -0500 |
tree | b7f3076656b71bb08278fa449e1a2e75ae51b075 | |
parent | 06d50c673de40539b067c8138f22b6027afba3f0 [diff] |
scripts: kconfig: add dt_compat_on_bus() helper This can be used from Kconfig to detect if any enabled nodes of a compatible are on a bus. This can be useful if a compatible might appear on multiple buses, to enable them by default from application code without having to change prj.conf settings depending on what's in the devicetree. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>