summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
diff options
context:
space:
mode:
authorOrson Zhai <orson.zhai@unisoc.com>2021-03-19 14:15:36 +0800
committerJassi Brar <jaswinder.singh@linaro.org>2021-04-13 20:07:36 -0500
commit6203b954fc2360e272846da168cfe77dffdb6da9 (patch)
tree45bb96119116a7d0668fffc07843187b6f15559f /Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
parent9468ab84032f96496e998cfa173cd1d0ac316bcd (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml')
-rw-r--r--Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
index 26a5cca3f838..80feba82cbd6 100644
--- a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
+++ b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
@@ -15,6 +15,7 @@ properties:
compatible:
enum:
- sprd,sc9860-mailbox
+ - sprd,sc9863a-mailbox
reg:
items:
@@ -22,9 +23,15 @@ properties:
- description: outbox registers' base address
interrupts:
+ minItems: 2
+ maxItems: 3
+
+ interrupt-names:
+ minItems: 2
items:
- - description: inbox interrupt
- - description: outbox interrupt
+ - const: inbox
+ - const: outbox
+ - const: supp-outbox
clocks:
maxItems: 1
@@ -40,6 +47,7 @@ required:
- compatible
- reg
- interrupts
+ - interrupt-names
- "#mbox-cells"
- clocks
- clock-names
@@ -56,5 +64,6 @@ examples:
clock-names = "enable";
clocks = <&aon_gate 53>;
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "inbox", "outbox";
};
...