[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zc4_IHMQWSGtCCC2@smile.fi.intel.com>
Date: Thu, 15 Feb 2024 18:43:12 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>,
linux-serial <linux-serial@...r.kernel.org>,
Jiri Slaby <jirislaby@...nel.org>
Subject: Re: [PATCH v2 1/1] serial: 8250_of: Drop quirk fot NPCM from
8250_port
On Thu, Feb 15, 2024 at 06:40:15PM +0200, Ilpo Järvinen wrote:
> On Thu, 15 Feb 2024, Andy Shevchenko wrote:
..
> > + /*
> > + * Nuvoton calls the scratch register 'UART_TOR' (timeout
> > + * register). Enable it, and set TIOC (timeout interrupt
> > + * comparator) to be 0x20 for correct operation.
> > + */
> > + serial_port_out(port, UART_NPCM_TOR, UART_NPCM_TOIE | 0x20);
> > +
> > + return serial8250_do_startup(port);
>
> I know this matches how it is currently done\
Exactly, I haven't changed the workflow.
Does it mean you are okay with the change?
> but I wonder if TOIE should not be enabled until ->setup_irq()
> has been called.
No idea, this will need an extensive test on the hardware and should
be done separately anyway. I have no HW to test this.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists