-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: ci: Add CI bindings style checker
Implement a check in the CI pipeline to enforce that property names in device tree bindings do not contain underscores. Signed-off-by: James Roy <rruuaanng@outlook.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file is a YAML whitelist of property names that are allowed to | ||
# bypass the underscore check in bindings. These properties are exempt | ||
# from the rule that requires using '-' instead of '_'. | ||
# | ||
# The file content can be as shown below: | ||
# - propname1 | ||
# - propname2 | ||
# - ... | ||
|
||
- mmc-hs200-1_8v | ||
- mmc-hs400-1_8v |
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