Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp228102rdd; Tue, 9 Jan 2024 02:09:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2xgO/eUg4iKEYBQaewpBg78+BxUcYR39FmNuTkLhHOTWnKa8vGW9aYBr3wcp+d+Tkohx6 X-Received: by 2002:a17:906:7801:b0:a27:941f:32a1 with SMTP id u1-20020a170906780100b00a27941f32a1mr366174ejm.58.1704794960658; Tue, 09 Jan 2024 02:09:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704794960; cv=none; d=google.com; s=arc-20160816; b=Q2MwhTHfcscw6Xz5LVzAcWI6sSki6bDHEQssMVnn/LGrX8fPHdrlIi3V2HIWirLLib ++X4DKKZV/zpeNzB4+SzYChPyuXOTAgXo6En2TYiZ2ttChPexM1b0ikP21BSqwFV30y7 fCo/13SkOa3M7e4YpElSkzLUZdh2TmPRUf4GFufooelrI4/ZkdZ4vKZ9BomGNPl/q0yq FtimSgFPHQuQkYzX51kAEKXVnKbLzkck5AEk+5oNCOZvUdIH+NeP92hpFGqTmqxhnBHA fabt0WIgU6d8PqorqaVJcuoaCwmtX0i0BJ7kfm42gf0MZkk5wOVC7J8p7c15XNk1AoUd nWfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding: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=ocYYHj3vviaET5VIqaehLYWdyv2c9igIxgocGEpAHu4=; fh=gh1xYdoP0seztiGHNlAGhesF57YTCSp3M0i+ZdzGThc=; b=ZtodcfGQt795Ki3NH+pRXBO0CBNUBkFNO8l0Iy8qaKqq1MJRxo6SRAl/19QU2B0K/b RFrtYvOwPELRVoEj3APyejsBivHOY2X3UWKklmdYbqaNuRaxuF4Wcx1bnb0jcI+PwtqP XORFGNRxYXZPBgiK+Of2tm/hYrpemh5xJveFwsJCXIi/0LWjEbsDvucEPNoMUYTjDhlk kUgZfiXoY7BvVrixTlaXpyePoot+mN9a33uB7yezEq3opIi2nhbH3sgkCwbp3yEt8k4b x1qLoTymaqTsxU3Uf1LNDWLkfgCr0oMrPU+eDX790bYGtmebfHAF1g9pvo3zKFm0Ix+J BkXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TqoKHNVv; spf=pass (google.com: domain of linux-wireless+bounces-1625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i9-20020a170906114900b00a2a0beff57bsi665903eja.243.2024.01.09.02.09.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 02:09:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1625-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=@kernel.org header.s=k20201202 header.b=TqoKHNVv; spf=pass (google.com: domain of linux-wireless+bounces-1625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1625-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5C39A1F26214 for ; Tue, 9 Jan 2024 10:09:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D50836084; Tue, 9 Jan 2024 10:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TqoKHNVv" X-Original-To: linux-wireless@vger.kernel.org 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 E948535EEF; Tue, 9 Jan 2024 10:09:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 269C2C433C7; Tue, 9 Jan 2024 10:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704794951; bh=eBy8oO5dbaOO40AD9QACd0yuXbqBpvBDoQ/D7p6+2NY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TqoKHNVvziTGxP8gXMTfuFv0GATSVJdS+CYh5o+NkywHCTOweS2p+557QhdVJSSQI OCk6EF+fYLM5Ocxx+kqxf7PQeOp07i4kHqKe6IOFd/S3zJsVpDpStEXEdk0Eq0bEQZ a2SccJxwocPW2sgTlslDy8ylrTWU1qIj36wXIqxlQQgUzLZJYKEg2ssZMhutqE57fU USqwn/qG7daG+XVf2YvkvsT2X3zStvrvIoYr+6pW/OHviay/dm9xzDOuYorqqIHxkp lrpHKWdxv9iBcOJ7fAmj2LR7nsLgdP9vSJ8+VDQY1v7wCmRBbOfK4nGrSVqWVLoK98 K+dUSgGX337Lg== From: Kalle Valo To: Chen-Yu Tsai Cc: Jeff Johnson , 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 , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, 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> <87jzoizwz7.fsf@kernel.org> Date: Tue, 09 Jan 2024 12:09:02 +0200 In-Reply-To: (Chen-Yu Tsai's message of "Tue, 9 Jan 2024 17:34:44 +0800") Message-ID: <87bk9uzum9.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Chen-Yu Tsai writes: > On Tue, Jan 9, 2024 at 5:18=E2=80=AFPM Kalle Valo wrot= e: > >> >> 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/pwrse= q/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 ath1= 1k >> > which would then select PCIE_PWRSEQ and PCIE_PWRSEQ_QCA6390 >> >> Or is it possible to provide an optional dependency in Kconfig (I guess > > imply PCIE_PWRSEQ > imply PCIE_PWRSEQ_QCA6390 > ? Nice, I had forgotten imply altogether. Would 'imply PCIE_PWRSEQ_QCA6390' in ath11k Kconfig be enough to address Jeff's concern? --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes