Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1942392rwo; Thu, 3 Aug 2023 02:10:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlGfTztpxwsUfP3K8fA6rEh7bfe/98JwbxZ5/TMZu8rZYTi1xyMr8bJEr5JZ1xG3rcRmMPC5 X-Received: by 2002:a19:5009:0:b0:4fe:19ef:879e with SMTP id e9-20020a195009000000b004fe19ef879emr5706197lfb.28.1691053801790; Thu, 03 Aug 2023 02:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691053801; cv=none; d=google.com; s=arc-20160816; b=a+y5kOpDsbuVcy1I0L6gjzZp6ayCEqG6/b6iq0r2JQ2lnQoD1RW1fC1sTNN6Gfh4vL G+lkIMRjn1+210T4MEsbbqHB21yNli+G4/RO3JnsxtD+Tx1aJ6cUaRE7O/4oDDZ45sOJ hAKyrGscCWNQ328Qemn1spnAgYJDxadRb7an4ZGXA0VEPmCvwpiLEVOSc2c6FnFQuxKM X6+r58AfS48dBaNGnPbcuz8fG0uhp50B7MznrzZ4K8bs9GAH29GDQjpX2noE1uzvUiRT A33W6gatueQ/T6ZhRRdpr/7IsHt4KqkXyiSNp6GiUvQbBVTMfsxQZ42q8W4GuHtepMpD 1QsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=gPa9htGpiuI88ff5WUiZx6PDVgHTuHk6lBPw5ohsQrE=; fh=qEwnbOjACpP9U6oqOOGdVVxKWWti3SRk65luPb/O7L0=; b=DPQ/cwq4/XndOeS4isr4kSgBHscsrkcK3Yqg30QMzc2rkDijkXCnLFy5h5YgFZ8YDU zfSwO9f+sq4/QHEUidBiTysRw8DJzQdfCKCQL5YUJ8hAvXNwYpSNwD5FJW6WqJ++nFSU G+ySNJAbZUvKfPi1MPWfV3Appfa76xqF45t8ujsRpi1bBqXrsv5RO/pXMXAOAWujMSNA BeTyB/7R5pDapmv+zVluVa9v9WG5Qdcha/o8Z8AtcdKgYqvVPkz3iIQ8NgHPEqvkujxa S8rVi5yh10GSM7+JgOJNv8xWPJibgE7oC955pV9ccW1hRMcN/uiXfJpEhRA17ExreoNc W4Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iQtKPYyI; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p24-20020a056402075800b00522be90257csi7142248edy.466.2023.08.03.02.09.13; Thu, 03 Aug 2023 02:10:01 -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=@linaro.org header.s=google header.b=iQtKPYyI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234713AbjHCIpp (ORCPT + 99 others); Thu, 3 Aug 2023 04:45:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234323AbjHCIpl (ORCPT ); Thu, 3 Aug 2023 04:45:41 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30F4FC for ; Thu, 3 Aug 2023 01:45:38 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3178dd81ac4so616388f8f.3 for ; Thu, 03 Aug 2023 01:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691052337; x=1691657137; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=gPa9htGpiuI88ff5WUiZx6PDVgHTuHk6lBPw5ohsQrE=; b=iQtKPYyIyijAQEZXG8sS3v+UioIsnM10x5V8AfNOi143sbdJ5YaY/fkAuGgnpYujMR TEFMmjE/V1jlg100vQscP3xPDrSpi3Ei/QbnxGUnpsaYXTALydWbg7T9mT7oZIzL+Fgy sZ4m8K1aOJVN6NpqkZGlUkKnqejc2v5Y0gzKCnnsNXi5qtbsy3q8l1aI+LHGQCKGG9uC crpm/Pl+UwuEA6tsAUZrKMGzfSNynfOnSouZtvWjNp1CCt0h+Z79Bihq5kkwZxA5XP++ 1EoXsa1xQg1U4GS/gNO2rpsDcSHd82r5eQGyw+b4KKbJKrTY/+7jz3a8fY/zvGDLcwWs ISsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691052337; x=1691657137; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gPa9htGpiuI88ff5WUiZx6PDVgHTuHk6lBPw5ohsQrE=; b=KvvJpNyBo4QUerWsffE5jYudo4m8uNQIMQkxNGyQDnpYsimUnqdq9onLwxZRDVLpWU lg3Rl8bmAo2S09lD/CHQL6yA/T2BmVjZjiiYID1SBpjFZNW8KR10YvBUr38k/eM7Lve9 dCrU0z1U28At0RMwonwKdOix/6F9o3WB8/TmAIkDWUL7FuHZQEZhwNq3HqwIuUiLshz7 x269K3yudlGYJdzb2J+bNkcmp2k+FsEfShcqAlcps7q3agS+TGoNUz24rx8Mdy2Z81SO cVhvWhctioVNThWQm2tPeOFcr1bvO/Hrfy5cUirGz+MOl/RJiT9573/ggElmTzmvjj6Z 0Umg== X-Gm-Message-State: ABy/qLZLHFRVqlv7NBiv6cYSjOiaVOaqbS0jtgq9/NDeuZz8tDWJnz4U pAtPTdpJZsKuJzoy/MtL4gOJOg== X-Received: by 2002:a05:6000:104f:b0:314:38e4:2596 with SMTP id c15-20020a056000104f00b0031438e42596mr7084284wrx.49.1691052337341; Thu, 03 Aug 2023 01:45:37 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id v9-20020adfe4c9000000b00314374145e0sm11895052wrm.67.2023.08.03.01.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 01:45:36 -0700 (PDT) From: Neil Armstrong Subject: [PATCH v3 0/3] bluetooth: qca: enable WCN7850 support Date: Thu, 03 Aug 2023 10:45:25 +0200 Message-Id: <20230803-topic-sm8550-upstream-bt-v3-0-6874a1507288@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACVpy2QC/42NTQ6DIBgFr2JY92v4Veyq92i6QAQlUTCgpo3x7 kV33bmcl7yZDSUTnUnoUWwomtUlF3wGdiuQ7pXvDLg2M6KYMlxSDHOYnIY0SiEwLFOao1EjNDO 0VnOGha014SjfG5UMNFF53WeBX4Yhj1M01n3O3uuduXdpDvF75ldyrBdKKwEMvKJSlNxKWdHn4 LyK4R5ihw7rSq+aaDbVssGYs5YRxf9M+77/AGQ1//kgAQAA To: Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marcel Holtmann , Johan Hedberg , Andy Gross , Bjorn Andersson , Konrad Dybcio , Balakrishna Godavarthi , Rocky Liao Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, Neil Armstrong , Rob Herring X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1406; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=QvoRFcZDs6o9TpNJhRcOO+q/4iGgVp6r0X2pKqGwQss=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBky2kuaalQYq+GyOGhBC5dzBopgjJeWqj6s3nph5/j SJdvoJGJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZMtpLgAKCRB33NvayMhJ0YVtD/ 0S3YIoi65pepoxmM4BNp7wpxX2Vem04ne3cGBDCEdXwlhXM3I+Y7XC/JrFDZoszlc41WS7829pdw9n qCdfAzPHzQCXkRcjOTVxdMurgb6lL+utjUNFE2XZCkePbe0fXQmLkWCxN8FKbN4RhAXNl7x3rssDsl U+N6Y9WQ0tGHhSAIA7UjoDEPhNir7DKT2wIckC9S8iMDtz305/nBMUF9mQuJRRg3rd1dRhDU16JDT2 RYCbeSsXxtnf3jGfQo3NurddIKG0A0Ph0QwvI3q743nKgtW62RxoTEj6JmgEghHMoZRvACHOOy+pwc IeBSqe7LIztwIHHCsb3qEJK/mph9vJ3FNmXgS8IyqS2dRRR4r2X3XVzjTE9fHeN4zYMk1HqQ8fLNgr F/sdKPjzfo41cLWpPilvSfjJkV0BMUb7VQ0uYQ2268m33RXvcASfMmn7VGwHNyOk4CE0J6eZqZrVvK rsVo2vy+7e7xmAgbS5FOafvRqgcErnWOBnvp8ETVxhIbwi3iG82KijkA+dcQbd4GAM2bwgjhq+0E5U TBoID9lY7D3Hxinl+/K5EOH+55qwlzaiHC47ZFtsZ7rQ4pinuagYcXQ0/xRpM+mJoPsL8MK05QTVJf 8+TfAjwhbR80bFwg03jrKSiEp8BL5nGz+DpU2Ulc/u89IBObTFJi0mM8w4gQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 This serie enables WCN7850 on the Qualcomm SM8550 QRD reference platform. The WCN7850 is close to the WCN6855 but uses different firmware names. Signed-off-by: Neil Armstrong --- Changes in v3: - Rebased on next-20230803 (including WCN3988 changes) - Dropped DT patches to be sent in a separate serie - Link to v2: https://lore.kernel.org/r/20230620-topic-sm8550-upstream-bt-v2-0-98b0043d31a4@linaro.org Changes in v2: - Convert if/else and qca_is_*() macros by switch/case to simplify adding now BT SoCs - Add bindings reviewed-by - Link to v1: https://lore.kernel.org/r/20230620-topic-sm8550-upstream-bt-v1-0-4728564f8872@linaro.org --- Neil Armstrong (3): dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset bluetooth: qca: use switch case for soc type behavior bluetooth: qca: add support for WCN7850 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 23 ++ drivers/bluetooth/btqca.c | 97 +++++--- drivers/bluetooth/btqca.h | 37 +-- drivers/bluetooth/hci_qca.c | 264 ++++++++++++++++----- 4 files changed, 300 insertions(+), 121 deletions(-) --- base-commit: fb4327106e5250ee360d0d8b056c1eef7eeb9a98 change-id: 20230620-topic-sm8550-upstream-bt-dfc4305f9c14 Best regards, -- Neil Armstrong