Thread (9 messages) 9 messages, 4 authors, 2012-06-16
STALE5086d

Re: [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-arm-kernel

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

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help