-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sanitycheck: Add functions to query device tree for filters
Add the following functions to allow filtering based on device tree dt_compat_enabled(compat) - Returns true if a device tree node compatible matches 'compat' and the node is enabled. dt_alias_exists(alias) - Returns true if a device tree node exists with 'alias' and the node is enabled. dt_compat_enabled_with_alias - Returns true if a device tree node compatible matches 'compat' and the node has 'alias' and the node is enabled. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
- Loading branch information
Showing
2 changed files
with
51 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters