Re: [PATCH v3] tty: serial: don't do termios for BTIF

From: Greg KH
Date: Wed Apr 22 2020 - 14:09:04 EST


On Thu, Apr 23, 2020 at 02:02:08AM +0800, sean.wang@xxxxxxxxxxxx wrote:
> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> Bluetooth Interface (BTIF) is designed dedicatedly for MediaTek SOC with
> BT in order to be instead of the UART interface between BT module and Host
> CPU, and not exported to user space to access.
>
> As the UART design, BTIF will be an APB slave and can transmit or receive
> data by MCU access, but doesn't provide termios function like baudrate and
> flow control setup.

Why does it matter? If the connection isn't exported to userspace, who
would run those termios functions on the port?

thanks,

greg k-h