From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Alan <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/5] Subject: video: goldfishfb: add devicetree bindings
Date: Mon, 07 Mar 2016 18:29:21 +0000 [thread overview]
Message-ID: <56DDC881.6060603@ti.com> (raw)
In-Reply-To: <20160226184146.2731.41848.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2208 bytes --]
On 26/02/16 20:41, Alan wrote:
> From: Greg Hackmann <ghackmann@google.com>
>
> Add device tree bindings to the Goldfish frame buffer interface.
>
> Signed-off-by: Greg Hackmann <ghackmann@google.com>
> Signed-off-by: Jin Qian <jinqian@android.com>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> ---
> Documentation/devicetree/bindings/goldfish/fb.txt | 17 +++++++++++++++++
> drivers/video/fbdev/goldfishfb.c | 9 ++++++++-
> 2 files changed, 25 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/goldfish/fb.txt
Device tree bindings should also be sent to the devicetree mailing list.
> diff --git a/Documentation/devicetree/bindings/goldfish/fb.txt b/Documentation/devicetree/bindings/goldfish/fb.txt
> new file mode 100644
> index 0000000..c7d2d46
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/goldfish/fb.txt
> @@ -0,0 +1,17 @@
> +Android Goldfish Framebuffer
> +
> +Andorid goldfish framebuffer device generated by android emulator.
Typo there in Android.
> +
> +Required properties:
> +
> +- compatible : should contain "google,goldfish-fb" to match emulator
> +- reg : <registers mapping>
> +- interrupts : <interrupt mapping>
> +
> +Example:
> +
> + goldfish_fb@9010000 {
> + compatible = "google,goldfish-fb";
> + reg = <0x9010000 0x100>;
> + interrupts = <0x2>;
> + };
> diff --git a/drivers/video/fbdev/goldfishfb.c b/drivers/video/fbdev/goldfishfb.c
> index 7f6c9e6..f0e651b 100644
> --- a/drivers/video/fbdev/goldfishfb.c
> +++ b/drivers/video/fbdev/goldfishfb.c
> @@ -304,12 +304,19 @@ static int goldfish_fb_remove(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct of_device_id goldfish_fb_of_match[] = {
> + { .compatible = "google,goldfish-fb", },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, goldfish_fb_of_match);
>
> static struct platform_driver goldfish_fb_driver = {
> .probe = goldfish_fb_probe,
> .remove = goldfish_fb_remove,
> .driver = {
> - .name = "goldfish_fb"
> + .name = "goldfish_fb",
> + .owner = THIS_MODULE,
> + .of_match_table = goldfish_fb_of_match,
> }
> };
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Tomi Valkeinen <tomi.valkeinen-l0cyMroinI0@public.gmane.org>
To: Alan <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/5] Subject: video: goldfishfb: add devicetree bindings
Date: Mon, 7 Mar 2016 20:29:21 +0200 [thread overview]
Message-ID: <56DDC881.6060603@ti.com> (raw)
In-Reply-To: <20160226184146.2731.41848.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2318 bytes --]
On 26/02/16 20:41, Alan wrote:
> From: Greg Hackmann <ghackmann-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
>
> Add device tree bindings to the Goldfish frame buffer interface.
>
> Signed-off-by: Greg Hackmann <ghackmann-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Jin Qian <jinqian-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> ---
> Documentation/devicetree/bindings/goldfish/fb.txt | 17 +++++++++++++++++
> drivers/video/fbdev/goldfishfb.c | 9 ++++++++-
> 2 files changed, 25 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/goldfish/fb.txt
Device tree bindings should also be sent to the devicetree mailing list.
> diff --git a/Documentation/devicetree/bindings/goldfish/fb.txt b/Documentation/devicetree/bindings/goldfish/fb.txt
> new file mode 100644
> index 0000000..c7d2d46
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/goldfish/fb.txt
> @@ -0,0 +1,17 @@
> +Android Goldfish Framebuffer
> +
> +Andorid goldfish framebuffer device generated by android emulator.
Typo there in Android.
> +
> +Required properties:
> +
> +- compatible : should contain "google,goldfish-fb" to match emulator
> +- reg : <registers mapping>
> +- interrupts : <interrupt mapping>
> +
> +Example:
> +
> + goldfish_fb@9010000 {
> + compatible = "google,goldfish-fb";
> + reg = <0x9010000 0x100>;
> + interrupts = <0x2>;
> + };
> diff --git a/drivers/video/fbdev/goldfishfb.c b/drivers/video/fbdev/goldfishfb.c
> index 7f6c9e6..f0e651b 100644
> --- a/drivers/video/fbdev/goldfishfb.c
> +++ b/drivers/video/fbdev/goldfishfb.c
> @@ -304,12 +304,19 @@ static int goldfish_fb_remove(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct of_device_id goldfish_fb_of_match[] = {
> + { .compatible = "google,goldfish-fb", },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, goldfish_fb_of_match);
>
> static struct platform_driver goldfish_fb_driver = {
> .probe = goldfish_fb_probe,
> .remove = goldfish_fb_remove,
> .driver = {
> - .name = "goldfish_fb"
> + .name = "goldfish_fb",
> + .owner = THIS_MODULE,
> + .of_match_table = goldfish_fb_of_match,
> }
> };
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-03-07 18:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 18:41 [PATCH 0/5] goldfish: bring the framebuffer in sync with upstream Alan
2016-02-26 18:41 ` [PATCH 1/5] Subject: video: goldfishfb: add devicetree bindings Alan
[not found] ` <20160226184146.2731.41848.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2016-03-07 18:29 ` Tomi Valkeinen [this message]
2016-03-07 18:29 ` Tomi Valkeinen
2016-02-26 18:41 ` [PATCH 2/5] Subject: goldfish: Enable ACPI-based enumeration for goldfish framebuffer Alan
2016-03-07 18:35 ` Tomi Valkeinen
2016-03-07 18:35 ` Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56DDC881.6060603@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.