Skip to content

Commit d4c708c

Browse files
ffainellibebarino
authored andcommitted
dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with dt_binding_check and dtbs_check. Signed-off-by: Florian Fainelli <[email protected]> Tested-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/5bc0b9be8544b07300fccab4d4f26e5e5d8e62b2.1592210452.git-series.maxime@cerno.tech Signed-off-by: Stephen Boyd <[email protected]>
1 parent 1bc9597 commit d4c708c

File tree

2 files changed

+35
-14
lines changed

2 files changed

+35
-14
lines changed

Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Raspberry Pi VideoCore firmware driver
8+
9+
maintainers:
10+
- Eric Anholt <[email protected]>
11+
- Stefan Wahren <[email protected]>
12+
13+
properties:
14+
compatible:
15+
items:
16+
- const: raspberrypi,bcm2835-firmware
17+
- const: simple-bus
18+
19+
mboxes:
20+
$ref: '/schemas/types.yaml#/definitions/phandle'
21+
description: |
22+
Phandle to the firmware device's Mailbox.
23+
(See: ../mailbox/mailbox.txt for more information)
24+
25+
required:
26+
- compatible
27+
- mboxes
28+
29+
examples:
30+
- |
31+
firmware {
32+
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
33+
mboxes = <&mailbox>;
34+
};
35+
...

0 commit comments

Comments
 (0)