Re: VUART compatibility (was: Re: [PATCH v2 0/3] arm: aspeed: Add UART routing support)
From: Paul Fertser
Date: Wed Sep 08 2021 - 07:27:15 EST
On Wed, Sep 08, 2021 at 01:52:45PM +0300, Paul Fertser wrote:
> In this case do we have some way to make it an obvious error to enable
> both SUART1 and VUART in DTS? If they're conflicting surely there
> should be a way to express that?
I have to add this idea is obviously silly as we have sysfs nodes to
specify both LPC I/O address and interrupt number for VUART and
arbitrary numbers are allowed (so it can conflict with any of the
SUART port) so there should be probably some runtime checking in VUART
driver to prevent that?
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!