Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2253139rdb; Fri, 8 Dec 2023 02:57:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9uivsTA9hEtzq5m4Jp8K2fAc2j1R2/l8zi+oX5GVSE/YWQJsHwPzfi9rQFQn54u9qcRWE X-Received: by 2002:a05:622a:1823:b0:423:a2ae:7401 with SMTP id t35-20020a05622a182300b00423a2ae7401mr4494464qtc.62.1702033031907; Fri, 08 Dec 2023 02:57:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702033031; cv=none; d=google.com; s=arc-20160816; b=myTfgE1TUcHmSZ+tzzpmgIHxdV/dTAIbTUqQb3U/3IofvoB80Rg0m3305QX/Neg87T 3sSheY0EzafTvVOGtO7sDDe7hDZrLpvUjeBaSHd1My4VEc68ui+SdupQhItUwtCfrYZM AYIQ8LRpHcvJ6KRHu5SZ3kISlL2nthitTfkD5NElm5AFIRZZEdWBJLSDJBW5RGyMbNET uoBmMJbZVyM/9CsE9OHngp4tPmyRF5pkJZu4ORfe00pko2hrDxPl6ABqJRbmlgm4XlZJ Z7DPr587RPTKkGca1URR6yjNTP7pjjwQ7u5rwYOunNm6pIpaZVSXWGfo95FD37i6JZPR 5qIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=o+tNF5EsLXtyupWrlqEM7GZhKXuVewT3D28kbGFjV8w=; fh=pE8xcQoPADJOFhGDEpWgmlnTAHzCedAaoJpZGoa5ZUM=; b=DsL4/kFVrcUbsp/B71IQpdpL5ehBYos0remHoz4RDSz7b337eWp9xD1GYt0hX7iBne qdfU9VdfCtRd1pxtat9YpH2u2b5Sw/IqKwpJjyAh1oD30OqAWJMadOdZSdI+AlkY7SAU 30goihQAaxO7XvFJSJjoK7hrNPY9f94TgQ9Jd/T8l7erbRugZ53t3G/gsZaZ976WockS HqJgKPziNk04sSNInDBdGpXGZT7eEi5CYvUA4gnHWE55d5E00qel+Y/p4cJzFMeiAlME 5wKv0m1JBTHcG26Fwx7VWTA1G19NVOTm5FHjwSnQYJ4/LS8vKSMsoSDMqsB278d55kwQ pUCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Y2tJ4e2t; spf=pass (google.com: domain of linux-bluetooth+bounces-465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-465-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u15-20020a05622a17cf00b00425869c1badsi2008365qtk.579.2023.12.08.02.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:57:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Y2tJ4e2t; spf=pass (google.com: domain of linux-bluetooth+bounces-465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-465-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A7FC61C20976 for ; Fri, 8 Dec 2023 10:57:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 465B11945C; Fri, 8 Dec 2023 10:57:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="Y2tJ4e2t" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ua1-x930.google.com (mail-ua1-x930.google.com [IPv6:2607:f8b0:4864:20::930]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22597115 for ; Fri, 8 Dec 2023 02:57:01 -0800 (PST) Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-7c500dcdd7dso328297241.1 for ; Fri, 08 Dec 2023 02:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1702033020; x=1702637820; darn=vger.kernel.org; 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=o+tNF5EsLXtyupWrlqEM7GZhKXuVewT3D28kbGFjV8w=; b=Y2tJ4e2tlrGPZRnqUhpiGNU+vzGXv3PMC3ha3ht0Ew2CmRmPr/MaeAj+o8Fh+1DsQd hHMo54b/E7lVMANuSnrHs+U0pTMdPEX8IyKDncgf4DLRtMHI2qLhaZZPmiQ6lk3nOT6o YHZfSW3O7SZff2ZYP6njdwRBHrTEieA2/1/wm3K6Ukof9R1EfKqrQjk1tTktandJkDzz u3YQn6CoeRWcYJJkDxcUCmRm3Ja82nk00L4bjGw7ha3vBXz+wnqFB1/zmmleydi2FcAf Xf4T7irEMxmZgoASclO5/0rYH85+b39ruzNgO7NwIYTWKSZK3ebiLkrBmOlFmEHqJM7T Np4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702033020; x=1702637820; 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=o+tNF5EsLXtyupWrlqEM7GZhKXuVewT3D28kbGFjV8w=; b=crhNoQ1xlZxQ/RMXo2OIhGm2BnEHhIBt8ismxUz92KhKJKLSAK52V+F7+W+SQs+AMn Xl/AX7QkAfN0d2n762w1kg3FEfequgVJwb0TgcEcTQ3H2owyXFmRwlWpUt1slb/JHTTS ukrp47dv6UTY6DCzbANArOLFu1XqSZlYGtkZM2J7pvYIEYgH2znNEzY0IhEF/if3vWpp qSFR92Dmrm7cjg2VDNSLw/I7Jl8amtOebbspf0664YCFQ+17q8TJw+JRt9GNSMm2fJJ0 Xzh5EuWchQcCau202ht5r+Cr5TGN8dTvoZP1Md75FoPUblOHF41/9vargR3ZNOLjrXMB k63Q== X-Gm-Message-State: AOJu0YwTiP81N/NxIDYz0YJQhcEc+s9CbSANQGt7JC+zneqXRmjVXgHL qAB0jz4wjabdqGlVBOudwaWNzlLGurfmV/FLawHXUQ== X-Received: by 2002:a67:f146:0:b0:464:8a97:d58 with SMTP id t6-20020a67f146000000b004648a970d58mr2917911vsm.5.1702033020245; Fri, 08 Dec 2023 02:57:00 -0800 (PST) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231208090936.27769-1-brgl@bgdev.pl> <20231208103222.GB3008@thinkpad> In-Reply-To: <20231208103222.GB3008@thinkpad> From: Bartosz Golaszewski Date: Fri, 8 Dec 2023 11:56:49 +0100 Message-ID: Subject: Re: [RESEND PATCH v2 0/3] Bluetooth: power-on QCA6390 correctly To: Manivannan Sadhasivam , Abel Vesa Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao , Alex Elder , Srini Kandagatla , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 8, 2023 at 11:32=E2=80=AFAM Manivannan Sadhasivam wrote: > > On Fri, Dec 08, 2023 at 10:09:33AM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Resending with all maintainers in CC. > > > > Patch 1 is just a typo fix as we're already touching this bindings. The > > second patch adds more regulator definitions and enforces them for the > > QCA6390 model. The final patch enables the power sequence for the BT > > module of QCA6390 in the hci_qca driver. > > > > Is bluetooth fully functional without handling WLAN specific resources li= ke > regulators, enable GPIO? When I checked last time, the chip requires both > Bluetooth and WLAN resources to become fully operational. > WLAN-specific regulators for PCIe are enabled anyway but the WLAN enable GPIO is low and the relevant pin function is not even configured. I can confirm Bluetooth is functional. I too thought we'd need a common power-sequence here but Abel pointed out that neither RB5 nor X13s require it, it's only needed in later models. Bart > - Mani > > > v1 -> v2: > > - squashed the two bluetooth patches into one > > - changed the naming convention for the RFA regulators to follow the > > existing ones > > - added dt-bindings patches > > > > Bartosz Golaszewski (3): > > dt-bindings: net: bluetooth: qualcomm: fix a typo > > dt-bindings: net: bluetooth: qualcomm: add regulators for QCA6390 > > Bluetooth: qca: run the power-on/off sequence for QCA6390 too > > > > .../net/bluetooth/qualcomm-bluetooth.yaml | 26 ++++++++++++++++++- > > drivers/bluetooth/hci_qca.c | 14 +++++++++- > > 2 files changed, 38 insertions(+), 2 deletions(-) > > > > -- > > 2.40.1 > > > > > > -- > =E0=AE=AE=E0=AE=A3=E0=AE=BF=E0=AE=B5=E0=AE=A3=E0=AF=8D=E0=AE=A3=E0=AE=A9= =E0=AF=8D =E0=AE=9A=E0=AE=A4=E0=AE=BE=E0=AE=9A=E0=AE=BF=E0=AE=B5=E0=AE=AE= =E0=AF=8D