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>
This commit is contained in:
parent
9468ab8403
commit
6203b954fc
@ -15,6 +15,7 @@ properties:
|
|||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- sprd,sc9860-mailbox
|
- sprd,sc9860-mailbox
|
||||||
|
- sprd,sc9863a-mailbox
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
items:
|
items:
|
||||||
@ -22,9 +23,15 @@ properties:
|
|||||||
- description: outbox registers' base address
|
- description: outbox registers' base address
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
|
minItems: 2
|
||||||
|
maxItems: 3
|
||||||
|
|
||||||
|
interrupt-names:
|
||||||
|
minItems: 2
|
||||||
items:
|
items:
|
||||||
- description: inbox interrupt
|
- const: inbox
|
||||||
- description: outbox interrupt
|
- const: outbox
|
||||||
|
- const: supp-outbox
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
@ -40,6 +47,7 @@ required:
|
|||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
- interrupts
|
- interrupts
|
||||||
|
- interrupt-names
|
||||||
- "#mbox-cells"
|
- "#mbox-cells"
|
||||||
- clocks
|
- clocks
|
||||||
- clock-names
|
- clock-names
|
||||||
@ -56,5 +64,6 @@ examples:
|
|||||||
clock-names = "enable";
|
clock-names = "enable";
|
||||||
clocks = <&aon_gate 53>;
|
clocks = <&aon_gate 53>;
|
||||||
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "inbox", "outbox";
|
||||||
};
|
};
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user