Skip to content
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

Convert NXP EDMA compats by version to property #79872

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

decsny
Copy link
Member

@decsny decsny commented Oct 15, 2024

inspired by DMA in upstream linux from ST where they have a property called st,version: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/dma/st_fdma.txt

depends on: #75799

Add optional value parameter to dt_compat_any_has_prop
kconfig preprocessor function, which puts an additional constraint on
the truth of the function in that the property value must match the
parameter value.

Signed-off-by: Declan Snyder <[email protected]>
Fix bool property checking from DT_INST_NODE_HAS_PROP to DT_INST_PROP as
it should be.

Also remove an unneeded function prototype.

Signed-off-by: Declan Snyder <[email protected]>
Convert the numerous revision compatibles to a DT property for the
revision called nxp,version (inspired from a linux DT property from
st called st,version on their DMA).

Signed-off-by: Declan Snyder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants