dt-bindings: mmc: arm,pl18x: Document interrupt-names property
Subsystems (2)
PATCH v2 1/1 dt-bindings: mmc: arm,pl18x: Document interrupt-names property
Document interrupt-names property with "cmd_irq" interrupt name. This fixes dtbs_check warnings when building current Linux DTs:
"arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dtb: mmc@58007000: Unevaluated properties are not allowed ('interrupt-names' was unexpected) "
---
Cc: Alexandre Torgue <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Ulf Hansson <[email protected]>
Cc: Yann Gautier <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Fix copy-paste error from similar patch for I2C bus bindings
- Add RB from Yann
--- Documentation/devicetree/bindings/mmc/arm,pl18x.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml +3 -0
@@ -99,6 +99,9 @@ properties: minItems: 1 maxItems: 2 + interrupt-names: + const: cmd_irq + st,sig-dir-dat0: $ref: /schemas/types.yaml#/definitions/flag description: ST Micro-specific property, bus signal direction pins used for
Signature · 1 line
2.35.1
Quoted 8 lines · Marek Vasut
Document interrupt-names property with "
cmd_irq" interrupt name. This fixesdtbs_checkwarnings when building current Linux DTs:"
arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dtb: mmc@58007000:
Unevaluated properties are not allowed ('interrupt-names' was unexpected)
"
I don't think that anything relies on the name here. Should it just be removed from the dts files then? The name does not follow the usual conventions with the "_irq" postfix.
Arnd
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml properties: · line 103
Quoted 8 lines · Marek Vasut
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml +2
-0@@ -99,6 +99,9 @@ properties: minItems: 1 maxItems: 2 + interrupt-names: + const: cmd_irq
This hardware come in variants with one or two IRQs.
Either two: "cmd_irq", "data_irq"
Or one combined IRQ (logic OR between those two!)
I don't know what that should be called, perhaps
"cmd_data_irq".
Since all DTS:es then have to be patched an alternative is as Arnd says to just delete the names. We should however at the very least patch the bindings description: for the IRQs to make the above situation clear.
Yours,
Linus Walleij
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 15 lines · Linus Walleij
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml properties: · line 103
Quoted 8 lines · Marek Vasut
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml +2
-0@@ -99,6 +99,9 @@ properties: minItems: 1 maxItems: 2 + interrupt-names: + const: cmd_irqThis hardware come in variants with one or two IRQs.
Either two: "
cmd_irq", "data_irq"
Quoted 8 lines
Or one combined IRQ (logic OR between those two!)
I don't know what that should be called, perhaps
"cmd_data_irq".Since all DTS:es then have to be patched an alternative is as Arnd says to just delete the names. We should however at the very least patch the bindings description: for the IRQs to make the above situation clear.
Done, bindings updated and stm32/qcom DTs cleaned up.