Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp209367rdd; Tue, 9 Jan 2024 01:20:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT9zWU6K9NRaNW2AKY+b/trutqZkZz5wsXJtcFwZYjVcR1vN2yAkaA1KSXtOKs2depFIKr X-Received: by 2002:a05:690c:f8d:b0:5f7:540f:9fe1 with SMTP id df13-20020a05690c0f8d00b005f7540f9fe1mr2084374ywb.26.1704792025245; Tue, 09 Jan 2024 01:20:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704792025; cv=none; d=google.com; s=arc-20160816; b=VGJFWfoZ2/lleaNmrEVpk+pC8IZhjLTrLUUTWOiXo6dE/kIqoIIS+7WUFk8mS1zWpZ 06ZULvbItwjIvaKvJK4/q0E28E93YYtd2v01aDKArTDYrnf9p6bKMRldM+q2YX6aG2ui EkZAjk2a036rNBasFgrl8z6X7ALOP/+U/h2Be7SYdABIdqaI4Wd46zxqfdS8jAp2RA+9 FWSJoZWbdMv/Kui1QdfVMwoaXUhW1x9U0luOTXDyvOoodTY7+9wQZZ9kYuscDc4eY5v3 t+LbK6DgiQkSgpHjelR2wMnThxoF+kOUE9AkupyqiY9srHi/17LKI4IYIKHg7VPGaFHp SVXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=/P8OkeOYVp8fZHAd5YV7Kfyvghm9apf2rtpj9ckQH2A=; fh=29h67Lc6KS1nz5yqFGv/Gn3oh4SbJ7bVpznjI9IrvGU=; b=kZ4WgSgt4WHalSpdMq2NgmQXfotyhcBSeym57LjjKagdqxC/p+OHMBUFIEd7JzJ2vv bD+FmBMD1sWNd0L0tDePcZCdzXtC85h+3Xplq+iBVR1q/1B8dblS5LdzqzOsrVXepZrf KS4mo4m2mYJQwQLRvLMOtHu7FaMmCgmWEdcmDvy8HKzbS5s+WvpN0P9IKICjR5TJZpGe /GtbNPtsNMXf+gzYGMp6Wqb0sEomm7Go0mNRykiwi+JOge6yJj0SvvL0FgnRd+A7sYt/ JrnwDWQoVAUaLvXl/tv4tuZ1nK/pLcATry7dBPZwOFJMXxj3b7BLl/GYBU8ea4/Ctf7/ voNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QgUePAhV; spf=pass (google.com: domain of linux-kernel+bounces-20649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 x10-20020a05620a0eca00b007812bf6f366si1565507qkm.424.2024.01.09.01.20.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 01:20:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20649-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=@kernel.org header.s=k20201202 header.b=QgUePAhV; spf=pass (google.com: domain of linux-kernel+bounces-20649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 C79D11C2434C for ; Tue, 9 Jan 2024 09:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 223F33717D; Tue, 9 Jan 2024 09:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QgUePAhV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3A5FF35890; Tue, 9 Jan 2024 09:18:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83CBBC433F1; Tue, 9 Jan 2024 09:18:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704791893; bh=HPNvwBlDoURqcR228aqjUvaE1RRrnKS4myuXXAyaAog=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QgUePAhVgYTKdCDir8lW5xgFglt6GgowMR6umaf1kI3jYuBEyAmb3yDBh9xym6xHX LYtGNIHNc69u/mOhR53YaK9NOoKsPWFj+jU3O2j3Np73y601KPh5DUUOqnWcRj4Lhj XpMCreey5P1dYUlyEXvoFoTiUDnlH7/pyH//6WxJS9X9AhfbmWaWjhZhCXMSxaHivi 1BTV9Sbg1gUGII3VJS46zGejC9vFQtb3DF3whKvRqSF7hHkWlR8y9B8X7CXGLMMaKx Ev1vbmAKdBil9IiXRIqBic3d7NkU5RMgjwhZnuy35LAFMQ2jJUBDhkqGH49yuoq/Ph F1d1/82OwuaTA== From: Kalle Valo To: Jeff Johnson Cc: Bartosz Golaszewski , "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 . R . A . Prado , Marek Szyprowski , Peng Fan , Robert Richter , Dan Williams , Jonathan Cameron , Terry Bowman , Kuppuswamy Sathyanarayanan , Ilpo =?utf-8?Q?J=C3=A4rvinen?= , Huacai Chen , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , , , , , , , , Bartosz Golaszewski Subject: Re: [RFC 8/9] PCI/pwrseq: add a pwrseq driver for QCA6390 References: <20240104130123.37115-1-brgl@bgdev.pl> <20240104130123.37115-9-brgl@bgdev.pl> <15443d5d-6544-45d0-afeb-b23e6a041ecf@quicinc.com> Date: Tue, 09 Jan 2024 11:18:04 +0200 In-Reply-To: <15443d5d-6544-45d0-afeb-b23e6a041ecf@quicinc.com> (Jeff Johnson's message of "Fri, 5 Jan 2024 17:31:47 -0800") Message-ID: <87jzoizwz7.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Jeff Johnson writes: > 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 Or is it possible to provide an optional dependency in Kconfig (I guess not)? Or what about mentioning about PCIE_PWRSEQ_QCA6390 in ATH11K_PCI help text? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches