mbox series

[v3,0/7] Broadcom/Apple Bluetooth driver for Apple Silicon

Message ID 20220919164834.62739-1-sven@svenpeter.dev (mailing list archive)
Headers show
Series Broadcom/Apple Bluetooth driver for Apple Silicon | expand

Message

Sven Peter Sept. 19, 2022, 4:48 p.m. UTC
Hi,

v1: https://lore.kernel.org/asahi/20220801103633.27772-1-sven@svenpeter.dev/
v2: https://lore.kernel.org/asahi/20220907170935.11757-1-sven@svenpeter.dev/

Here's v3 of the Apple/Broadcom Bluetooth series. Again most changes are
to the device tree bindings. I've also included the changes to the dts files
that I forgot for the last two versions.

Additionally I had to introduce another quirk since these controllers also claim
to support MWS Pattern Configuration but then simply disallow that command. This
used to be silently ignored by the bluetooth core but fails during setup
now since b82a26d8633cc89367fac75beb3ec33061bea44a.


Best,


Sven

Sven Peter (7):
  dt-bindings: net: Add generic Bluetooth controller
  dt-bindings: net: Add Broadcom BCM4377 family PCIe Bluetooth
  arm64: dts: apple: t8103: Add Bluetooth controller
  Bluetooth: hci_event: Ignore reserved bits in LE Extended Adv Report
  Bluetooth: Add quirk to disable extended scanning
  Bluetooth: Add quirk to disable MWS Pattern Configuration
  Bluetooth: hci_bcm4377: Add new driver for BCM4377 PCIe boards

 .../devicetree/bindings/net/bluetooth.txt     |    5 -
 .../net/bluetooth/bluetooth-controller.yaml   |   29 +
 .../net/bluetooth/brcm,bcm4377-bluetooth.yaml |   81 +
 .../{ => bluetooth}/qualcomm-bluetooth.yaml   |    6 +-
 .../bindings/soc/qcom/qcom,wcnss.yaml         |    8 +-
 MAINTAINERS                                   |    2 +
 arch/arm64/boot/dts/apple/t8103-j274.dts      |    4 +
 arch/arm64/boot/dts/apple/t8103-j293.dts      |    4 +
 arch/arm64/boot/dts/apple/t8103-j313.dts      |    4 +
 arch/arm64/boot/dts/apple/t8103-j456.dts      |    4 +
 arch/arm64/boot/dts/apple/t8103-j457.dts      |    4 +
 arch/arm64/boot/dts/apple/t8103-jxxx.dtsi     |    8 +
 drivers/bluetooth/Kconfig                     |   12 +
 drivers/bluetooth/Makefile                    |    1 +
 drivers/bluetooth/hci_bcm4377.c               | 2513 +++++++++++++++++
 include/net/bluetooth/hci.h                   |   21 +
 include/net/bluetooth/hci_core.h              |    4 +-
 net/bluetooth/hci_event.c                     |    2 +-
 net/bluetooth/hci_sync.c                      |    2 +
 19 files changed, 2699 insertions(+), 15 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/net/bluetooth.txt
 create mode 100644 Documentation/devicetree/bindings/net/bluetooth/bluetooth-controller.yaml
 create mode 100644 Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml
 rename Documentation/devicetree/bindings/net/{ => bluetooth}/qualcomm-bluetooth.yaml (96%)
 create mode 100644 drivers/bluetooth/hci_bcm4377.c

Comments

Sven Peter Sept. 19, 2022, 4:55 p.m. UTC | #1
On Mon, Sep 19, 2022, at 18:48, Sven Peter wrote:
> Hi,
>
> v1: https://lore.kernel.org/asahi/20220801103633.27772-1-sven@svenpeter.dev/
> v2: https://lore.kernel.org/asahi/20220907170935.11757-1-sven@svenpeter.dev/
>
> Here's v3 of the Apple/Broadcom Bluetooth series. Again most changes are
> to the device tree bindings. I've also included the changes to the dts files
> that I forgot for the last two versions.
>
> Additionally I had to introduce another quirk since these controllers also claim
> to support MWS Pattern Configuration but then simply disallow that command. This

Apologies! This was supposed to be "MWS Transport Layer Configuration" instead
of "MWS Pattern Configuration". I just miscounted bits originally and
forgot to update the cover letter. The actual commit has the correct name
though.


Sven