Thread (20 messages) 20 messages, 7 authors, 2012-07-13
STALE5089d

[PATCH v3 2/2] serial: mxs-auart: Allow device tree probing

From: Shawn Guo <hidden>
Date: 2012-06-16 01:59:57
Also in: linux-serial

On Fri, Jun 15, 2012 at 01:11:12PM -0300, Fabio Estevam wrote:
On Fri, Jun 15, 2012 at 1:06 PM, Shawn Guo [off-list ref] wrote:
quoted
quoted
+MODULE_DEVICE_TABLE(platform, mxs_auart_devtype);
...
quoted
+ ? ? ? ? ? ? .id_table = mxs_auart_devtype,
I do not think we need these.
WIthout this, the non-dt kernel does not probe correctly.
Are you sure about that?  I just tried to removed those and still
saw the following with non-DT boot.

[    0.810000] mxs-auart.0: ttyAPP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auar t.0
[    0.820000] mxs-auart mxs-auart.0: Found APPUART 3.1.0
[    0.830000] mxs-auart.3: ttyAPP3 at MMIO 0x80070000 (irq = 115) is a mxs-auar t.3
[    0.840000] mxs-auart mxs-auart.3: Found APPUART 3.1.0

-- 
Regards,
Shawn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help