Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp480677rdb; Fri, 5 Jan 2024 17:34:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQmgl53D3D+pADqEPT/0pymc86aCPT619xs+2F4Pho8L4peIJ7+1SqlRdwj/SUIVO4sSnY X-Received: by 2002:a17:907:7244:b0:a28:c0a2:87d9 with SMTP id ds4-20020a170907724400b00a28c0a287d9mr112364ejc.91.1704504854228; Fri, 05 Jan 2024 17:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704504854; cv=none; d=google.com; s=arc-20160816; b=fS2mgquf3cHIQnzDNzbXsOd0bQVs8xrRbSnAihrD9YNlKB40H925pe/0cRlBerfFaf pux3a7uCRb/xG4czt1qBH9wgbhcDQ95CDZ4ZKadAOEc8rJOpnUXp7m6g0x8N1R83+kaY OqzzVn0QgZ3UviGVvAYPcqLdV4tn7qWTITTe9XOn8PZzokadt/+RY2DkUHbQEXeuzUVc vyWE+p26blnJ/ZYxUjHo/gCw26XQr/9WEgs/TuYkd+tIChQ3HYHyvsMKMgz5O5Nm7Oac owJKBWKidXwwimb7pYjItGtcNTfVFSl2yPNL+CvBJCvQOIHGcXen/KmPOMmK/h+UlTPy /aCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=oWitCKqXUaDDi3zunueHiXdcn5X8/zJTddcKiUW5ozY=; fh=2H09ReSdMYRDS6t7CBqWPUipDnPoE0Dc8nHnWBQOZPY=; b=Vx6zjM0bdFLCaGUSbJkse5Bwrzmr3JOCiJSrve4U1IywuX2EBgmUDaWObBNQ0SXa8I RA3QbZKuJGmTjo4g3IMi6zVqUbc6Ld2FjdLUZmBU655IKSoHSLgkkIk4HgzhDZfdQyE/ RDoDVAz+OG4tq/uRurdS41JAtZeu6MpLiQOe7qKgUl87KSCdOA/F6tYtr3oglXdxK5J7 FF5uN51CvUS6itXmjW5hb5fT5UFhl71U+xBeYjNqGjQLHBkAZVQHBnKTdgpx8D5oLCqh 6FMS8XatQ3pmgx4X+BDOUjcWIFkfLtClwhYr6XfxbEwa+6B7rFu7p4mRjsY1YGO32RVX ZkRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Wh6I0uMr; spf=pass (google.com: domain of linux-wireless+bounces-1546-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1546-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a2-20020a1709064a4200b00a279a9783c6si1089274ejv.693.2024.01.05.17.34.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 17:34:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1546-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Wh6I0uMr; spf=pass (google.com: domain of linux-wireless+bounces-1546-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1546-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D55811F24129 for ; Sat, 6 Jan 2024 01:34:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CA301374; Sat, 6 Jan 2024 01:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Wh6I0uMr" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D30D1137B; Sat, 6 Jan 2024 01:34:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40614CG8003495; Sat, 6 Jan 2024 01:31:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=oWitCKqXUaDDi3zunueHiXdcn5X8/zJTddcKiUW5ozY=; b=Wh 6I0uMrdc4AKX2usKrQjmzWWFCPtJuwPgMUxWyivmDfGGRVRGs1bd3MmQTUzah93S 3s62ibT/RB+oNeMbtIvoBvJ0BHs8JUJ5kVJ511Q9DtM8hLiRzf5orMAayxZArPIv ltaa3OY2E3WiOOk6ftIb/Us/x1/lM25RvEAg7IIfIUG56OQmqWohlVnQuTP/0PdX lnkQwgTYcvVJbpWTf3OOvJiMI3O7B13dLeTEcfVx5bsTTpauLoqLGRL2iStX8HAp D8ozE6cMjmtR36Dh411vJvZyBfofQzasdztpBo4melJ9EHgjgUWJwgY4XcZ6vEvD VRGcKmNMaTPubKMGQLUQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ve96wtn5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 06 Jan 2024 01:31:51 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4061Vopm022965 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 6 Jan 2024 01:31:50 GMT Received: from [10.110.42.177] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 5 Jan 2024 17:31:48 -0800 Message-ID: <15443d5d-6544-45d0-afeb-b23e6a041ecf@quicinc.com> Date: Fri, 5 Jan 2024 17:31:47 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 8/9] PCI/pwrseq: add a pwrseq driver for QCA6390 Content-Language: en-US To: Bartosz Golaszewski , Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Bjorn Helgaas , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , =?UTF-8?Q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Marek Szyprowski , Peng Fan , Robert Richter , Dan Williams , Jonathan Cameron , Terry Bowman , Kuppuswamy Sathyanarayanan , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Huacai Chen , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman CC: , , , , , , , Bartosz Golaszewski References: <20240104130123.37115-1-brgl@bgdev.pl> <20240104130123.37115-9-brgl@bgdev.pl> From: Jeff Johnson In-Reply-To: <20240104130123.37115-9-brgl@bgdev.pl> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: x8eAyU-ARJVubGws4bgKS1PljaWgyNho X-Proofpoint-ORIG-GUID: x8eAyU-ARJVubGws4bgKS1PljaWgyNho X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 phishscore=0 clxscore=1015 bulkscore=0 impostorscore=0 suspectscore=0 mlxlogscore=920 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401060006 On 1/4/2024 5:01 AM, Bartosz Golaszewski wrote: > diff --git a/drivers/pci/pcie/pwrseq/Kconfig b/drivers/pci/pcie/pwrseq/Kconfig > index 010e31f432c9..f9fe555b8506 100644 > --- a/drivers/pci/pcie/pwrseq/Kconfig > +++ b/drivers/pci/pcie/pwrseq/Kconfig > @@ -6,3 +6,14 @@ menuconfig PCIE_PWRSEQ > help > Say yes here to enable support for PCIe power sequencing > drivers. > + > +if PCIE_PWRSEQ > + > +config PCIE_PWRSEQ_QCA6390 > + tristate "PCIe Power Sequencing driver for QCA6390" > + depends on ARCH_QCOM || COMPILE_TEST > + help > + Enable support for the PCIe power sequencing driver for the > + ath11k module of the QCA6390 WLAN/BT chip. > + > +endif As I mentioned in the 5/9 patch I'm concerned that the current definition of PCIE_PWRSEQ and PCIE_PWRSEQ_QCA6390 will effectively hide the fact that QCA6390 may need additional configuration since the menu item will only show up if you have already enabled PCIE_PWRSEQ. Yes I see that these are set in the defconfig in 9/9 but I'm concerned about the more generic case. I'm wondering if there should be a separate config QCA6390 within ath11k which would then select PCIE_PWRSEQ and PCIE_PWRSEQ_QCA6390 /jeff