Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5887591rwd; Mon, 5 Jun 2023 09:50:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AI5ewkrcdm6+JnPbZ0XIKUv30AWpd3IypLE9bVImS6oiw2/hmlpaGWilESHop8aIBstz7 X-Received: by 2002:aa7:91c9:0:b0:652:e23b:a078 with SMTP id z9-20020aa791c9000000b00652e23ba078mr35924pfa.13.1685983844661; Mon, 05 Jun 2023 09:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685983844; cv=none; d=google.com; s=arc-20160816; b=zS47QF2rCc9QCt5SLLRNi/q7t85rdIDK+8SYvSTGLmZV+PiF4SvA36HGSslTM/ZMIn aOhGgnrzMQa2j3bO3r2Xr+5RNalGPtVucJslg7b2Cil0vseSyI0kvvFjCtKGJ6CfBqn+ jSNiohJxq1/P1B2E5KnIBWPa1LGydcwv+mKmdjkxv8D6pmZ69pb525jFHd7GztbnxC3v RwpK9dwm8HhSzgMzKxJlY28lXCElKd8M1670vh+k9jTF9di8VUiNaZkSTWxxjLat8yQP XBtnZQnhj4lQolJ0YAJ22qo01sCuRL4C1DJ6RneGXo9w5blUiIgvj0JatW+ST1Si8reH EFDg== 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=mIBc8h2m9bHjlIkdSvyJQ4iFLeaA6sEAVbweOj2Eycc=; b=GHlH12faKEejgGIknUklA+sM2dSTNj/bmjS+x+Nca4TPXq/Z6XUaJIVQQ2MK6a6z03 tqeEGw7hSNKAnb8fTNNy9Z5Ksr946gRUl6Xjlz5vSYwErP+nwEXIQq8O6lOKobypRt2s catAg5FBqzI2LrlTUmWVQhADRoHimx947tG9O51UazaML9z4eHWC9zsGZZAQ+S2IvoaJ FeDDZ9hjRIXhpLRCd3iKhHeVyFkh4lvDQtcBrkmmqsfH5AJLnCODtPW4TEI1vfTC9OLk HEcRm2ElwRHpQDBdIFNZz48uggAV9pUvzYd2XVx2m4fX011X6CY7giojcBFRp5MTWNfO kYaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GOwyuqdR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a6566d4000000b005303a78b421si2910614pgw.196.2023.06.05.09.50.30; Mon, 05 Jun 2023 09:50:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=GOwyuqdR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjFEQbu (ORCPT + 99 others); Mon, 5 Jun 2023 12:31:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234705AbjFEQb0 (ORCPT ); Mon, 5 Jun 2023 12:31:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92EE01986 for ; Mon, 5 Jun 2023 09:30:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1C71F6281F for ; Mon, 5 Jun 2023 16:30:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7DA1C433D2; Mon, 5 Jun 2023 16:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685982640; bh=zmUdV5+DbT4iJZZY8IEQBwtRHJ1OlON8/d8bhShBTOc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GOwyuqdRAfhRpJtPJQ2SY3IGClTDZm4jeDGm54/cznaNUMV8hBDFVbCKrdtBOZsK4 mWqWqkpjTW2GxWueCbKJF/FiejoioN4aIH8vMv0A6Lg1oBFF7VzjWLNl+WBKA0ileL l4SiG4A/N52bxk3JB15DQte/oNvjjN+GOtcFonms1QYgVMLGjy+KSWCHe2Oj0q4kl3 cDQye+zuNCArifyw5/GpfstUX0dwTrui+EqeVXo5aoaqf/QyONUYGIwnUdSpEv91xC +ZmPkwE73uOWq00qlTWTF9FzVJ/7NdpesX2Hgg66hk9/IPsKbGx4QteE6Y9FNBRrKC g6LTnl+J2LILA== Date: Mon, 5 Jun 2023 17:30:36 +0100 From: Mark Brown To: Raag Jadav Cc: Liam Girdwood , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] regulator: act8945a: rely on hardware for operating mode Message-ID: <42423085-2c9c-47f6-9588-3e2260da7cfa@sirena.org.uk> References: <20230605104830.68552-1-raagjadav@gmail.com> <04b8fa24-e5a8-4871-a397-f1c0c886449a@sirena.org.uk> <20230605143103.GA3068@pc> <545d3463-ce56-41d5-9d95-55764c448c09@sirena.org.uk> <20230605161614.GA6548@pc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ta/L7bqgTyAkmc7L" Content-Disposition: inline In-Reply-To: <20230605161614.GA6548@pc> X-Cookie: Biggest security gap -- an open mouth. X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org --ta/L7bqgTyAkmc7L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 05, 2023 at 09:46:14PM +0530, Raag Jadav wrote: > On Mon, Jun 05, 2023 at 03:44:37PM +0100, Mark Brown wrote: > > It's also removing a cache so we need to talk to the hardware more often > > which doesn't seem like a win. If there's a bootstapping problem then > > shouldn't we just read once at startup? If there's no problem what's > > the advantage? > Well, there could be cases of access which are done > outside of driver context or hardware failure, > which are not really ideal but I've faced such problems > a while back, so just decided to share it. If we have those then we've got a bigger problem, for example we might switch to a lower power mode which can't support the load we're trying to get the consumer to run. --ta/L7bqgTyAkmc7L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmR+DasACgkQJNaLcl1U h9CiVQf+MCLoW1uOnH3HZnmYm6sDQZqHffX6VZuxNNzqsy/lS5QembRR5GIZqxGb uN0V+FIrmBY7GqfUJLC3yetRucrJVN4q/qQJ9x4pl4TgV8oa9bRrqIrLTXfdUBBm E85fghfmdtQnjCs1b/Cw4GyWbfWnylm0ywiqwolH/SmBk9VjlcLqev/8Kg9Os1UW 9kWfksJvyImh+FDAzR0fDwwKwYuojbGLpAm4HTw3UebNBj5hcEuJbe6n7/42R/79 KUTajn2c19FbHN+eaNrtt3dyY/kbmBeSmQUSHxj8NueFn3gl+Np+pAVuWBSGfwf5 /g80p0gfF2Bmtti9T+HPtVIcycds/g== =0lfS -----END PGP SIGNATURE----- --ta/L7bqgTyAkmc7L--