From: Magnus Damm <magnus.damm@gmail.com>
To: linux-serial@vger.kernel.org
Cc: horms@verge.net.au, arnd@arndb.de, linux-sh@vger.kernel.org,
gregkh@linuxfoundation.org, swarren@wwwdotorg.org,
linux-kernel@vger.kernel.org, rjw@sisk.pl,
paul.gortmaker@windriver.com, lethal@linux-sh.org,
olof@lixom.net, Magnus Damm <magnus.damm@gmail.com>,
dan.j.williams@intel.com, alan@linux.intel.com
Subject: [PATCH] serial8250-em: Add DT support
Date: Wed, 09 May 2012 06:55:14 +0000 [thread overview]
Message-ID: <20120509065514.18528.83245.sendpatchset@w520> (raw)
From: Magnus Damm <damm@opensource.se>
Update the 8250_em driver to support DT.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Applies of top of "[PATCH] serial8250-em: Emma Mobile UART driver V2"
(included in linux-next 20120508) and the recently posted
"[PATCH] serial8250-em: clk_get() IS_ERR() error handling fix".
drivers/tty/serial/8250/8250_em.c | 7 +++++++
1 file changed, 7 insertions(+)
--- 0002/drivers/tty/serial/8250/8250_em.c
+++ work/drivers/tty/serial/8250/8250_em.c 2012-05-09 15:39:22.000000000 +0900
@@ -163,9 +163,16 @@ static int __devexit serial8250_em_remov
return 0;
}
+static const struct of_device_id serial8250_em_dt_ids[] __devinitconst = {
+ { .compatible = "renesas,em-uart", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, serial8250_em_dt_ids);
+
static struct platform_driver serial8250_em_platform_driver = {
.driver = {
.name = "serial8250-em",
+ .of_match_table = serial8250_em_dt_ids,
.owner = THIS_MODULE,
},
.probe = serial8250_em_probe,
WARNING: multiple messages have this Message-ID (diff)
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-serial@vger.kernel.org
Cc: horms@verge.net.au, arnd@arndb.de, linux-sh@vger.kernel.org,
gregkh@linuxfoundation.org, swarren@wwwdotorg.org,
linux-kernel@vger.kernel.org, rjw@sisk.pl,
paul.gortmaker@windriver.com, lethal@linux-sh.org,
olof@lixom.net, Magnus Damm <magnus.damm@gmail.com>,
dan.j.williams@intel.com, alan@linux.intel.com
Subject: [PATCH] serial8250-em: Add DT support
Date: Wed, 09 May 2012 15:55:14 +0900 [thread overview]
Message-ID: <20120509065514.18528.83245.sendpatchset@w520> (raw)
From: Magnus Damm <damm@opensource.se>
Update the 8250_em driver to support DT.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Applies of top of "[PATCH] serial8250-em: Emma Mobile UART driver V2"
(included in linux-next 20120508) and the recently posted
"[PATCH] serial8250-em: clk_get() IS_ERR() error handling fix".
drivers/tty/serial/8250/8250_em.c | 7 +++++++
1 file changed, 7 insertions(+)
--- 0002/drivers/tty/serial/8250/8250_em.c
+++ work/drivers/tty/serial/8250/8250_em.c 2012-05-09 15:39:22.000000000 +0900
@@ -163,9 +163,16 @@ static int __devexit serial8250_em_remov
return 0;
}
+static const struct of_device_id serial8250_em_dt_ids[] __devinitconst = {
+ { .compatible = "renesas,em-uart", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, serial8250_em_dt_ids);
+
static struct platform_driver serial8250_em_platform_driver = {
.driver = {
.name = "serial8250-em",
+ .of_match_table = serial8250_em_dt_ids,
.owner = THIS_MODULE,
},
.probe = serial8250_em_probe,
next reply other threads:[~2012-05-09 6:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 6:55 Magnus Damm [this message]
2012-05-09 6:55 ` [PATCH] serial8250-em: Add DT support Magnus Damm
2012-05-09 11:21 ` Arnd Bergmann
2012-05-09 11:21 ` Arnd Bergmann
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=20120509065514.18528.83245.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--cc=alan@linux.intel.com \
--cc=arnd@arndb.de \
--cc=dan.j.williams@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=horms@verge.net.au \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=olof@lixom.net \
--cc=paul.gortmaker@windriver.com \
--cc=rjw@sisk.pl \
--cc=swarren@wwwdotorg.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.