-
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: extract_dts_includes: Add simple defines for i2c/spi children
To simply and reduce what one has to do in a fixup file for i2c & spi devices, we generate aliased defines based on just the compatible name. For the rare case that a driver supports more than one instance, than the 'zephyr,index' property should be utilized to tell the instances apart. Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 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