Skip to content

Conversation

soburi
Copy link
Owner

@soburi soburi commented Oct 4, 2025

Summary

  • add a doc tooling script that parses doc/build/dts/macros.bnf and validates DT_* macros from generated headers
  • add a representative devicetree macro fixture and pytest coverage for the new checker

Testing

  • pytest scripts/tests/dts/test_check_dt_macros.py

https://chatgpt.com/codex/tasks/task_e_68e08ee786908322a92ffcca55f263ee

Gets the specified number of elements from the beginning of the list.
This is the symmetircal operation as `GET_ARGS_LESS_N`.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Add `GET_ARGS_FIRST_N` tests.

Signed-off-by: TOKITA Hiroshi <[email protected]>
They must be `array` type to match the existing `interrupt-map-mask`
and `interrupt-map-pass-thru`.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Add a base binding for interrupt and io-channel nexus nodes.
This makes the implicit definitions explicit.
Replace existing individual map definitions with this.

This file does not define a specific `compatible` on its own,
So you should include this file before using it practically.

Signed-off-by: TOKITA Hiroshi <[email protected]>
This change introduces generating definitions corresponding to
`*-map` property, which was currently discarded.

For `*-map` properties are made able to be treated as a variation
of phandle-array, assign sequential cell names for each group of
specifiers (child_specifier_0, child_specifier_1, ...,
parent_specifier_0, ...).

The `*-map` data is like a two-dimensional array, so it is difficult to
handle with the existing APIs, so we will also provide new APIs.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Add a map property test for `test_edtlib.py`.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Add tests for map property related macros.

Add `native_sim/naive/64` to allowed platforms.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the dt_map_properties branch 6 times, most recently from e6ff1b4 to 96619b5 Compare October 11, 2025 04:41
@soburi soburi force-pushed the dt_map_properties branch 6 times, most recently from d973109 to 6974b3c Compare October 14, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant