linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sean.wang@mediatek.com (sean.wang at mediatek.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/7] add support for Bluetooth on MT7622 SoC
Date: Tue, 15 May 2018 16:52:15 +0800	[thread overview]
Message-ID: <cover.1526374087.git.sean.wang@mediatek.com> (raw)

From: Sean Wang <sean.wang@mediatek.com>

v2 and changes since v1
 - Dropped patches already being applied
 - Rewirte the whole driver using btuart [1], and add slight extension
   of btuart to fit into btmtkuart driver. Beware that [1] is also pulled
   into one part of the series for avoiding any breakage when the patchset
   is being compiled.

[1] btuart 
	https://www.spinics.net/lists/linux-bluetooth/msg74918.html

v1:

Hi,

This patchset introduces built-in Bluetooth support on MT7622 SoC.
And, it should be simple to make an extension to support other
MediaTek SoCs with adjusting a few of changes on the initialization
sequence of the device.

Before the main driver is being introduced, a few of things about
power-domain management should be re-worked for serdev core and MediaTek
SCPSYS to allow the Bluetooth to properly power up.

Patch 2: add a generic way attaching power domain to serdev
Patch 3 and 4: add cleanups with reuse APIs from Linux core
Patch 5: fix a limitation about power enablement Bluetooth depends on
Patch 1, 6 and 7: the major part of adding Bluetooth support to MT7622
	
	Sean

Marcel Holtmann (1):
  Bluetooth: Add new serdev based driver for UART attached controllers

Sean Wang (6):
  dt-bindings: net: bluetooth: Add mediatek-bluetooth
  serdev: add dev_pm_domain_attach|detach()
  Bluetooth: Add new quirk for non-persistent setup settings
  Bluetooth: Extend btuart driver for join more vendor devices
  Bluetooth: mediatek: Add protocol support for MediaTek serial devices
  MAINTAINERS: add an entry for MediaTek Bluetooth driver

 .../devicetree/bindings/net/mediatek-bluetooth.txt |  35 ++
 MAINTAINERS                                        |   8 +
 drivers/bluetooth/Kconfig                          |  23 +
 drivers/bluetooth/Makefile                         |   3 +
 drivers/bluetooth/btmtkuart.c                      | 383 +++++++++++++++
 drivers/bluetooth/btmtkuart.h                      | 119 +++++
 drivers/bluetooth/btuart.c                         | 527 +++++++++++++++++++++
 drivers/bluetooth/btuart.h                         |  30 ++
 drivers/tty/serdev/core.c                          |  14 +-
 include/net/bluetooth/hci.h                        |   9 +
 net/bluetooth/hci_core.c                           |   3 +-
 11 files changed, 1152 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/mediatek-bluetooth.txt
 create mode 100644 drivers/bluetooth/btmtkuart.c
 create mode 100644 drivers/bluetooth/btmtkuart.h
 create mode 100644 drivers/bluetooth/btuart.c
 create mode 100644 drivers/bluetooth/btuart.h

-- 
2.7.4

             reply	other threads:[~2018-05-15  8:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15  8:52 sean.wang at mediatek.com [this message]
2018-05-15  8:52 ` [PATCH v2 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth sean.wang at mediatek.com
2018-05-15  8:52 ` [PATCH v2 2/7] serdev: add dev_pm_domain_attach|detach() sean.wang at mediatek.com
2018-05-15  8:52 ` [PATCH v2 3/7] Bluetooth: Add new serdev based driver for UART attached controllers sean.wang at mediatek.com
2018-05-15  8:52 ` [PATCH v2 4/7] Bluetooth: Add new quirk for non-persistent setup settings sean.wang at mediatek.com
2018-05-22  7:21   ` Marcel Holtmann
2018-05-22  8:05     ` Sean Wang
2018-05-23  6:37       ` [SPAM]Re: " Sean Wang
2018-05-23 12:31         ` Marcel Holtmann
2018-05-23 14:09           ` Sean Wang
2018-05-24  7:47             ` Marcel Holtmann
2018-05-24 15:30               ` Sean Wang
2018-05-30  6:26                 ` Marcel Holtmann
2018-06-12  9:58                   ` Sean Wang
2018-05-15  8:52 ` [PATCH v2 5/7] Bluetooth: Extend btuart driver for join more vendor devices sean.wang at mediatek.com
2018-05-15  8:52 ` [PATCH v2 6/7] Bluetooth: mediatek: Add protocol support for MediaTek serial devices sean.wang at mediatek.com
2018-05-15  8:52 ` [PATCH v2 7/7] MAINTAINERS: add an entry for MediaTek Bluetooth driver sean.wang at mediatek.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1526374087.git.sean.wang@mediatek.com \
    --to=sean.wang@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).