Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1451593rwl; Fri, 4 Nov 2022 14:15:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4r6lN8x2tdHf9Vg8vJ3wXxwUMxeECdEod09XFyC5+wOwUdUh/c6cPid/q+i0y/pvEDkfAX X-Received: by 2002:a17:902:7287:b0:187:16c2:d501 with SMTP id d7-20020a170902728700b0018716c2d501mr32023521pll.70.1667596529677; Fri, 04 Nov 2022 14:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667596529; cv=none; d=google.com; s=arc-20160816; b=opGAfFoaSOiTjOvKIWLQQCgdOjhMkaneDhnvyYwvLnUOTfJV7iKzrfFaf1qj6QZ62n b/IHGxabZSabuzdFkcM2mIA3ADw6SIg+Yr3W7IrZpGn+6DO5tWzg6qUqdLfeQ+UvR7wE ocYccKuL9t086jcOG+WPsmo7SCk/4JrBIGgcVs5x2jfmr4h03YC3AvT29hA6GCZBjC4d GKg0JFfLm94IF/mNfrEI/AQv/7hA7tJcJ/yLhC+grAqZOTj1vNBmQm/b3HOvSChsgVPm A04j40v00+vwxDYsS7uYmdflXjrqhLvtKi0B5GnGkiqcEXC9GbG6P6I9eoyx1a/QXcuk K7Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=TqGMxywMgmHuJraQB6n7bVGxu69m0CQn0z5Ubyt0RJs=; b=VX9U84iK9Mo2EDC1AFnw/5OIT0uKZ4r/HJewJRDGEHz/xF82yKWb1Q0Z/NQAljhWUn LtaEe9T86jsZkVkSTMl1342ht+jy70r01NUYEd4jwuGvU64FkSLwV1cWc3qObZKk10wj YRBacxEsCxSP91OvwjH6ihwQ4rVDy691rwLiB0FamgRi2cbT5Ikzh0Sj+jpYJZUezewa eUHqfDA7+uhvxOntAipKUpFFquTj/PcyuI32HOKsy4gCfX2TciBHWhyat4Xp7OkmpOKd scDOgvbp4CVKjeVurql8i2Ip3z09TlUGO9vpnW5ipgzai9xawAtLndNN/TMzC12z68Rc W5aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm3 header.b=mkR1+bjB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=YFVFfaCE; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a170902dac200b0017145b821d2si644347plx.477.2022.11.04.14.15.12; Fri, 04 Nov 2022 14:15:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm3 header.b=mkR1+bjB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=YFVFfaCE; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229853AbiKDVNU (ORCPT + 99 others); Fri, 4 Nov 2022 17:13:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229667AbiKDVNS (ORCPT ); Fri, 4 Nov 2022 17:13:18 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44D7F49B75; Fri, 4 Nov 2022 14:13:17 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 68AD232003CE; Fri, 4 Nov 2022 17:13:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 04 Nov 2022 17:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1667596394; x=1667682794; bh=TqGMxywMgm HuJraQB6n7bVGxu69m0CQn0z5Ubyt0RJs=; b=mkR1+bjB7aKu/2IufpfGFVld1k uqkK2Eyyx2FCVKVFzI6L76ic4oi+1HM7U9xXRFiLD/OG3BYBDVCcRtSk08/0X2J8 OwE+lZOdJYeveVb52DRnoW3MbWFtFw5qR2ngwelJa56SrXi8EXMeS2/oEF7USHk0 O+J2A6vm0qVE7K5g79iSOMZvo4KpJ4bx9YyylzMmElpdqICNmM1mPPPelvVk6g2W Sef6Qr8VJdv/gmXkFuEwTzQQfwXOKV+tGjbpP3LhwtwQOLXcZnhaYwxovjl+6/es L6TRXdGkTBsoqGfVNGH/gqZNozV/V70Nesk1jxlWy9GdJtRfyMolUruIAKxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1667596394; x=1667682794; bh=TqGMxywMgmHuJraQB6n7bVGxu69m0CQn0z5 Ubyt0RJs=; b=YFVFfaCEDgjRKDRWis7goaAkn1Ti/JigxYb/RJ1Q1hmmGJyd2fv vhllWsTG6ZRsT13Mk7yNkGtmIBNXjE1X99a1gUAX9yhvpJckq5n8s/3f3wRW23m4 NDsAm6X3qZcKdKPOkCF7PgEioJDDwOZrMgsybs9L2BbD6GhMhAn4iJ+0emvh4AXg K1wZoTBK2Z5JORLz/MFCD2juVJI3ppQiTDDIeuNu4z38Z7ACWySXshejHbyRZDaJ He1h77p7RevBJFsk//ni8d4d4K0uujQ4E1T5HDYnYGtdNNHFzeegWAymT0EKOWpM jSZmoFuauEKP7UwDpMzNzTvX09MAfU7eBgQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvddugddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufhvvghnucfr vghtvghruceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrghtthgvrh hnpefggeduffduleefueegtdejueegheeuffduveevgeevkedthfeuheeuueefleehveen ucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepshhvvghnsehsvhgvnhhpvghtvghrrdguvghv X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Nov 2022 17:13:10 -0400 (EDT) From: Sven Peter To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: Sven Peter , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , Hector Martin , Alyssa Rosenzweig , asahi@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/7] Broadcom/Apple Bluetooth driver for Apple Silicon Date: Fri, 4 Nov 2022 22:12:56 +0100 Message-Id: <20221104211303.70222-1-sven@svenpeter.dev> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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/ v3: https://lore.kernel.org/asahi/20220919164834.62739-1-sven@svenpeter.dev/ v4: https://lore.kernel.org/asahi/20221027150822.26120-1-sven@svenpeter.dev/ Here's v5 of the Apple/Broadcom Bluetooth series. Even less changes this time: I only added a macro for the MWS transport config quirk. 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 Transport 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 | 2514 +++++++++++++++++ include/net/bluetooth/hci.h | 21 + include/net/bluetooth/hci_core.h | 7 +- net/bluetooth/hci_event.c | 2 +- net/bluetooth/hci_sync.c | 2 +- 19 files changed, 2702 insertions(+), 16 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 -- 2.25.1