From: "Jiří Prchal" <jiri.prchal@aksignal.cz>
To: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-serial@vger.kernel.org
Subject: Re: Support for RS485 on 8250 clone
Date: Tue, 29 Jul 2014 08:10:21 +0200 [thread overview]
Message-ID: <53D73ACD.4010602@aksignal.cz> (raw)
In-Reply-To: <CAPybu_2XurwztXTo+KwqKw1NpKFTLgPQ5AHyuO-z7-=65oAGqw@mail.gmail.com>
Hi,
as I know, the 8250 chip does not support RS485 rx/tx hw switching. You can do sw switching on some gpio.
HW switching suports 16550 or higher.
Dne 28.7.2014 v 17:19 Ricardo Ribalda Delgado napsal(a):
> Hello
>
> I have a device with a Fintek F81216A LPC to 4 Uart device.
>
> One of the uarts is used as half duplex rs485 serial port. This means
> that it needs to be configured properly (logical level of rts, delays,
> etc...)
>
> I see that there is an API on the kernel to do this (TIOCGRS485),
> unfortunately the 8250 driver does not support it.
>
> 1) Is there any interest on supporting this kind of hardware on the kernel?
It would be nice.
>
> 2) Some driver that I could use for inspiration?
Try Advantech web site, they have some, but not GPL.
>
> Thanks and best regards!
>
>
>
>
prev parent reply other threads:[~2014-07-29 6:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 15:19 Support for RS485 on 8250 clone Ricardo Ribalda Delgado
2014-07-28 16:40 ` Grant Edwards
2014-07-29 6:10 ` Jiří Prchal [this message]
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=53D73ACD.4010602@aksignal.cz \
--to=jiri.prchal@aksignal.cz \
--cc=gregkh@linuxfoundation.org \
--cc=linux-serial@vger.kernel.org \
--cc=ricardo.ribalda@gmail.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;
as well as URLs for NNTP newsgroup(s).