How to Get Your DT Schema Bindings Accepted in Less than 10 Iterations
summary
Goal: get a DT schema binding accepted in under ten review iterations by following concrete rules and using the validation toolchain. Use dt-schema (YAML), install the Python package and run binding-check or make dtbs check to validate bindings against DTBs. Provide one clean example (remove reg status, skip consumer examples for providers), use vendor-prefixed custom properties with types or standard unit suffixes (microvolts), enforce ordered arrays with name lists, and choose between additionalProperties: false and unevaluated properties depending on extensibility.
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:38Bindings and Devicetree schema
- 3:03Example DTS and DT schema
- 6:07Generic rules for bindings-compatibles
- 15:32Dos and Don'ts - additional/unevaluated
- 21:51Dos and Don'ts - examples continued
- 28:10Dos and Don'ts- additional/unevaluated
- 30:04Reusable patterns (reference)
related talks
37mStable Devicetree ABI: it's possible!
50mRethinking U-Boot Devicetree Story
30mDynamic & Proud
21mBeyond Type Checking Building Bulletproof TypseScript Applications
51mShipping Multiple Devicetrees: How to Identify Which DTB Is for My Board?
27mSchema Scoring: Ensuring Schema Excellence in GraphQL
15mIs the Zephyr Device Tree Too Complicated?
30mGo Beyond the Spec With Custom Directives
