Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1704720rdb; Tue, 20 Feb 2024 04:48:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWeuL99tl5RJ9s0HIw3KPDfvtYDJMTvokfGPMJ7rDvd90g7L0o0TSpF04rfzY05yepuJ/Ww6S0fFcv6KEjMYQ6BQqOC8IaphdF6Qu6klQ== X-Google-Smtp-Source: AGHT+IEE6Qep/kdJMYP5FFmfQQeHAdDRfDPLLGQV8Nz6iD01WG0HYF3g3kFVEjCEXo+jc04zovwv X-Received: by 2002:a05:6a00:9397:b0:6de:a1b:3339 with SMTP id ka23-20020a056a00939700b006de0a1b3339mr17570798pfb.26.1708433286145; Tue, 20 Feb 2024 04:48:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708433286; cv=pass; d=google.com; s=arc-20160816; b=UQ3j6Y12NQOfiBNvOLctL5cmPNR0OcsKFNO6MoPfkHYoknvdSEHO9CyoXYOjsYWZlu BMsnJ0hpP0lzTzF/nMHBRTD1tLV01o4Ql0rE2yGWbiDrfG3Tw8Pv22P4DHG/PJ5ZbJJx PUB4mzXkUDXV7HUhSxYIzZsPtDSuJlW+eDNO1RuAHqJSR3PRPb9dIDhGWQNm6XwPTWsS EjOpAfZK+fGd041/N0HF2PPYR8t4E4T2DhhV8pgkRsx43+e5C5sGI7OwuezmG1UybLH3 bReqoiOG+qIM7ikPwk2X51Rdty7K2fLgspKQgRUTNGSDNNh6iBTcz25GtcjMUk5dRUar nCSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GM4X9tOEPblPKR0fyHshWrwv4krr/VP4+LCbuaclvmA=; fh=Z4tkmjqdOujdalR7FSQuNYWuv3rept5Wymwh5KbHMSA=; b=WcwdX98R8NDG6Vfihh5DE2WEH8Wfo3tDW5dCpnxO98vxd/ejmx4WNWieg2AU6tk82L 9R2BP1KOb7BbJd7cOUvMwTyAbt48hzqdn2A8jgAPW3+Ewr/DOhcIylwMjQerwDedySn9 0T3DXzYVBuYyWIHaZ9BHiyyjuTqoGVR3oONt0unEnvaowukBpr493IUTPuGAPODmOfCl HzilSQ6Gmqwm1DqsgL6jlxJhnxzqqnoITn6CwUlRgWdhe1wMW2B7Ssdxbce+6S9R26bA VifB2rJCJes+wv4L6JUbt4tN440hc1F/LoFr9ODmq9CEEnQkyV4DS0/GH5WEBbkhicLF OXyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O+70rKxC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3805-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3805-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p23-20020a639517000000b005dd565ce281si6051266pgd.881.2024.02.20.04.48.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 04:48:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3805-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O+70rKxC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3805-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3805-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D251D281D1D for ; Tue, 20 Feb 2024 12:48:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7016D69D35; Tue, 20 Feb 2024 12:47:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O+70rKxC" 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 31D89482FA; Tue, 20 Feb 2024 12:47:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708433279; cv=none; b=SgiSZnYTQFrCgJUet+d/Td4HLRll7FM3Q8+TF0DeENcrUOQgO/p/8B3EIZzBJ9o5VPzYnoBrP9mHgCp37p4437xOzJuml7tFTw+NtiPct8mwuejDpr/NZeCmRigzIdpAWcGf3ufM3GqhF1BU34girSZuWAs8aK3YxMcfeoX9Bas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708433279; c=relaxed/simple; bh=ViefJugypi9Weib1Uaokne/i9seCAk+ZC9k+nnoVcWg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=enLCj+eUSP5TOx+bEoLMQG+hF3q7+nNHGkL/E1BCT54YYJ0ANFxY7FNOl4nub2lO5mtpoxSH9+X+PZIW/CAyB5kIPm3f7N6y+MeEwpq2QVYnNb03CZ/f8JFI7xGJ8KYTWEEsPQtqirIlkpFGRA+8dym6LVL+hyMvnlHO83vMQlc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O+70rKxC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EF8AC433C7; Tue, 20 Feb 2024 12:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708433278; bh=ViefJugypi9Weib1Uaokne/i9seCAk+ZC9k+nnoVcWg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O+70rKxC/6pwXD95cIIDMA1V+jnd/1+CGcXC46So93DH3Xkfgy1cC8BWRR3qI4542 kCHuo10Mnf3HQionPq2GoeJHytdnySZN+AtXrVQy7+ULywO7SE8Z3CUfiJ8NRj1Ywd z7mhQpiMcCcX40rL7NcE6M0QXbOPdV03WEInkMea6IY5d/oCerFF4v6U7n7ekmm2u2 QpqT8/H1cFo+jxS7xEUsTnd2m+nfD2Tamm1ILj4nnQhRbMCeNhB4jl4Y2W3k5YORzJ UTeGrLpyNukJdQCdQuzVaR5Vu6MU4U2KSZ2E7pwDn9cfOhwfnPepW50PFYspCXupGX 9bF65zzZydcSA== Date: Tue, 20 Feb 2024 12:47:48 +0000 From: Mark Brown To: Bartosz Golaszewski Cc: Marcel Holtmann , Luiz Augusto von Dentz , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kalle Valo , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Catalin Marinas , Will Deacon , Bjorn Helgaas , Saravana Kannan , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , Marek Szyprowski , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , Abel Vesa , Manivannan Sadhasivam , Lukas Wunner , Dmitry Baryshkov , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v5 14/18] PCI/pwrctl: add a power control driver for WCN7850 Message-ID: References: <20240216203215.40870-1-brgl@bgdev.pl> <20240216203215.40870-15-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="g16doyZ3qKVdSFBl" Content-Disposition: inline In-Reply-To: X-Cookie: E = MC ** 2 +- 3db --g16doyZ3qKVdSFBl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 20, 2024 at 12:22:42PM +0100, Bartosz Golaszewski wrote: > On Mon, Feb 19, 2024 at 6:50=E2=80=AFPM Mark Brown w= rote: > > On Fri, Feb 16, 2024 at 09:32:11PM +0100, Bartosz Golaszewski wrote: > > > +static struct pci_pwrctl_wcn7850_vreg pci_pwrctl_wcn7850_vregs[] =3D= { > > > + { > > > + .name =3D "vdd", > > > + .load_uA =3D 16000, > > > + }, > > I know a bunch of the QC stuff includes these load numbers but are they > > actually doing anything constructive? It keeps coming up that they're > > causing a bunch of work and it's not clear that they have any great > > effect on modern systems. > Yes, we have what is called a high-power mode and a low-power mode in > regulators and these values are used to determine which one to use. Are you *sure* this actually happens (and that the regulators don't figure it out by themselves), especially given that the consumers are just specifying the load once rather than varying it dynamically at runtime which is supposed to be the use case for this API? This API is intended to be used dynamically, if the regulator always needs to be in a particular mode just configure that statically. --g16doyZ3qKVdSFBl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXUn3MACgkQJNaLcl1U h9Coegf/cTLhALjTXQxrUSAhLhbbWi2aaHJ5OUWXQhSYshGlFNvzP1TpP2FeROeb YSX+KygQ7NlKk/LLQsU/f6IKcmlMVTO2M+gFe02zg3SiufZoJDPEmx9sqGAjE1gu 9MlGnfmzhg1wv2nFAsqol7OpYRmGiFWwItzkh+0gcGzM1Z0dofVRz+b7iJ/D1l8k BmsnAqWMd6ePiTeyyZD1b2vwbIPLNYLDq0T3iL3ubP8H0tf1HkDXZCLW26RgabHJ uNqpcRzG+kxblNPuDu8G3w7SfLPcOQ8YjLJhiKm9ADl7Wktqh+Lx/Z0EWJBwYi+2 gt31H+Otddbe7zUMgos8YlMmD1oumQ== =gJLX -----END PGP SIGNATURE----- --g16doyZ3qKVdSFBl--