From: <sean.wang@mediatek.com>
To: <marcel@holtmann.org>, <johan.hedberg@gmail.com>
Cc: <Mark-YW.Chen@mediatek.com>, <sean.wang@mediatek.com>,
<Soul.Huang@mediatek.com>, <YN.Chen@mediatek.com>,
<Leon.Yen@mediatek.com>, <Eric-SY.Chang@mediatek.com>,
<Deren.Wu@mediatek.com>, <km.lin@mediatek.com>,
<robin.chiu@mediatek.com>, <Eddie.Chen@mediatek.com>,
<ch.yeh@mediatek.com>, <posh.sun@mediatek.com>,
<ted.huang@mediatek.com>, <Eric.Liang@mediatek.com>,
<Stella.Chang@mediatek.com>, <Tom.Chou@mediatek.com>,
<steve.lee@mediatek.com>, <jsiuda@google.com>,
<frankgor@google.com>, <jemele@google.com>,
<abhishekpandit@google.com>, <michaelfsun@google.com>,
<mcchou@chromium.org>, <shawnku@google.com>,
<linux-bluetooth@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, Sean Wang <objelf@gmail.com>
Subject: [PATCH v1 00/10] Add MT7921 SDIO Bluetooth support
Date: Sat, 9 Oct 2021 06:10:07 +0800 [thread overview]
Message-ID: <cover.1633728573.git.objelf@gmail.com> (raw)
From: Sean Wang <objelf@gmail.com>
The patchset adds the MT7921 SDIO (MT7921s) Blutooth support to btmtksdio
driver, which basically are made up of 3 parts.
PART 1: patch 1-3 to create btmtk module to rely on
These are preliminary patches for MT7921s driver to move the common
firmware download procedure and the common functions from MT7921u to btmtk
module to make MT7921u, MT7921s and other devices can share with to reduce
the unnecessary duplicated code being created.
PART 2: patch 4-8 to refactor btmtksdio prior to adding MT7921s
These are preliminary patches for MT7921s driver to refactor the current
btmtksdio to make MT7921S is able to coexist with the devices the current
driver can support with the generic code and improve the performance on
packet transmitting and receving process.
PART 3: patch 9-10 to add specific MT7921s logic
Add the specific logic regarding to MT7921s bluetooth.
Mark-yw Chen (1):
Bluetooth: btmtksdio: transmit packet according to the status TX_EMPTY
Sean Wang (9):
Bluetooth: mediatek: add BT_MTK module
Bluetooth: btmtksido: rely on BT_MTK module
Bluetooth: btmtksdio: add .set_bdaddr support
Bluetooth: btmtksdio: explicitly set WHISR as write-1-clear
Bluetooth: btmtksdio: move interrupt service to work
Bluetooth: btmtksdio: update register CSDIOCSR operation
Bluetooth: btmtksdio: use register CRPLR to read packet length
mmc: add MT7921 SDIO identifiers for MediaTek Bluetooth devices
Bluetooth: btmtksdio: add MT7921s Bluetooth support
drivers/bluetooth/Kconfig | 6 +
drivers/bluetooth/Makefile | 1 +
drivers/bluetooth/btmtk.c | 288 ++++++++++++++++++++
drivers/bluetooth/btmtk.h | 101 +++++++
drivers/bluetooth/btmtksdio.c | 496 +++++++++++++++++-----------------
drivers/bluetooth/btusb.c | 331 +----------------------
include/linux/mmc/sdio_ids.h | 1 +
7 files changed, 647 insertions(+), 577 deletions(-)
create mode 100644 drivers/bluetooth/btmtk.c
create mode 100644 drivers/bluetooth/btmtk.h
--
2.25.1
next reply other threads:[~2021-10-08 22:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 22:10 sean.wang [this message]
2021-10-08 22:10 ` [PATCH v1 01/10] Bluetooth: mediatek: add BT_MTK module sean.wang
2021-10-08 22:10 ` [PATCH v1 02/10] Bluetooth: btmtksido: rely on " sean.wang
2021-10-08 22:10 ` [PATCH v1 03/10] Bluetooth: btmtksdio: add .set_bdaddr support sean.wang
2021-10-08 22:10 ` [PATCH v1 04/10] Bluetooth: btmtksdio: explicitly set WHISR as write-1-clear sean.wang
2021-10-08 22:10 ` [PATCH v1 05/10] Bluetooth: btmtksdio: move interrupt service to work sean.wang
2021-10-08 22:10 ` [PATCH v1 06/10] Bluetooth: btmtksdio: update register CSDIOCSR operation sean.wang
2021-10-08 22:10 ` [PATCH v1 07/10] Bluetooth: btmtksdio: use register CRPLR to read packet length sean.wang
2021-10-08 22:10 ` [PATCH v1 08/10] Bluetooth: btmtksdio: transmit packet according to the status TX_EMPTY sean.wang
2021-10-08 22:10 ` [PATCH v1 09/10] mmc: add MT7921 SDIO identifiers for MediaTek Bluetooth devices sean.wang
2021-10-08 22:10 ` [PATCH v1 10/10] Bluetooth: btmtksdio: add MT7921s Bluetooth support sean.wang
2021-10-09 16:00 ` Pali Rohár
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.1633728573.git.objelf@gmail.com \
--to=sean.wang@mediatek.com \
--cc=Deren.Wu@mediatek.com \
--cc=Eddie.Chen@mediatek.com \
--cc=Eric-SY.Chang@mediatek.com \
--cc=Eric.Liang@mediatek.com \
--cc=Leon.Yen@mediatek.com \
--cc=Mark-YW.Chen@mediatek.com \
--cc=Soul.Huang@mediatek.com \
--cc=Stella.Chang@mediatek.com \
--cc=Tom.Chou@mediatek.com \
--cc=YN.Chen@mediatek.com \
--cc=abhishekpandit@google.com \
--cc=ch.yeh@mediatek.com \
--cc=frankgor@google.com \
--cc=jemele@google.com \
--cc=johan.hedberg@gmail.com \
--cc=jsiuda@google.com \
--cc=km.lin@mediatek.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=marcel@holtmann.org \
--cc=mcchou@chromium.org \
--cc=michaelfsun@google.com \
--cc=objelf@gmail.com \
--cc=posh.sun@mediatek.com \
--cc=robin.chiu@mediatek.com \
--cc=shawnku@google.com \
--cc=steve.lee@mediatek.com \
--cc=ted.huang@mediatek.com \
/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).