- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.2k
scripts/Kconfig: Add dt_node_has_prop Kconfig function #31303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add dt_node_has_prop function to query the presence of 'prop' for given node label. Signed-off-by: Erwan Gouriou <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you implement both this and dt_node_has_bool_prop using a single function instead of copy/pasting? Similar to how dt_node_reg_size_int and dt_node_reg_size_hex are both implemented using dt_node_reg.
| 
 @mbolivar  EDIT: The 2  zephyr/drivers/counter/Kconfig.nrfx Lines 59 to 60 in 4d165b0 
 But I can't find any matching of rtc-xpaths (as these are supposed to be).Do you think I can safely change  | 
| @mbolivar-nordic This patch has been merged as is as part of #30864 (I probably didn't advertised enough this late dependency) | 
| 
 Heh, yes, I didn't notice that on my first review, but it's a good reason to do it in terms of existing code. The name  Can you please send a follow-up making  | 
| This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. | 
Add dt_node_has_prop function to query the presence of 'prop'
for given node label.
Cf use in #30864
Signed-off-by: Erwan Gouriou [email protected]