Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mailbox: Add interrupt-names to SPRD mailbox

We add an optional supp-outbox interrupt support to SPRD mailbox driver
with newly added sc9863a support and change to configure interrupts with
names in device tree files.

Signed-off-by: Orson Zhai <orson.zhai@unisoc.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>

authored by

Orson Zhai and committed by
Jassi Brar
6203b954 9468ab84

+11 -2
+11 -2
Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
··· 15 15 compatible: 16 16 enum: 17 17 - sprd,sc9860-mailbox 18 + - sprd,sc9863a-mailbox 18 19 19 20 reg: 20 21 items: ··· 23 22 - description: outbox registers' base address 24 23 25 24 interrupts: 25 + minItems: 2 26 + maxItems: 3 27 + 28 + interrupt-names: 29 + minItems: 2 26 30 items: 27 - - description: inbox interrupt 28 - - description: outbox interrupt 31 + - const: inbox 32 + - const: outbox 33 + - const: supp-outbox 29 34 30 35 clocks: 31 36 maxItems: 1 ··· 47 40 - compatible 48 41 - reg 49 42 - interrupts 43 + - interrupt-names 50 44 - "#mbox-cells" 51 45 - clocks 52 46 - clock-names ··· 64 56 clock-names = "enable"; 65 57 clocks = <&aon_gate 53>; 66 58 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 59 + interrupt-names = "inbox", "outbox"; 67 60 }; 68 61 ...