lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 02 Aug 2017 20:14:23 +0300
From:   Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To:     sean.wang@...iatek.com, robh+dt@...nel.org,
        gregkh@...uxfoundation.org, jslaby@...e.com,
        jan.kiszka@...mens.com, heikki.krogerus@...ux.intel.com,
        hpeter@...il.com, vigneshr@...com, matthias.bgg@...il.com
Cc:     devicetree@...r.kernel.org, linux-mediatek@...ts.infradead.org,
        linux-serial@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] serial: 8250: add support for MediaTek BTIF
 controller

On Thu, 2017-08-03 at 01:05 +0800, sean.wang@...iatek.com wrote:
> From: Sean Wang <sean.wang@...iatek.com>
> 
> 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@...ux.intel.com>
Intel Finland Oy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ