[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <64418e6a-7ac2-ae2f-a064-937343ecb136@cogentembedded.com>
Date: Fri, 18 Aug 2017 19:04:19 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Aleksandar Markovic <aleksandar.markovic@...rk.com>,
linux-mips@...ux-mips.org
Cc: Aleksandar Markovic <aleksandar.markovic@...tec.com>,
Miodrag Dinic <miodrag.dinic@...tec.com>,
Goran Ferenc <goran.ferenc@...tec.com>,
Bo Hu <bohu@...gle.com>, David Airlie <airlied@...ux.ie>,
devicetree@...r.kernel.org,
Douglas Leung <douglas.leung@...tec.com>,
dri-devel@...ts.freedesktop.org,
James Hogan <james.hogan@...tec.com>,
Jin Qian <jinqian@...gle.com>, linux-kernel@...r.kernel.org,
Mark Rutland <mark.rutland@....com>,
Paul Burton <paul.burton@...tec.com>,
Petar Jovanovic <petar.jovanovic@...tec.com>,
Raghu Gandham <raghu.gandham@...tec.com>,
Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH v4 6/8] Documentation: Add device tree binding for
Goldfish FB driver
On 08/18/2017 04:08 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <aleksandar.markovic@...tec.com>
>
> Add documentation for DT binding of Goldfish FB driver. The compatible
> string used by OS for binding the driver is "google,goldfish-fb".
>
> Signed-off-by: Miodrag Dinic <miodrag.dinic@...tec.com>
> Signed-off-by: Goran Ferenc <goran.ferenc@...tec.com>
> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@...tec.com>
> ---
> .../devicetree/bindings/display/google,goldfish-fb.txt | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/google,goldfish-fb.txt
>
> diff --git a/Documentation/devicetree/bindings/display/google,goldfish-fb.txt b/Documentation/devicetree/bindings/display/google,goldfish-fb.txt
> new file mode 100644
> index 0000000..9ce0615
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/google,goldfish-fb.txt
> @@ -0,0 +1,18 @@
> +Android Goldfish framebuffer
> +
> +Android Goldfish framebuffer device used by Android emulator.
> +
> +Required properties:
> +
> +- compatible : should contain "google,goldfish-fb"
> +- reg : <registers mapping>
> +- interrupts : <interrupt mapping>
> +
> +Example:
> +
> + goldfish_fb@...08000 {
The node names should be generic according to the DT spec. It even has the
fitting name: "display".
> + compatible = "google,goldfish-fb";
> + interrupts = <0x10>;
> + reg = <0x1f008000 0x0 0x100>;
> + compatible = "google,goldfish-fb";
Why twice? :-)
> + };
>
MBR, Sergei
Powered by blists - more mailing lists