]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: 8250_of: Add IO space support
authorJohn Garry <john.garry@huawei.com>
Fri, 27 Apr 2018 10:36:06 +0000 (18:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:48:29 +0000 (13:48 +0200)
commitaa95947400edb571c680e89ec008f192b2e6f178
tree897c16d114ccabaa00dc02f9c0383b77bf6b17c2
parent9594b5be7ec110ed11acec58fa94f3f293668c85
serial: 8250_of: Add IO space support

Currently the 8250_of driver only supports MEM IO type
accesses.

Some development boards (Huawei D03, specifically) require
IO space access for 8250-compatible OF driver support, so
add it.

The modification is quite simple: just set the port iotype
and associated flags depending on the device address
resource type.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c