Skip to content

Commit ebb0130

Browse files
Stefan WahrenJassiBrar
authored andcommitted
dt-bindings: mailbox: convert bcm2835-mbox bindings to YAML
Convert the DT binding document for bcm2835-mbox from .txt to YAML. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 13ad4b7 commit ebb0130

2 files changed

Lines changed: 40 additions & 26 deletions

File tree

Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mailbox/brcm,bcm2835-mbox.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom BCM2835 VideoCore mailbox IPC
8+
9+
maintainers:
10+
- Stefan Wahren <stefan.wahren@i2se.com>
11+
12+
properties:
13+
compatible:
14+
const: brcm,bcm2835-mbox
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
"#mbox-cells":
23+
const: 0
24+
25+
required:
26+
- compatible
27+
- reg
28+
- interrupts
29+
- "#mbox-cells"
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
mailbox@7e00b880 {
36+
compatible = "brcm,bcm2835-mbox";
37+
reg = <0x7e00b880 0x40>;
38+
interrupts = <0 1>;
39+
#mbox-cells = <0>;
40+
};

0 commit comments

Comments
 (0)