mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: WangYuli <wangyuli@uniontech.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>,
	linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
	Arnd Bergmann <arnd@kernel.org>,
	Niklas Schnelle <schnelle@linux.ibm.com>,
	pnewman@connecttech.com, Sunil V L <sunilvl@ventanamicro.com>,
	"Paul E. McKenney" <paulmck@kernel.org>,
	zhanjun@uniontech.com, guanwentao@uniontech.com,
	Zhuozhen He <hezhuozhen@uniontech.com>,
	Guowei Chen <chenguowei@uniontech.com>
Subject: Re: [PATCH] serial: 8250_it8768e: Create iTE IT8768E specific 8250 driver
Date: Mon, 13 Jan 2025 11:59:42 +0200	[thread overview]
Message-ID: <Z4TkDgYSSm7nwUhY@smile.fi.intel.com> (raw)
In-Reply-To: <11805e8c-c97b-4297-9c04-462fa1932ce1@app.fastmail.com>

On Thu, Jan 09, 2025 at 01:40:14PM +0100, Arnd Bergmann wrote:
> On Thu, Jan 9, 2025, at 13:08, WangYuli wrote:
> > [ General description per its product manual: ]
> >   The IT8768E-I is a highly integrated Super I/O using the Low Pin
> >   Count Interface. The device’s LPC interface complies with Intel
> >   "LPC Interface Specification Rev. 1.1”. The IT8768E-I is ACPI &
> >   LANDesk compliant.
> >
> >   Integrated in the IT8768E-I are five logical devices, which can
> >   be individually enabled or disabled via software configuration
> >   registers, and four 16C550standard compatible enhanced UARTs
> >   perofrmacing asynchronous communication. The devices also provide
> >   GPIO port controlling up to 12 GPIO pins.
> >
> >   The IT8768E-I utilizes power-saving circuitry to reduce power
> >   consumption, and once a logical device is disabled, the inputs
> >   are inhibited with the clock disabled and the outputs are
> >   tri-stated. The device requires a single 24/48 MHz clock input
> >   and operates with +3.3V power supply. The IT8768E-I is available
> >   in 48-pin LQFP.
> >
> > It has been determined that this chip is currently employed within
> > YIHUA STS-320 intelligent teller terminals utilizing
> > PCBA F21-2401 D2000 MB VerA LF motherboards.
> 
> Can you explain why this isn't done as part of
> drivers/tty/serial/8250/8250_pnp.c?

I assume you meant 8250_platform.c. PNP is for devices went through legacy PNP
enumeration, most likely having IOPORT instead of IOMEM.

Recently 8250_platform.c was expanded to cover ACPI IDs and it seems they have
proper ID allocated for their device, so that's where it seems best to fit.

> I see nothing unusual in here that requires a custom driver.

+1.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2025-01-13  9:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 12:08 WangYuli
2025-01-09 12:40 ` Arnd Bergmann
2025-01-13  9:59   ` Andy Shevchenko [this message]
2025-01-13 10:36     ` Arnd Bergmann
2025-01-13 12:20       ` Andy Shevchenko
2025-01-13 13:12         ` Arnd Bergmann
2025-01-13 15:31           ` Andy Shevchenko
2025-01-11  1:35 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z4TkDgYSSm7nwUhY@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=chenguowei@uniontech.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=guanwentao@uniontech.com \
    --cc=hezhuozhen@uniontech.com \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=paulmck@kernel.org \
    --cc=pnewman@connecttech.com \
    --cc=schnelle@linux.ibm.com \
    --cc=sunilvl@ventanamicro.com \
    --cc=wangyuli@uniontech.com \
    --cc=zhanjun@uniontech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome