diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-12-19 19:49:46 +0100 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2021-12-19 19:49:46 +0100 |
commit | e138d78ffee6451400c1c91f02b8dcaf8b1af07f (patch) | |
tree | 20a1bbaa1a6e0a4f6a4afdceaf6d01bd979f4c88 | |
parent | ARM: dts: NSP: Rename SATA unit name (diff) | |
parent | dt-bindings: soc: bcm: Convert brcm,bcm2835-vchiq to json-schema (diff) | |
download | linux-e138d78ffee6451400c1c91f02b8dcaf8b1af07f.tar.xz linux-e138d78ffee6451400c1c91f02b8dcaf8b1af07f.zip |
Merge tag 'tags/bcm2835-bindings-2021-12-18' into devicetree/next
Stefan Wahren converts VCHIQ's bindings to YAML format.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt | 17 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.yaml | 53 |
2 files changed, 53 insertions, 17 deletions
diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt deleted file mode 100644 index f331316183f6..000000000000 --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt +++ /dev/null @@ -1,17 +0,0 @@ -Broadcom VCHIQ firmware services - -Required properties: - -- compatible: Should be "brcm,bcm2835-vchiq" on BCM2835, otherwise - "brcm,bcm2836-vchiq". -- reg: Physical base address and length of the doorbell register pair -- interrupts: The interrupt number - See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt - -Example: - -mailbox@7e00b840 { - compatible = "brcm,bcm2835-vchiq"; - reg = <0x7e00b840 0xf>; - interrupts = <0 2>; -}; 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>; + }; + +... |