Skip to content

Commit

Permalink
devicetree: Prefix and Postfix helpers for enums
Browse files Browse the repository at this point in the history
Added helper macros to simplify handling of enum-strings defined in the
dt-bindings. With these new macros you can define C-enums and generate
by parsing the devicetree the enum values.

This makes the devicetree simpler to read and the implementation of
device drivers more straight-forward.

Signed-off-by: Matthias Gilch <[email protected]>
  • Loading branch information
DaGuich committed Jun 28, 2023
1 parent bb5f421 commit e7e0c58
Show file tree
Hide file tree
Showing 2 changed files with 762 additions and 1 deletion.
Loading

0 comments on commit e7e0c58

Please sign in to comment.