Thread (19 messages) 19 messages, 4 authors, 2019-10-25

Re: [PATCH v3 2/5] dt-bindings: input: Convert mpr121 binding to json-schema

flat view

From: Michal Vokáč <hidden>
Date: 2019-10-04 13:58:32

On 03. 10. 19 8:12, Michal Vokáč wrote:
Convert the mpr121 binding to DT schema format using json-schema.

Signed-off-by: Michal Vokáč <redacted>
---
Changes since v2:
  - None

Changes since v1:
  - Extract the common input properties into the input.yaml schema.
  - Fix the wakeup-source description.
  - Fix the example to pass validation. Put the mpr121 device sub-node
    into a i2c {} node.

The linux,keycodes property is not valid as it is. If I put the minItems
and maxItems into the common schema, it is valid and the min/max length
check works fine. Rob, could you advice how to fix this please?
This error is no longer present - it is fixed in the latest version of
meta-schema. Thank you, Rob!
The error is not very specific..

$ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
   SCHEMA  Documentation/devicetree/bindings/processed-schema.yaml
/home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml: ignoring, error in schema 'linux,ke
warning: no schema found in file: /home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
/home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/Makefile:33: recipe for target 'Documentation/devicetree/bindings/p
make[3]: *** [Documentation/devicetree/bindings/processed-schema.yaml] Error 255
/home/vokac/development/sources/linux-fslc/Makefile:1264: recipe for target 'dt_binding_check' failed
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help