dt-binding: interrupt-controller: Add missing interrupts property
Subsystems (2)
PATCH 1/1 dt-binding: interrupt-controller: Add missing interrupts property
Interrupts property is required, so add it.
--- .../bindings/interrupt-controller/idt,32434-pic.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml +4 -0
@@ -22,6 +22,9 @@ properties: reg: maxItems: 1 + interrupts: + maxItems: 1 + interrupt-controller: true required:
@@ -29,6 +32,7 @@ required: - compatible - reg - interrupt-controller + - interrupts additionalProperties: false
Signature · 1 line
2.29.2
Rob Herring
maintainerQuoted 7 lines · Thomas Bogendoerfer
Interrupts property is required, so add it.
Signed-off-by Thomas Bogendoerfer <[email protected]>--- .../bindings/interrupt-controller/idt,32434-pic.yaml | 4 ++++ 1 file changed, 4 insertions(+)
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.example.dt.yaml: interrupt-controller@1c20400: 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml
See https://patchwork.ozlabs.org/patch/1470883
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit.
Quoted 12 lines · Rob Herring
Quoted 7 lines · Thomas Bogendoerfer
Interrupts property is required, so add it.
Signed-off-by Thomas Bogendoerfer <[email protected]>--- .../bindings/interrupt-controller/idt,32434-pic.yaml | 4 ++++ 1 file changed, 4 insertions(+)My bot found errors running 'make DT_CHECKER_FLAGS=-m
dt_binding_check' on your patch (DT_CHECKER_FLAGSis new in v5.13):
Quoted 7 lines
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.example.dt.yaml: interrupt-controller@1c20400: 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml
now I'm confused... is this a problem of your test ? make dt_binding_check was ok with that change...
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
Rob Herring
maintainerQuoted 16 lines · Thomas Bogendoerfer
Quoted 14 lines · Rob Herring
Quoted 7 lines · Thomas Bogendoerfer
Interrupts property is required, so add it.
Signed-off-by Thomas Bogendoerfer <[email protected]>--- .../bindings/interrupt-controller/idt,32434-pic.yaml | 4 ++++ 1 file changed, 4 insertions(+)My bot found errors running 'make DT_CHECKER_FLAGS=-m
dt_binding_check' on your patch (DT_CHECKER_FLAGSis new in v5.13):yamllint warnings/errors:
Quoted 8 lines
Quoted 5 lines
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.example.dt.yaml: interrupt-controller@1c20400: 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yamlnow I'm confused... is this a problem of your test ? make
dt_binding_checkwas ok with that change...
You and me both. I'll look into it when I apply.
Rob
Quoted 7 lines · Thomas Bogendoerfer
Interrupts property is required, so add it.
Signed-off-by Thomas Bogendoerfer <[email protected]>--- .../bindings/interrupt-controller/idt,32434-pic.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Applied, thanks!
All fine in my build, so not sure what happened to the bot...