Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3768967rwa; Tue, 23 Aug 2022 09:48:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR7SabzwIiy/H8mFEpLYFeef4iR2XmWlrANAZeD0Hw2o8yFMHmDvPMSocqvHWNYnAxSHyJl9 X-Received: by 2002:a05:6a00:22c6:b0:52f:4d67:b370 with SMTP id f6-20020a056a0022c600b0052f4d67b370mr26300828pfj.58.1661273325033; Tue, 23 Aug 2022 09:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661273325; cv=none; d=google.com; s=arc-20160816; b=rB/h23Sh6NxiMHSFOroorsA544xzh8ipMaKUKi2lXiy43soC48i4DmlG6DA+bdp5lW YYlyZHyDU3Kyj9Cjgp0r0p3v7VpY7e7H/DBv+2Thc4hbPnUvEGvx8P4pAkNf5JzQ8Vtj rz9dbaFXvgEDqcjq/lp3JMiZHoQj2NFYerLsi4UHzX1iVVSUb7wQW7GEtFUVRWtwtcd/ o/+WpFi9Q18J7kg7BZiXV5bSLQrNzbPDTpXaxFTb9MjbQehtoiWA8XEMxRwc53+wVGmU pE+0C5V+t4AvYYVqBnthr5uLcqFK5tGCRGqG2WDqL4732UELvDQA1jqcIPft6K3M8laP xlsQ== 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=1E0oiotBw/yWc7fBLDJ/ZXGI/3b6eqOGgsxaGss/Yzs=; b=Ab4akbt5jSgHiJbuzesFSVDjaXZ71g19tGoM+zKAylys1kavq2uGzGX5FlhjA3gPjB /jZ8BJ7q6k33pK3BIRuZ3fHYaVVuIgeT6YbdB4+x0EcXSGhWEOT77gOYJMlE7yKJGPDO BN+XAaIP8JZQfigrSIMzMbzaHRS+5YlLs7sX9Q2gcl08VRu2rU8RYjSTRwzw0J07gDpS R5FuY7HqXTacd0N4EUu9tWXJ1MXKSE8v8BoyxAGWEXFcQHCp+tG7jCiTEm1on9H1Z5Wh 5+j1YSs1A1p7fo7v/vGGFH2K2uA1h2mJnnLrT/F7QgJyRlPdrcClfuk2Ji2JHj9/tBcX 27Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eTC4CsZP; 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 u12-20020a056a00158c00b0053711e43bdcsi1104812pfk.151.2022.08.23.09.48.34; Tue, 23 Aug 2022 09:48:45 -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=eTC4CsZP; 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 S244991AbiHWQgg (ORCPT + 99 others); Tue, 23 Aug 2022 12:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245443AbiHWQgA (ORCPT ); Tue, 23 Aug 2022 12:36:00 -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 1EDB8BCB2; Tue, 23 Aug 2022 06:06:36 -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 AD603614D1; Tue, 23 Aug 2022 13:06:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50939C433D6; Tue, 23 Aug 2022 13:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661259995; bh=H8h0RHLn6+JPT0ZVlwXJ4vwSe51HEfutMbaRAkltf4o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eTC4CsZPJhQPvAAqMNaRmhc+GWcLHArz3Ok0OJBhL/Qt3r11I5bcFchOdk5TCZBuK cTi3PShOjAfQEmiDdM9EoYeK/R3rFYXmMk8alFomd38l5Z4w9V00ekY/CLVg5wtPUG cd1fexliwWx6meFgLre6v8tCdtsotGNZwRWBb6DKBMPLpvIzJK6gx7dPJ1/BUksyUL AvbvTQ86Y74Y6gMx7gvvDccar5p/ga6ag/SoBSgQCOucWgOzCV+qIaje4Ay17H1401 EsRDWlNTETXDCcNa0tlYnQS4NE4lLq6aupAwRCMFiCDFU0yiTi4VJkKAUYLh1c8XvL /69x1Wd2TRaDA== Date: Tue, 23 Aug 2022 14:06:30 +0100 From: Mark Brown To: Doug Anderson Cc: Andrew Halaney , Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , linux-arm-msm , LKML Subject: Re: [PATCH] regulator: qcom-rpmh: Implement get_optimum_mode(), not set_load() Message-ID: References: <20220726102024.1.Icc838fe7bf0ef54a014ab2fee8af311654f5342a@changeid> <20220822193153.zn2oxljmd76awqot@halaneylaptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="X6FF6FFLRgFUYXaS" Content-Disposition: inline In-Reply-To: X-Cookie: You can't take damsel here now. 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 --X6FF6FFLRgFUYXaS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 22, 2022 at 01:13:55PM -0700, Doug Anderson wrote: > I guess at this point I'll wait for Mark to give his suggestion for > what to do. Options I'm aware of: > a) ${SUBJECT} patch was written as a cleanup as per Mark's request and > we could just revert it. > b) We could make it so that failures to get the input/output voltages > doesn't count as an error when going through the get_optimum_mode() > path. We could push the checks for a valid voltage down into the drivers, a lot of things aren't particularly sensitive to the output voltage here and are much more sensitive to the current draw. Depending on people's attitudes to DT stability for Qualcomm platforms we could also fix the affected DTs as well, though that doesn't stop us handling this in the core too. --X6FF6FFLRgFUYXaS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmME0NUACgkQJNaLcl1U h9A/qAf+L08yi+AfUUOKiU+RzeDrbdpo0B+MwdqVLYM65myh59wA/z7dIUHNWslx QSLK+T8ppVRnu/qedfMqhWKigjP69HkVs8aVDVNx5InAXyYL9fWpS+sIq9PTrYpO crrASb+hFdboUdcrIbMq6xVSD0C9u5R98AgjTbAuGoYrRosXjWtViQVivCiBn3fm cNeDwOU5CEoouqAAvtjpjjbUbkIn6SZdTt95yIhWvUQuU7nOShmngfCQ+uQAbt0s hW4jcN4RS4Q1wPzDC0ccZl44BI2U0UvhMH/otFKXvjPnTU8DFH0tgBTTldmbPjd7 wOKME+0yd4AvtUjLkUauv4iJuVESKQ== =QS7l -----END PGP SIGNATURE----- --X6FF6FFLRgFUYXaS--