Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1356226rwi; Thu, 13 Oct 2022 12:29:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Y7EA41M0HuF92yHHOcjyo6Vdwfd2p4S0StzDYQ/QoW5GOS2F5A1PAiTAxmzHGDmZWNJUP X-Received: by 2002:a17:90b:4f46:b0:20d:1fe8:dcd2 with SMTP id pj6-20020a17090b4f4600b0020d1fe8dcd2mr12867941pjb.235.1665689354016; Thu, 13 Oct 2022 12:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665689354; cv=none; d=google.com; s=arc-20160816; b=wPkDcmwsLFTGyREuXkWaoki6o9no5lH56kgpHd8gO32eTnu7m6GTMfjlpVfF4EoHn1 eU7haB4l6KQFfppPAQzcMvfzVsl01PQwfCuiybGzKeLDoHt4HEq98irpul8OQ25+VhQP H4vUtKhc30T9e1uvfq8gWobC33/rwgYDr68W76LBvGDI1SIwkwgOJFI0Z1K/fVGGfIde VhlREaBlFTxreLTPeoxeUG9WPa2tVh0kXqD4yw72Yxzg82w3oNTGzTUGL9s88V3rXh4L yC+5hzjfhEFIvPqfsLsq1oUIEYK5khIbyMqbOSpPcB+1bYZL8C0ZFidUyudKOegNonZH 1rHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N+RbCQy6agOrxRsXF3maxSmd+zszRbvT93/fk5OmsGs=; b=aeYZ3y7ZEfv4gPl7dsKkN+i4jDBV0qmsiMtciZCE6nyMPfAeRybn8GrJIz0JDDJZAP MVWTeKqPyNv++DKqerY76PiCmYkpwsue+kuAxpaZeP9jvpa2onONnunIZpVC4sIn9Zbo CsWpFlcdiK6/Au1cT6tEXD+r/Wfv9694rA2sos7Pr5Hl/IiXQekD9iqEel2B9gC/Vs5Y zR2+CYFkd/+u/Lcv6AvFo0mZOQC/wUdO4KhzINdSjo6z9l2CKmVwXhTaizeYYR9ljuBT yB+lYo1VDvAMJkMYj5G6P6GakTgcMP8ZyAPEKVHn/U2XngiBSpQGpqQuXWEXUgrBuwKU QzyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ccqpLlPl; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h191-20020a6383c8000000b004620970e0e9si265740pge.116.2022.10.13.12.28.44; Thu, 13 Oct 2022 12:29:13 -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=@chromium.org header.s=google header.b=ccqpLlPl; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbiJMTLg (ORCPT + 99 others); Thu, 13 Oct 2022 15:11:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbiJMTLR (ORCPT ); Thu, 13 Oct 2022 15:11:17 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7A2E159D52 for ; Thu, 13 Oct 2022 12:11:14 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id h203so2191337iof.1 for ; Thu, 13 Oct 2022 12:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=N+RbCQy6agOrxRsXF3maxSmd+zszRbvT93/fk5OmsGs=; b=ccqpLlPlBB3Jy1Ohcx3z7+UxLsMlmrDCF2KwUIdyosdD4tZj8HtaiweG/Faz93gBzD 0W3PoBEtXNEO4pmYpf6Cgkwq8Ct7u/le0NP2MVBpyEH22HqPrh+jqwsG6YrhCcf0uZ7u fH/T6wJFmxWtz9Z+GnPOZRnpIb5IeZ78nZxUQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=N+RbCQy6agOrxRsXF3maxSmd+zszRbvT93/fk5OmsGs=; b=4Qob4j7APqO9zwF3zXWBV6BxQ6indYCHU9CR2lxBAOFESaly1LraiqsCIkhV8ppGUw Rou8muCKl2hiCaDQGCjaF9DbzbFE66NOn2bZiImW2zASQZATbSJZ2H26Jl7gxAs9G8UW 8O95k4GpuQnH7D15S7MaVJLVMpVRJs1oRTSh0LmXX1xGxmZmOyFLZv2GWZUtkDkmGwHc eDvU5SSjUuVQ0cOxcRaU9fR/RiBp/xoJ3oBGYhs+YOJBVtb8c3GIqQdIJrbXJSC7+r9T 5QDnmNWjUz526Cs6GkK/H42RFOHGwMHb8vZNG1+r8RvkAqDZUWUITObChKIDKMvuv5Bk 25ug== X-Gm-Message-State: ACrzQf2RupFMUdQl93hyLPzzjnsqOx+R0+wGzS8gFymf5YMBacIfNyCO GkS43qY2jdOA/HCYvKlw31FbAw== X-Received: by 2002:a02:bb9a:0:b0:363:ab69:2514 with SMTP id g26-20020a02bb9a000000b00363ab692514mr868581jan.200.1665688274113; Thu, 13 Oct 2022 12:11:14 -0700 (PDT) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id g100-20020a02856d000000b003639ef62d08sm268603jai.84.2022.10.13.12.11.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Oct 2022 12:11:13 -0700 (PDT) Date: Thu, 13 Oct 2022 19:11:12 +0000 From: "mka@chromium.org" To: "Balakrishna Godavarthi (QUIC)" Cc: Miao-chen Chou , Marcel Holtmann , Andy Gross , "robh+dt@kernel.org" , "bjorn.andersson@linaro.org" , "linux-arm-msm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Johan Hedberg , "linux-bluetooth@vger.kernel.org" , "Hemant Gupta (QUIC)" , "Sai Teja Aluvala (Temp) (QUIC)" , "Rocky Liao (QUIC)" , Alain Michaud , Abhishek Pandit-Subedi , Zhengping Jiang Subject: Re: [PATCH v1 3/3] Bluetooth: hci_qca: WAR to handle WCN6750 HW issue Message-ID: References: <1651228073-1999-1-git-send-email-quic_bgodavar@quicinc.com> <1651228073-1999-4-git-send-email-quic_bgodavar@quicinc.com> <0D3D8346-0F64-4CAF-8BED-940F189A3E97@holtmann.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On Wed, Jun 22, 2022 at 07:27:21AM +0000, Balakrishna Godavarthi (QUIC) wrote: > Hi Marcel/Miao, > > We are working on new driver, by 7/29 we will submit initial patch for review. Has this ever been sent? I skimmed through the list archives and couldn't find it. > -----Original Message----- > From: Miao-chen Chou > Sent: Tuesday, May 10, 2022 8:47 AM > To: Balakrishna Godavarthi (QUIC) > Cc: Marcel Holtmann ; Andy Gross ; robh+dt@kernel.org; bjorn.andersson@linaro.org; linux-arm-msm@vger.kernel.org; devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Johan Hedberg ; mka@chromium.org; linux-bluetooth@vger.kernel.org; Hemant Gupta (QUIC) ; Sai Teja Aluvala (Temp) (QUIC) ; quic_rjliao ; Alain Michaud ; Abhishek Pandit-Subedi > Subject: Re: [PATCH v1 3/3] Bluetooth: hci_qca: WAR to handle WCN6750 HW issue > > Hi Bala, > > When is the estimated start date and timeline of the driver development? > > Thanks, > Miao > > On Fri, Apr 29, 2022 at 8:09 PM Balakrishna Godavarthi (QUIC) wrote: > > > > Hi Marcel, > > > > -----Original Message----- > > From: Marcel Holtmann > > Sent: Friday, April 29, 2022 8:24 PM > > To: Balakrishna Godavarthi (QUIC) > > Cc: Andy Gross ; robh+dt@kernel.org; > > bjorn.andersson@linaro.org; linux-arm-msm@vger.kernel.org; > > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Johan > > Hedberg ; mka@chromium.org; > > linux-bluetooth@vger.kernel.org; Hemant Gupta (QUIC) > > ; Sai Teja Aluvala (Temp) (QUIC) > > ; quic_rjliao ; > > mcchou@chromium.org > > Subject: Re: [PATCH v1 3/3] Bluetooth: hci_qca: WAR to handle WCN6750 > > HW issue > > > > Hi Balakrishna, > > > > > The patch is workaround for hardware issue on WCN6750. > > > On WCN6750 sometimes observed AON power source takes 100ms time to > > > fully discharge voltage during OFF. As WCN6750 is combo chip for > > > WLAN and BT. If any of the tech area ON is triggered during > > > discharge phase, it fails to turn ON. > > > To overcome this hardware issue, During BT ON, driver check for > > > WLAN_EN pin status. If it high, it will pull BT_EN to high > > > immediately else it will wait for 100ms assuming WLAN was just > > > powered OFF and then BT_EN will be pulled to high. > > > > > > Fixes: d8f97da1b92d2 ("Bluetooth: hci_qca: Add support for QTI > > > Bluetooth chip wcn6750") > > > Reviewed-by: Miao-chen Chou > > > Signed-off-by: Sai Teja Aluvala > > > Signed-off-by: Balakrishna Godavarthi > > > --- > > > drivers/bluetooth/hci_qca.c | 30 ++++++++++++++++++++++++------ > > > 1 file changed, 24 insertions(+), 6 deletions(-) > > > > > > diff --git a/drivers/bluetooth/hci_qca.c > > > b/drivers/bluetooth/hci_qca.c index eab34e2..c3862d1 100644 > > > --- a/drivers/bluetooth/hci_qca.c > > > +++ b/drivers/bluetooth/hci_qca.c > > > @@ -219,6 +219,7 @@ struct qca_serdev { > > > struct hci_uart serdev_hu; > > > struct gpio_desc *bt_en; > > > struct gpio_desc *sw_ctrl; > > > + struct gpio_desc *wlan_en; > > > struct clk *susclk; > > > enum qca_btsoc_type btsoc_type; > > > struct qca_power *bt_power; > > > > I am really against these intermixing of Bluetooth and WiFi details. There is work ongoing to do some sequence power procedure. Maybe that is something you should look into. This is a mess. > > > > And again, we are still hacking around hci_qca.c instead of writing a clean serdev only driver for this hardware. I have the feeling that nobody listens to review comments these days. It is just hacking patches together to get hardware enabled somehow and then disappear. > > > > [Bala]: We are working on serdev like driver for our QCA platform. We are in initial stages of discussion, and soon we will start the driver development work. > > In mean to stop stability or functional issues we are trying to add these HACKs in QCA driver. > > > > Regards > > > > Marcel > >