Re: [RFC PATCH 0/2] serial: 8250_dw: IO space + polling mode support

Andy Shevchenko
2018-02-23T10:30:01Z

On Fri, 2018-02-23 at 02:42 +0800, John Garry wrote:
> There is a requirement

Where?

> for supporting an 8250-compatible UART with
> the following profile/features:
> - platform device
> - polling mode (i.e. no interrupt support)

> - ACPI FW

Elaborate this one, please.

> - IO port iotype
> - 16550-compatible
>
> For OF, we have 8250_of.c, and for PNP device we have 8250_pnp.c
> drivers. However there does not seem to any driver satisfying
> the above requirements. So this RFC is to find opinion on
> modifying the Synopsys DW 8250_dw.c driver to support these
> generic features.

Synopsys 8250 is a particular case of platform drivers. It doesn't
satisfy "8250-compatible UART" requirement.

> With patch 2/2, we're relaxing the interrupt support requirement.
> As I mentioned in the commit log, the 8250_of.c driver seems to
> ignore the dt bindings, and I do the same.

--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy