Re: [PATCH 1/2] dt-bindings: serial: snps-dw-apb-uart: make interrupt optional

From: Andy Shevchenko
Date: Thu Aug 03 2023 - 07:40:16 EST


On Wed, Aug 02, 2023 at 11:53:59PM +0100, Conor Dooley wrote:
> On Thu, Aug 03, 2023 at 12:57:44AM +0300, Andy Shevchenko wrote:
> > On Wed, Aug 02, 2023 at 04:43:48PM +0100, Conor Dooley wrote:
> > > On Wed, Aug 02, 2023 at 11:05:44PM +0800, Jisheng Zhang wrote:
> > > > The driver fall back to poll style when there's no irq. "poll" still
> > > > looks better than no support.
> > >
> > > What is the user for this where the interrupt is not actually wired up
> > > in the hardware?
> >
> > FYI: kernel console doesn't use interrupts, so for example it might be
> > the debug port. Note, I have no idea of the Zhang's case, just my assumption.
>
> I'm less interested in what the software is doing, it's what the device
> that has not connected the interrupt is that I am curious about.

As I said. The hw may be purely for debugging purposes (and yes, I have heard
about such a hardware).

--
With Best Regards,
Andy Shevchenko