Re: [PATCH] serial: 8250_of: Add IO space support

2018-04-23 Thread John Garry
On 23/04/2018 09:14, Greg KH wrote: On Thu, Apr 19, 2018 at 11:37:48PM +0800, John Garry wrote: 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 modi

Re: [PATCH] serial: 8250_of: Add IO space support

2018-04-23 Thread Greg KH
On Thu, Apr 19, 2018 at 11:37:48PM +0800, John Garry wrote: > 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 simpl

[PATCH] serial: 8250_of: Add IO space support

2018-04-19 Thread John Garry
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 add