aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/misc
diff options
context:
space:
mode:
authorPeng Hao <peng.hao2@zte.com.cn>2018-11-06 22:57:15 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 13:53:04 +0100
commitb1d9d6cb30fe6bd1b844ae98a372471f17c4fdc4 (patch)
treef2b2406de5e0ef83a6e0070d598e0ce01ec64d02 /Documentation/devicetree/bindings/misc
parentmisc/pvpanic: add MMIO support (diff)
downloadlinux-dev-b1d9d6cb30fe6bd1b844ae98a372471f17c4fdc4.tar.xz
linux-dev-b1d9d6cb30fe6bd1b844ae98a372471f17c4fdc4.zip
dt-bindings: misc/pvpanic: add document for pvpanic-mmio
Add dt-bindings document for "qemu:pvpanic-mmio". Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Peng Hao <peng.hao2@zte.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/misc')
-rw-r--r--Documentation/devicetree/bindings/misc/pvpanic-mmio.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt b/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt
new file mode 100644
index 000000000000..985e90736780
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt
@@ -0,0 +1,29 @@
+* QEMU PVPANIC MMIO Configuration bindings
+
+QEMU's emulation / virtualization targets provide the following PVPANIC
+MMIO Configuration interface on the "virt" machine.
+type:
+
+- a read-write, 16-bit wide data register.
+
+QEMU exposes the data register to guests as memory mapped registers.
+
+Required properties:
+
+- compatible: "qemu,pvpanic-mmio".
+- reg: the MMIO region used by the device.
+ * Bytes 0x0 Write panic event to the reg when guest OS panics.
+ * Bytes 0x1 Reserved.
+
+Example:
+
+/ {
+ #size-cells = <0x2>;
+ #address-cells = <0x2>;
+
+ pvpanic-mmio@9060000 {
+ compatible = "qemu,pvpanic-mmio";
+ reg = <0x0 0x9060000 0x0 0x2>;
+ };
+};
+