summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate
AgeCommit message (Collapse)Author
2021-11-26kernel: introduce python3-dtschema-wrapperBruce Ashfield
The 5.16 kernel introduced mandatory schema checking on any dtb file built through the kernel. That funcionality is provided via python3-dt-schema. The dependencies to enable that functionality is not small, and may not always be desired (in particular on architectures that do not support dtbs, or in development cycles). It may also be useful for allowing a non-conformant dts to be compiled. This commit introduces a set of wrapper scripts that when added as a depenency to the kernel, can pass both the validation testing and validation steps of a dts. We use the wrapper by default, while more dts file are brought up to spec and the dt-validation matures upstream. To enable valiation, simply add 'dt-valiation' to the PACKAGECONFIG variable and the full dt-schema package will be selected and validation will occur. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>