Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5543392rwd; Mon, 5 Jun 2023 05:22:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SJMerTCDvWZXarsTi5wSRDFg7qI5WCRN9+riABRAlhGWwgu/n0Mmmp1GQlaBbfWBsmXT+ X-Received: by 2002:a05:6a20:94cd:b0:105:6d0e:c046 with SMTP id ht13-20020a056a2094cd00b001056d0ec046mr7763512pzb.26.1685967766902; Mon, 05 Jun 2023 05:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685967766; cv=none; d=google.com; s=arc-20160816; b=f6+lqvL9D1s6/AN/wiXoVf/0HX+gE6uBsz/sX4qG3jVPjZ9he5JMSpNHuhdCb8ogJD BeNsvo64V44e1OHBm/6cuB/IssRyqEGBy6U4W21LA0UaUr8rBX0+MURRr02z68tANO1F F7ve80czVCvZLfqYUvi1uYFEb4NluxVUgeuQVav7c8dlzF5jPw8Qu2XVdBZFrmEF+Atd e3a30PINhpkbNnKvxvnlsdNdTjTK4W/tRstmcnbnBU/sUjqGf/PZ275RbjGBRkiOa2X1 mtE62iYP9MUL822Z19j0VzycyKzvnf8kshmXX9gt52TFcCP88zpnQmUxGA7Ac0FtSfVH pzBA== 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=rW9dgDXI0IuBPS08+EyfBd4DNWbcr76ARJXZDYeuLbM=; b=vkyL6CoWkdBNlmMlU0YlsAIW0Z4+F7OWqSZ5sH/YHFTKkBKVun4q28YogT/Sa2OB36 FfSmvU8vBSpWvYVOklMA87dnPD32mco70fDew62Mi+IybV9m6a40XShucKFrU7Bcwizj FhX4+9iFoWmuexd1rqjYKvWMgpPeo71Chulw9omVvLNnPPjCdQNrGAQM55anBEP3+l1K m6Zlvykn3WBnIEHp/HqGMrdHtpaZB+vO4aHi2NjHjRI/fTZuMjwI8WlMD0lqRbWNpcRk eMkOQYdd8TeEYPBnaWcX8vVkHBZyyJhzWZR288c9ETRa1eHl9HyvaxkTGJIA8WJJY3kv Mfmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EyqUr0YN; 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 w21-20020aa79555000000b0064d3e917a90si5289228pfq.180.2023.06.05.05.22.33; Mon, 05 Jun 2023 05:22:46 -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=EyqUr0YN; 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 S232312AbjFEMQm (ORCPT + 99 others); Mon, 5 Jun 2023 08:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233314AbjFEMQk (ORCPT ); Mon, 5 Jun 2023 08:16:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FDFDB for ; Mon, 5 Jun 2023 05:16:38 -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 4862D60BB5 for ; Mon, 5 Jun 2023 12:16:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2A95C4339B; Mon, 5 Jun 2023 12:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685967397; bh=rW9dgDXI0IuBPS08+EyfBd4DNWbcr76ARJXZDYeuLbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EyqUr0YNdNZYVb2hd/+b4lb1PcLGSdcEue471BELdw6hOWY8Ys/QyfrmRKoQ5/IRw 9KPxNUz0I+tsyflhv3RpK6pHURxR8mwypvn74LQK+1AC3EcxOL5dsijBLNUcCW8RQX MyNzEtGqwiSm3ak4y2wW9vyYdjhpjneopIoyuD2BKcWzlTynGIJx/lzwKRaEtz/GPz VhCrXk4+B154sGCCgzzcGsh122DDOwiRGE2K1pnEjAJae+MqB3klu1yD0O3udO/541 +Yb+LyfDyxvxKb4mJoQ1Xq1HAH3P7g2wnmE1fsmTjOgsCM0ie7BAY3dDmk2dEmcqFS CWVnaCcZpB/vg== Date: Mon, 5 Jun 2023 13:16:33 +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: <04b8fa24-e5a8-4871-a397-f1c0c886449a@sirena.org.uk> References: <20230605104830.68552-1-raagjadav@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0oO7Zo9cWYTLbwt+" Content-Disposition: inline In-Reply-To: <20230605104830.68552-1-raagjadav@gmail.com> X-Cookie: Biggest security gap -- an open mouth. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --0oO7Zo9cWYTLbwt+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 05, 2023 at 04:18:29PM +0530, Raag Jadav wrote: > Convert ->get_mode() and ->set_mode() hooks to read/write operating mode > from/to hardware instead of relying on driver memory. Why is this change being made - what is the benefit here? > While at it, map fixed-frequency PWM regulators to REGULATOR_MODE_FAST. Don't combine multiple changes into a single patch, this just makes everything harder to review. --0oO7Zo9cWYTLbwt+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmR90iAACgkQJNaLcl1U h9A6kwf+OqMF+3d7LmP0EcpT8N5evUuexunsk7rR2aHeOHqL4VK4TX+gG4lkmBHM 4PYtqrL5KkEaY10yAa6VCksusLeO7fHiErCPgBM4OdzEzGB4hAHIIt9L5dvEv8jK F+x++v7bOi/MVA+dLP2IcPKTwlCCx9aHwTJfcelH6NmZ3fmbJCj+JyP/tYeAWJkw iTccVIB9fJhu3Cqk8MK+0Dwd+ToSFxGL2qEaqpoNk9opDzMemHC01JjixJmDVTJd HCGBkbtz44Jw3jwwKjuFXspbtKt53EmtbVbpMwnPIjFKMdtAx+D7mj1Rxve/uPLf z7eOIcUhDqyyK0wCHpNFe3JQwR6J7g== =ReKK -----END PGP SIGNATURE----- --0oO7Zo9cWYTLbwt+--