Re: [PATCH v5 15/15] misc: bcm-vk: add ttyVK support
From: Florian Fainelli
Date: Wed Sep 30 2020 - 22:36:31 EST
On 9/30/2020 6:28 PM, Scott Branden wrote:
Add ttyVK support to driver to allow console access to VK card from host.
Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where:
x is the instance of the VK card
y is the tty device number on the VK card
Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
Was it not possible to:
- emulate a standard 8250 UART and just expose an additional bar + MSI
vector such that one could get a debug UART out of this device with
little to no work on the host side?
- or use virtio console and implement virtio on the firmware that runs
on VK?
It's not a lot of code, but it just feels like this should not have to
be done at all.
--
Florian