summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-06-15 10:40:41 +0200
committerStephen Boyd <sboyd@kernel.org>2020-06-19 17:21:14 -0700
commitd4c708c032df3d95de297232e20041737e99d126 (patch)
tree415e3e1b8436d918875f9589d354d861d25ba9c9 /Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
parent1bc95972715ab81fd3fa9f5b45ace5bb607af1b5 (diff)
downloadlinux-d4c708c032df3d95de297232e20041737e99d126.tar.bz2
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 <f.fainelli@gmail.com> Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/5bc0b9be8544b07300fccab4d4f26e5e5d8e62b2.1592210452.git-series.maxime@cerno.tech Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml')
-rw-r--r--Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
new file mode 100644
index 000000000000..cec540c052b6
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Raspberry Pi VideoCore firmware driver
+
+maintainers:
+ - Eric Anholt <eric@anholt.net>
+ - Stefan Wahren <wahrenst@gmx.net>
+
+properties:
+ compatible:
+ items:
+ - const: raspberrypi,bcm2835-firmware
+ - const: simple-bus
+
+ mboxes:
+ $ref: '/schemas/types.yaml#/definitions/phandle'
+ description: |
+ Phandle to the firmware device's Mailbox.
+ (See: ../mailbox/mailbox.txt for more information)
+
+required:
+ - compatible
+ - mboxes
+
+examples:
+ - |
+ firmware {
+ compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
+ mboxes = <&mailbox>;
+ };
+...