Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10851138rwr; Fri, 12 May 2023 14:07:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7U386c+t+DuX4FFvDc2sYiuxl0a6s9B9Wz8nW5Lvl5C1zBhfovRfsOZBNWW2FUjUu7Sag2 X-Received: by 2002:a05:6a20:54a2:b0:100:aa15:f425 with SMTP id i34-20020a056a2054a200b00100aa15f425mr5895515pzk.20.1683925654128; Fri, 12 May 2023 14:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683925654; cv=none; d=google.com; s=arc-20160816; b=T4vK0+ZjqafbDaviCBd7B+JqyFbpZzGOepLnAfjsJeCWZdE5hFwBVh5X7hci0nG9Pt uZ2nMlJVYQeO9eOBGU0iJGAGEwbY7qcma151lnKrPEKN/+OCWQ9r1TZX6EXS9Vu8kgSN 7cdTnaRrJZa4b8dwpsM8yGr8xD5UzqiE53YXeZkU9FwdcWWo9jiUoletoz/qh+WdfQPv 2oReS7RH9pxX3JSpx/FXbuQ/nXoo3yc0fk4GVvwn5nXzpLxIFMKG8IZvoDWarOfYHgZR /Qru7e9PQcLoXD0uU8dRoKaeO1aFYH8N8bb7ksEJCMmvrT0xFEqCRqERyiQrgnO6cTnt CL5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dK9pTU3dCszxfhakIo6H9xZVLUDy3fIcZSz6A27TG8M=; b=j4odSo4C1xrpAz5oN6a5bsFQENELst547XdEQ28YG/+URNGDMIaOdv388F6N+vG1SS Oi2m+VSrub4aRjp0eMWBrEeh0hZ6+DJt7Vj4khvjMLXCraQHsg9LYEVjE3Vtc5QP10Wx HW/wC1Z16qefSZH0HmL18hDSb/LiZBty+DbHdhOmQrCyKEazYIUHnv7qevBh3BZMzRVy ZQImHMgboX8Noia8bhHdlGxBJ/HE5c7tbBq3VTGCj91ppuR91Heez+T7ap0PdcI7e202 ra6wbtHcK1J+W551GI1d3YGc6pr5NVSmmtwowCWUnep+UMFT8ypyY8WaLoZoHXQuzTTk 3ihA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="FD/zAsys"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a636e02000000b005309f24f940si1654407pgc.586.2023.05.12.14.07.11; Fri, 12 May 2023 14:07:34 -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=@gmail.com header.s=20221208 header.b="FD/zAsys"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231895AbjELUxq (ORCPT + 99 others); Fri, 12 May 2023 16:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjELUxp (ORCPT ); Fri, 12 May 2023 16:53:45 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938331FE5; Fri, 12 May 2023 13:53:42 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f00d41df22so55366219e87.1; Fri, 12 May 2023 13:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683924821; x=1686516821; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dK9pTU3dCszxfhakIo6H9xZVLUDy3fIcZSz6A27TG8M=; b=FD/zAsysSg3L3OXq9M6zoEHXlfE7Zfisk0oebJg9PxeK9WD3m7uBHxhWl00zt77u+z 0tUZ4noCfxhvkE0k3KBAqdr6hd/MIfK7l6RCJC5VXN0uA6dKVGWFLnIKdlHEpNsfYARY N5BPheqRnYf8SWrvmYRPSDLSWEVrx6KNGuVl0Sm7yzG5k+XyxctahUO6aWQyG6j3WcHL TjFAnpxP8mTK2AVe9C1aOf7iAXfQg9+e2lfBpBFMX1bD2A2DQAzihjZRhv1n+/q20MbV iQxoBV3Z5SgOkCWqzEhXleobkJpZw1Wxo2FgVZky9NuWoS5Sf6gx3O6rYux5izXhmZPy w9EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683924821; x=1686516821; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dK9pTU3dCszxfhakIo6H9xZVLUDy3fIcZSz6A27TG8M=; b=fRVTNlfiLiDtne+VJahvV2rIQ7nmma2LiYl5cTXIG22FRgxQ/IPx8hw23fLylYBS1l /GITN6Pus8wX1xGrB76kCqh4n/UB/fLzFWZlNOJ61wWJs8UxNTumf0swVVAlmV+BHFZi +/+GKzFEklpAFyo/oMjm4jsVT/wJa6UlHpkYnYf+yskTefnp6/g8wwzNuHi3z77Fx9R6 lwpVqd2skXDq7Nm8uf4dcuw42K/OcIOdR8REumbWZwr0bHpEXtjcw9DwM7En3XjoC2ma dgvQ4TsJtPfrPbh3XsZIFpBe4riGuXSve7CsBEICJ/Xpw2aNuFs7VVIge72O2craF4C2 CUMw== X-Gm-Message-State: AC+VfDxUUvj234Hr65zNvhku1e6pctP9DyuQvzqMHCl1DlhYo1F/Dsai H942MTRdPnLc6R6GeX9cWTSuUTrR6EdghdvcQfk= X-Received: by 2002:a2e:9355:0:b0:293:4b60:419c with SMTP id m21-20020a2e9355000000b002934b60419cmr3647191ljh.18.1683924820549; Fri, 12 May 2023 13:53:40 -0700 (PDT) MIME-Version: 1.0 References: <20230421-fp4-bluetooth-v2-0-3de840d5483e@fairphone.com> In-Reply-To: <20230421-fp4-bluetooth-v2-0-3de840d5483e@fairphone.com> From: Luiz Augusto von Dentz Date: Fri, 12 May 2023 13:53:28 -0700 Message-ID: Subject: Re: [PATCH v2 0/4] Add WCN3988 Bluetooth support for Fairphone 4 To: Luca Weiss Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Marcel Holtmann , Johan Hedberg , Andy Gross , Bjorn Andersson , Konrad Dybcio , Conor Dooley , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Luca, On Fri, May 12, 2023 at 6:58=E2=80=AFAM Luca Weiss wrote: > > Add support in the btqca/hci_qca driver for the WCN3988 and add it to > the sm7225 Fairphone 4 devicetree. > > Devicetree patches go via Qualcomm tree, the rest via their respective > trees. Just to be sure, patches 1-2 shall be applied to bluetooth-next the remaining are going to be handled elsewhere? > -- > Previously with the RFC version I've had problems before with Bluetooth > scanning failing like the following: > > [bluetooth]# scan on > Failed to start discovery: org.bluez.Error.InProgress > > [ 202.371374] Bluetooth: hci0: Opcode 0x200b failed: -16 > > This appears to only happen with driver built-in (=3Dy) when the supporte= d > local commands list doesn't get updated in the Bluetooth core and > use_ext_scan() returning false. I'll try to submit this separately since > this now works well enough with =3Dm. But in both cases (=3Dy, =3Dm) it's > behaving a bit weirdly before (re-)setting the MAC address with "sudo > btmgmt public-addr fo:oo:ba:ar" > > Signed-off-by: Luca Weiss > --- > Changes in v2: > - Add pinctrl & 'tlmm 64' irq to uart node > - Pick up tags > - Link to v1: https://lore.kernel.org/r/20230421-fp4-bluetooth-v1-0-0430e= 3a7e0a2@fairphone.com > > --- > Luca Weiss (4): > dt-bindings: net: qualcomm: Add WCN3988 > Bluetooth: btqca: Add WCN3988 support > arm64: dts: qcom: sm6350: add uart1 node > arm64: dts: qcom: sm7225-fairphone-fp4: Add Bluetooth > > .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 2 + > arch/arm64/boot/dts/qcom/sm6350.dtsi | 63 +++++++++++++ > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 103 +++++++++++++++= ++++++ > drivers/bluetooth/btqca.c | 13 ++- > drivers/bluetooth/btqca.h | 12 ++- > drivers/bluetooth/hci_qca.c | 12 +++ > 6 files changed, 201 insertions(+), 4 deletions(-) > --- > base-commit: f2fe50eb7ca6b7bc6c63745f5c26f7c6022fcd4a > change-id: 20230421-fp4-bluetooth-b36a0e87b9c8 > > Best regards, > -- > Luca Weiss > --=20 Luiz Augusto von Dentz