diff options
author | Marek Vasut <marex@denx.de> | 2016-12-01 02:06:30 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-19 12:26:37 -0500 |
commit | 79fd9281880974f076c5b4b354b57faa6e0cc146 (patch) | |
tree | 8fd32182add56a0b37ddff71daf87c5e8bcd8db5 /include/ns16550.h | |
parent | 65f83802b7a5b3b06ae1576a8cc5e3b8d83cc8e8 (diff) |
serial: 16550: Add port type as driver data
Add driver data to each compatible string to identify the type of
the port. Since all the ports in the driver are entirely compatible
with 16550 for now, all are marked with PORT_NS16550. But, there
are ports which have specific quirks, like the JZ4780 UART, which
do not have any DT property to denote the quirks. Instead, Linux
uses the compatible string to discern such ports and enable the
necessary quirks.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ns16550.h')
0 files changed, 0 insertions, 0 deletions