Re: [PATCH 0/2] serial: 8250: add support for MediaTek BTIF controller

From: Andy Shevchenko
Date: Wed Aug 02 2017 - 13:19:15 EST


On Thu, 2017-08-03 at 01:05 +0800, sean.wang@xxxxxxxxxxxx wrote:
> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> This patchset introduces the support for MediaTek BTIF controller.
>
> MediaTek BTIF controller is the serial interface similar to UART but
> it
> works only as the digital device which is mainly used to communicate
> with
> the connectivity module also called CONNSYS inside the SoC which could
> be
> mostly found on those MediaTek SoCs with Bluetooth feature.
>
> And the controller is made as being compatible with the 8250 register
> layout so it tends to be integrated with existing 8250 core driver and
> have no requirement for the modem configuration additionally such as
> the
> baud rate calculation and assignment.


Why it requires a separate driver?

8250_of is for DT enabled drivers.

>
> Sean Wang (2):
> Â dt-bindings: serial: Add MediaTek BTIF controller bindings
> Â tty: serial: 8250: Add MediaTek BTIF controller on MT7622 and MT7623
> ÂÂÂÂSoC
>
> Â.../devicetree/bindings/serial/mtk-btif.txtÂÂÂÂÂÂÂÂ|ÂÂ26 +++
> Âdrivers/tty/serial/8250/8250_btif.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 224
> +++++++++++++++++++++
> Âdrivers/tty/serial/8250/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ9 +
> Âdrivers/tty/serial/8250/MakefileÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ1 +
> Â4 files changed, 260 insertions(+)
> Âcreate mode 100644 Documentation/devicetree/bindings/serial/mtk-
> btif.txt
> Âcreate mode 100644 drivers/tty/serial/8250/8250_btif.c
>

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy