Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5500876rwb; Tue, 1 Aug 2023 03:47:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlFmhr2dO2pX6kYQhWpTZBScsAUkvdxh3nlI12sja04UJzflkHuY4L+pGnelQ7tfqS6GQ82R X-Received: by 2002:a17:906:7a1c:b0:99b:ddbd:5e7b with SMTP id d28-20020a1709067a1c00b0099bddbd5e7bmr2184419ejo.51.1690886865562; Tue, 01 Aug 2023 03:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690886865; cv=none; d=google.com; s=arc-20160816; b=Esdj735G3IrnIB0HlCVddaWDSpaWv+jnxkvFWysg4oZBS/+5iShMwMb9H8jZI6Abd2 qemjiq+ltWyemrwVhgHzBLWagdnsP6CyEZUW3Nxu3xndoEuk9vrzRQUNr94v/2h6EbSU DIP8EAWufXYF11U+k1a6ciPkfmSmJHhqxNVEAtIT2mxJiaRW7MDcw/X+m/Na3VE+1xiF RJxnSuWzbYmFPnbSz0ydXEHiqH2ro39DYjLj3x40KTfX3hLs3pphUtykUvmg3xsxHjWm af9angZ5BF9eTjRSPSC6Q9qULu48Y9hdvbjtGS9DltMRDGSc5FhnkTGMoVW5l1zKOZZE S/3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=J1/ktHF3masxab3vl++0ZCMEyPiHHu6fAAPxOuhQTwg=; fh=Tj/LKmjHuE8uumwDQ3fInMSdo6bEuGzb4bziqL/cSok=; b=ubsxY8l2U2bePPcCCQlg+HilncBPHSSYdLOpbEYSL9x2kY3nnvTctf3IC3dX63Xbid MR8QgEbsWj40fPaIM6YmVYEA68V2HUkp1ACsJHe70uZrmCVkpffKjVaGUx9CVE6+IReB TwiTXVv6uRVeA3+F8K5MDk3hABJx1ztrPfg9ZjQc6Odqv1P/Cgy9TdZMFYH8Mt/yGovL +znJcAeWSABBaK+xkgRIR7/p1fypRZcgEtbKEikXJnCspcoA6tvG0ghNUqvYBpDu3wnc EeXro6GCJ4M7a6iWMf0EoFPacO7JOBxxmFBtsHLHvAb9EzCM3PG7m1HjodBcwybKi8At DtVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=xsjiWuIw; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id re18-20020a170906d8d200b009936afb1e23si4679478ejb.130.2023.08.01.03.47.12; Tue, 01 Aug 2023 03:47:45 -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=@fairphone.com header.s=fair header.b=xsjiWuIw; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbjHAKHb (ORCPT + 99 others); Tue, 1 Aug 2023 06:07:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233799AbjHAKHa (ORCPT ); Tue, 1 Aug 2023 06:07:30 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F06119 for ; Tue, 1 Aug 2023 03:07:26 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fe28e4671dso4388221e87.0 for ; Tue, 01 Aug 2023 03:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1690884445; x=1691489245; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=J1/ktHF3masxab3vl++0ZCMEyPiHHu6fAAPxOuhQTwg=; b=xsjiWuIwfUDV/UvQ4A+bNQ6Kll4xU/AWU7vrqDequWsRjYbxqyr6NpQ9L1k2WXfGXX iQmBDBjsVgWbjYlcUjZUXXQVXnrEMnQK46i9/PiL9V3Fo0IXBw8vbMT3dL+W6Dtxt0qn RK0oylHJogJybBe0f2yQMbQpJcvrdmqfCmfaH7tUN4IYtW/rzH418YGFkFhRaGo3aA9L x6Df8m49fyrYPq8sm23wef7IDELHRngYTWhaSyMCM+zGa9s9mAYlE0p06z2arZdeA1Zj odemvH6lvXjzKfn0dI9wHccAxaKLRVHpusXPpanuqDzOLtRQrr+I4M1DOUx2A8qCb3YJ bxaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690884445; x=1691489245; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=J1/ktHF3masxab3vl++0ZCMEyPiHHu6fAAPxOuhQTwg=; b=b/b7dKqNKOTQq9SdHoRL9HtNmUP8TqZ5kIG+tTA1iOOfqGx+mF5hXemzDPBZqwNh2d +XpGCAB7RRWCwAK8oyGad+j8pn/ds1OdfyA3R6/GBaRLl2NHvkGcVE7Lyw2RBRxT7FMO Ryt+k7qDffC+yL3bGX7IabKxOifPkcjkptznZ1ev5JP5zV9X6WjxYhqCvncseDbIYE8U pxIq0KJPCRSGuSS4/vvRIufOsce39phBQcZn2M2h7v4/OaDMFDgYVQ/llSVKGVWNfAoz DiD+z9pbck5qAZmxu/wEAOsCZOM5MduCo09aamjtswHut7k2naG1SQstOzX1RRAlS7zq pz1Q== X-Gm-Message-State: ABy/qLYJiRl/Ej0Xu+wTuZrqR0lQ6Qtm+/338HkKG10+vk9UHermYLxN dD/ZbUq8PnCYprsJOyB1z4LiLg== X-Received: by 2002:ac2:5b4e:0:b0:4fe:1f1c:184f with SMTP id i14-20020ac25b4e000000b004fe1f1c184fmr1894304lfp.44.1690884444841; Tue, 01 Aug 2023 03:07:24 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id c7-20020aa7c747000000b0052237839229sm6658440eds.21.2023.08.01.03.07.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Aug 2023 03:07:24 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 01 Aug 2023 12:07:24 +0200 Message-Id: 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>, , , , , , , "Krzysztof Kozlowski" Subject: Re: [PATCH v2 0/4] Add WCN3988 Bluetooth support for Fairphone 4 From: "Luca Weiss" To: "Luca Weiss" , "Luiz Augusto von Dentz" X-Mailer: aerc 0.15.2 References: <20230421-fp4-bluetooth-v2-0-3de840d5483e@fairphone.com> In-Reply-To: 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,URIBL_BLOCKED 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 Hi Luiz, On Mon May 15, 2023 at 8:12 AM CEST, Luca Weiss wrote: > On Fri May 12, 2023 at 10:53 PM CEST, Luiz Augusto von Dentz wrote: > > 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 respectiv= e > > > trees. > > > > Just to be sure, patches 1-2 shall be applied to bluetooth-next the > > remaining are going to be handled elsewhere? > > Sounds good. Is anything missing for the patches 1 & 2 to be applied? I don't see them yet in linux-next. Should I resend them? Regards Luca > > > > > > -- > > > Previously with the RFC version I've had problems before with Bluetoo= th > > > 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 supp= orted > > > local commands list doesn't get updated in the Bluetooth core and > > > use_ext_scan() returning false. I'll try to submit this separately si= nce > > > 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-0= 430e3a7e0a2@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 > > >