linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ji-Ze Hong (Peter Hong)" <hpeter@gmail.com>
To: Flavio Suligoi <f.suligoi@asem.it>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>,
	"Gustavo A . R . Silva" <gustavoars@kernel.org>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: R: R: R: [PATCH v1] serial: 8250_fintek: Print Fintek chip name
Date: Wed, 16 Dec 2020 08:53:41 +0800	[thread overview]
Message-ID: <47f3c665-df17-27ca-7835-5917f70a9665@gmail.com> (raw)
In-Reply-To: <08c7185573314b5ba622e5a872defd33@asem.it>

Hi,

Flavio Suligoi 於 2020/12/15 下午 11:06 寫道:
>>> we produce some x86 boards with multistandard RS232/422/485 ports
>>> and, to have this feature, in some of these boards, we use a
>>> Fintek uart or superIO.
>>> So this additional info "extra_name" can be useful for
>>> a quick check if the serial ports are multistandard or not,
>>> without any other investigations, but using only a simple command
>>> like:
>>>
>>> dmesg| grep ttyS
>>
>> But as they work the same, why does it matter?
> 
> Yes you are right, by the user point of view, they are the same.
> 
>>
>> Userspace should not care here.  Isn't there some other id you can
>> read/query for a hardware database tool to determine this?


As Greg mentions, The userspace don't care what IC they are using.
We can use Linux RS485 API to control or check the serial port.

https://www.kernel.org/doc/html/latest/driver-api/serial/serial-rs485.html

-- 
With Best Regards,
Peter Hong

  reply	other threads:[~2020-12-16  0:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14 13:14 [PATCH v1] serial: 8250_fintek: Print Fintek chip name Flavio Suligoi
2020-12-14 13:42 ` Greg Kroah-Hartman
2020-12-15  0:29   ` Ji-Ze Hong (Peter Hong)
2020-12-15  6:30     ` Jiri Slaby
2020-12-15 13:35   ` R: " Flavio Suligoi
2020-12-15 13:42     ` Greg Kroah-Hartman
2020-12-15 14:06       ` R: " Flavio Suligoi
2020-12-15 14:38         ` Greg Kroah-Hartman
2020-12-15 15:06           ` R: " Flavio Suligoi
2020-12-16  0:53             ` Ji-Ze Hong (Peter Hong) [this message]
2020-12-16  9:44               ` R: " Flavio Suligoi

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=47f3c665-df17-27ca-7835-5917f70a9665@gmail.com \
    --to=hpeter@gmail.com \
    --cc=f.suligoi@asem.it \
    --cc=gregkh@linuxfoundation.org \
    --cc=gustavoars@kernel.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).