Improve output type formatting
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Move marker functions to dtc.hdtc.h treesource.c | +23 | 3 replies | |
| 2/5 | Add has_type_markers() helperdtc.h | +5 | 0 replies | |
| 3/5 | checks: Add markers on known propertieschecks.c | +82 | 2 replies | |
| 4/5 | dtc: Drop dts source restriction for yaml outputdtc.c | +0 | 11 replies | |
| 5/5 | treesource: Maintain phandle label/path on outputtests/ tests/ treesource.c | +25 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] Improve output type formatting
This series improves maintaining type information in the output of dtc from sources without any type annotations such as dtb format. As there's already a bunch of type information in the checks, we simply need to have the checks add markers.
This is needed in part to be able to run DT schema validation on dtb files. I also plan to use the schema files to provide type information for all the properties not covered by the dtc checks. Why not do this for all the properties? It's possible, but it wouldn't be possible with just pure schema. The phandle+args patterns with variable cells would need to recreate the same parsing code.
Rob
Rob Herring (5):
Move marker functions to dtc.h
Add has_type_markers() helper
checks: Add markers on known properties
dtc: Drop dts source restriction for yaml output
treesource: Maintain phandle label/path on output
checks.c | 87 +++++++++++++++++++++++++++++++-- dtc.c | 2 - dtc.h | 28 ++++++++++- tests/type-preservation.dt.yaml | 3 ++ tests/type-preservation.dts | 3 ++ treesource.c | 48 ++++++++---------- 6 files changed, 135 insertions(+), 36 deletions(-)
Signature · 1 line
2.27.0