[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAGm54UFJt2PHJThigVYLrgKqBz7rNF-vWYFJ5wykBx+GPjzihw@mail.gmail.com>
Date: Fri, 11 Dec 2020 10:06:05 +0800
From: Lei Yu <yulei.sh@...edance.com>
To: Oskar Senft <osk@...gle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
John Wang <wangzhiqiang.bj@...edance.com>,
Lotus Xu <xuxiaohan@...edance.com>,
Yong Li <yong.b.li@...ux.intel.com>,
Vernon Mauery <vernon.mauery@...ux.intel.com>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
Jonathan Corbet <corbet@....net>,
Derek Kiernan <derek.kiernan@...inx.com>,
Dragan Cvetic <dragan.cvetic@...inx.com>,
Arnd Bergmann <arnd@...db.de>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-aspeed@...ts.ozlabs.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>
Subject: Re: [External] Re: [PATCH 1/3] misc: aspeed: Add Aspeed UART routing
control driver.
On Thu, Dec 10, 2020 at 8:33 PM Oskar Senft <osk@...gle.com> wrote:
>
> The purpose of this driver is to allow manipulation of the UART routing at runtime. Setting the routing in the DTS would obviously not allow that.
>
> From what I remember, I used am existing unrelated driver as template. Apologies for using the wrong APIs - I literally just followed what I had seen elsewhere.
>
> Since posting this driver, we found that while it solved our initial use case, that use case has evolved. We're now using Aspeed's VUART where bytes are routed "manually" (i.e. copied between devices) rather than in hardware. So I don't need this driver anymore.
>
> If it's still useful to anyone, please take ownership and modify it as needed to be able to submit it. I'm still happy to keep an eye on it and help explain its purpose.
>
The driver is useful for our system, and it's used in intel-openbmc as well.
We (John and I work for the same employer) have the chance to use
Andrew Jefery's ["bmc-misc" driver][1] to configure the various
registers in dts to setup the UART routing, but that driver was not
accepted by upstream.
So we end up sending this patch here for upstream's comment.
If it's considered not a good option, we will have to keep it downstream.
[1] https://lore.kernel.org/openbmc/20180711053122.30773-1-andrew@aj.id.au/
--
BRs,
Lei YU
Powered by blists - more mailing lists