[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181023104138.5yqjgul7mrpodjhe@lakrids.cambridge.arm.com>
Date: Tue, 23 Oct 2018 11:41:38 +0100
From: Mark Rutland <mark.rutland@....com>
To: Peng Hao <peng.hao2@....com.cn>
Cc: robh+dt@...nel.org, arnd@...db.de, gregkh@...uxfoundation.org,
andy@...radead.org, dvhart@...radead.org,
linux-kernel@...r.kernel.org, platform-driver-x86@...r.kernel.org,
hutao@...fujitsu.com
Subject: Re: [PATCH 4/4] pvpanic: add document for pvpanic-mmio DT
On Wed, Oct 24, 2018 at 01:25:37AM +0800, Peng Hao wrote:
> Signed-off-by: Peng Hao <peng.hao2@....com.cn>
> ---
> .../devicetree/bindings/arm/pvpanic-mmio.txt | 26 ++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/pvpanic-mmio.txt
>
> diff --git a/Documentation/devicetree/bindings/arm/pvpanic-mmio.txt b/Documentation/devicetree/bindings/arm/pvpanic-mmio.txt
> new file mode 100644
> index 0000000..96c84e15
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/pvpanic-mmio.txt
> @@ -0,0 +1,26 @@
> +* QEMU PVPANIC MMIO Configuration bindings for ARM
> +
> +QEMU's aarch64-softmmu 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 ARM guests as memory mapped registers.
Please drop references to arm/arm64 in the commit message. I'm sure
other architectures will pick this up, and we only need to describe that
it's an MMIO device that QEMU can provide.
> +
> +Required properties:
> +
> +- compatible: "qemu,pvpanic-mmio".
The reg property should also be described.
Otherwise, this looks good to me.
Thanks,
Mark.
> +
> +Example:
> +
> +/ {
> + #size-cells = <0x2>;
> + #address-cells = <0x2>;
> +
> + pvpanic-mmio@...0000 {
> + compatible = "qemu,pvpanic-mmio";
> + reg = <0x0 0x9060000 0x0 0x2>;
> + };
> +};
> +
> --
> 1.8.3.1
>
Powered by blists - more mailing lists