Commit 6203b954 authored by Orson Zhai's avatar Orson Zhai Committed by Jassi Brar

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: default avatarOrson Zhai <orson.zhai@unisoc.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 9468ab84
...@@ -15,6 +15,7 @@ properties: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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";
}; };
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment