Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mailbox: Convert marvell,armada-3700-rwtm-mailbox to DT schema

Convert the Marvell Armada 3700 rWTM mailbox binding to DT schema
format. It's a straightforward conversion.

Link: https://lore.kernel.org/r/20250812181357.63395-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+42 -16
-16
Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.txt
··· 1 - * rWTM BIU Mailbox driver for Armada 37xx 2 - 3 - Required properties: 4 - - compatible: must be "marvell,armada-3700-rwtm-mailbox" 5 - - reg: physical base address of the mailbox and length of memory mapped 6 - region 7 - - interrupts: the IRQ line for the mailbox 8 - - #mbox-cells: must be 1 9 - 10 - Example: 11 - rwtm: mailbox@b0000 { 12 - compatible = "marvell,armada-3700-rwtm-mailbox"; 13 - reg = <0xb0000 0x100>; 14 - interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 15 - #mbox-cells = <1>; 16 - };
+42
Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mailbox/marvell,armada-3700-rwtm-mailbox.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Armada 3700 rWTM Mailbox 8 + 9 + maintainers: 10 + - Marek Behún <kabel@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + const: marvell,armada-3700-rwtm-mailbox 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + maxItems: 1 21 + 22 + '#mbox-cells': 23 + const: 1 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - interrupts 29 + - '#mbox-cells' 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + #include <dt-bindings/interrupt-controller/arm-gic.h> 36 + 37 + mailbox@b0000 { 38 + compatible = "marvell,armada-3700-rwtm-mailbox"; 39 + reg = <0xb0000 0x100>; 40 + interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 41 + #mbox-cells = <1>; 42 + };