aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/fw-cfg.txt
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-03-09 19:35:52 -0600
committerRob Herring <robh@kernel.org>2022-03-11 08:51:53 -0600
commit1d9a770bc8f080267bba6b2169c87efb61f245c1 (patch)
tree5a82b8f45ef369e402fb21f23d7d6e42bf35a35e /Documentation/devicetree/bindings/arm/fw-cfg.txt
parentdt-bindings: i2c: at91: Add SAMA7G5 compatible strings list (diff)
downloadlinux-dev-1d9a770bc8f080267bba6b2169c87efb61f245c1.tar.xz
linux-dev-1d9a770bc8f080267bba6b2169c87efb61f245c1.zip
dt-bindings: arm: Convert QEMU fw-cfg to DT schema
Convert the QEMU fw-cfg binding to DT schema format. As this binding is also used on Risc-V now, drop any architecture references and move to a common location. The fw-cfg interface has also gained some DMA support which is coherent, so add the missing 'dma-coherent'. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Link: https://lore.kernel.org/r/20220310013552.549590-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/arm/fw-cfg.txt')
-rw-r--r--Documentation/devicetree/bindings/arm/fw-cfg.txt38
1 files changed, 0 insertions, 38 deletions
diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Documentation/devicetree/bindings/arm/fw-cfg.txt
deleted file mode 100644
index fd54e1db2156..000000000000
--- a/Documentation/devicetree/bindings/arm/fw-cfg.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-* QEMU Firmware Configuration bindings for ARM
-
-QEMU's arm-softmmu and aarch64-softmmu emulation / virtualization targets
-provide the following Firmware Configuration interface on the "virt" machine
-type:
-
-- A write-only, 16-bit wide selector (or control) register,
-- a read-write, 64-bit wide data register.
-
-QEMU exposes the control and data register to ARM guests as memory mapped
-registers; their location is communicated to the guest's UEFI firmware in the
-DTB that QEMU places at the bottom of the guest's DRAM.
-
-The authoritative guest-side hardware interface documentation to the fw_cfg
-device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree.
-
-
-Required properties:
-
-- compatible: "qemu,fw-cfg-mmio".
-
-- reg: the MMIO region used by the device.
- * Bytes 0x0 to 0x7 cover the data register.
- * Bytes 0x8 to 0x9 cover the selector register.
- * Further registers may be appended to the region in case of future interface
- revisions / feature bits.
-
-Example:
-
-/ {
- #size-cells = <0x2>;
- #address-cells = <0x2>;
-
- fw-cfg@9020000 {
- compatible = "qemu,fw-cfg-mmio";
- reg = <0x0 0x9020000 0x0 0xa>;
- };
-};