diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2021-12-15 10:44:49 +0100 |
---|---|---|
committer | Nicolas Saenz Julienne <nsaenz@kernel.org> | 2021-12-18 18:54:57 +0100 |
commit | eafba51c545a165b29777cde1fc8b04781a0a8db (patch) | |
tree | eeb86a9e31ffc46e378c4d88e815027170fb35c2 /Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-dev-eafba51c545a165b29777cde1fc8b04781a0a8db.tar.xz linux-dev-eafba51c545a165b29777cde1fc8b04781a0a8db.zip |
dt-bindings: soc: bcm: Convert brcm,bcm2835-vchiq to json-schema
This converts the VCHIQ bindings to YAML format.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Co-developed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215094448.280796-1-nsaenz@kernel.org
Diffstat (limited to '')
-rw-r--r-- | Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml new file mode 100644 index 000000000000..e04439b3355b --- /dev/null +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-vchiq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VCHIQ firmware services + +maintainers: + - Nicolas Saenz Julienne <nsaenz@kernel.org> + +description: + The VCHIQ communication channel can be provided by BCM283x and Capri SoCs, + to communicate with the VPU-side OS services. + +properties: + compatible: + oneOf: + - description: BCM2835 based boards + items: + - enum: + - brcm,bcm2835-vchiq + + - description: BCM2836/BCM2837 based boards + items: + - enum: + - brcm,bcm2836-vchiq + - const: brcm,bcm2835-vchiq + + reg: + description: Physical base address and length of the doorbell register pair + minItems: 1 + + interrupts: + description: Interrupt number of the doorbell interrupt + minItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + mailbox@7e00b840 { + compatible = "brcm,bcm2835-vchiq"; + reg = <0x7e00b840 0xf>; + interrupts = <0 2>; + }; + +... |