devicetree-org / dt-schema

Devicetree schema tools
http://www.devicetree.org
BSD 2-Clause "Simplified" License
67 stars 67 forks source link

Crash #60

Closed KaiJan57 closed 3 years ago

KaiJan57 commented 3 years ago

Running make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/trivial-devices.yaml on a recent linux kernel yields TypeError: __init__() got an unexpected keyword argument 'resolver'. What is going wrong? EDIT it really doesn't seem to matter on what files I am trying to run dt-doc-validate: dt-doc-validate -u Documentation/devicetree/bindings Documentation/devicetree/bindings/i2c/i2c-owl.yaml yields exactly the same error.

robherring commented 3 years ago

json-schema 4.0.x release broke us. Either you have to force 3.2.0 version or use dt-schema 'main' branch.

KaiJan57 commented 3 years ago

Alright, thanks a lot for explaining!