Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp180106rwe; Wed, 31 Aug 2022 00:19:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR7YtGIiPxnwREUxtwEWkg159YbODmnNZUsK4TB1yVKWzAnlrL+JM1QghuW0UB8ffx3FaquK X-Received: by 2002:a17:907:1c87:b0:741:8199:a59d with SMTP id nb7-20020a1709071c8700b007418199a59dmr9853192ejc.736.1661930370341; Wed, 31 Aug 2022 00:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661930370; cv=none; d=google.com; s=arc-20160816; b=QYkqqEDRsiwi3Tp8vEm2TXRr38gf1QcfP/pqqx1wKjDgQWg66ygG3eOu/ZccV+l5lc JZ0nt9koUVT7Qgpt5skTfVimB4MZulgQWGFujJhMnNrpiqQYSWY5wDMBwvUCH/LQ2PKx sVSoLfGiW9hyDCBZb+6bBiwR5YcaLEbBUF0ozEE23Yzx6dTFbZi07DJHaOVL8Yy7aiCq xKhnBMI9JhY06vYJNN1o//b1olRnRcb6lPpiuQ/EX3R6/4BveBB8FBpeEoZtuKYKc17q VHyrOG2NeI5KN8AyUdW/jzS/zQSvF9114/PGBODVKIVujqxFHUNZcM9bcFmqzgGXkpiJ msLg== 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=4SGVZRZQRzgGK9jnxF7iplQ+cWXwCi6+rJWfVlAyyWs=; b=EqcXCsVlxbWA+ecGtGwza8Vy5ubYcZ/MpNV5Gpb2JeESFgdmycX/qbuDXIQa0Bg5FO DZTwJBDEXi0UXV/N+yEg/M3dSpFjOoCkaE3b3e9mHRf3C5Qsqf9hu6hA65jknsPMrKsN ay+YLFgs9nuiGRDoZ8Z5vyuLrRLmvMqlFiu5WK4U3KmyWQrTSGoU35zgfD+cXxxsVbva 4AhkuZJExBEDr09cB6tAY/BHqB7FYHtjny+LAcN9JdV/pPYeLeL+rjUN6QBeCstCNZpH sAfJXstb0YX/2n8iQmMWSo575QksFYO9IJBghPFS3lqFpQkgX7J2cP38k18bvjrXAuiS l2Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WMOdheE0; 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 qb5-20020a1709077e8500b0073d89516878si9835129ejc.241.2022.08.31.00.19.04; Wed, 31 Aug 2022 00:19:30 -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=WMOdheE0; 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 S229688AbiHaGn1 (ORCPT + 99 others); Wed, 31 Aug 2022 02:43:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbiHaGnZ (ORCPT ); Wed, 31 Aug 2022 02:43:25 -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 01421BFA94; Tue, 30 Aug 2022 23:43:24 -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 5648B61798; Wed, 31 Aug 2022 06:43:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7DBEC433C1; Wed, 31 Aug 2022 06:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661928202; bh=WoLISpqhfcnuWC4zl5jPNUTle9pxaCdIo+0c6WbDNcs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WMOdheE0TC4GATwxjAMSgLPT9/fVYUTGB3FeaZwnqz7b/jyYxJvx3OeIA/xWiQPiN rLfwJURRpsWrMclPFOe2FWCWTUU8euw6qQcyfiRUnGdFVGMns4hq6qaw+5JHeI4KS8 yWe2WvCAfnAs1xcVk6zELj9SNTrJgn3NCY8ntVTg+SLp/h7e81K4Za8yy2mYcZhbEw +9vJvO71ut9GaUKdE0hlWum6E2ZVebFzoTQAEcudSTQuU9XP+8/rw5QHrHdxps8t1h /o/x96MW0cJ+JNwqthLmzd9XU1sios0RDQjWaNXtNCqhVcOGzuEAN3pTUM05qKRwmL o5PM/Wod4N1jA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oTHRY-0006Ec-En; Wed, 31 Aug 2022 08:43:20 +0200 Date: Wed, 31 Aug 2022 08:43:20 +0200 From: Johan Hovold To: Douglas Anderson Cc: Bjorn Andersson , Andrew Halaney , Mark Brown , Konrad Dybcio , Andy Gross , Johan Hovold , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/6] arm64: dts: qcom: sc8280xp-crd: Specify which LDO modes are allowed Message-ID: References: <20220829164952.2672848-1-dianders@chromium.org> <20220829094903.v2.3.Ie7d2c50d2b42ef2d364f3a0c8e300e5ce1875b79@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220829094903.v2.3.Ie7d2c50d2b42ef2d364f3a0c8e300e5ce1875b79@changeid> 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 On Mon, Aug 29, 2022 at 09:49:49AM -0700, Douglas Anderson wrote: > This board uses RPMH, specifies "regulator-allow-set-load" for LDOs, > but doesn't specify any modes with "regulator-allowed-modes". > > Prior to commit efb0cb50c427 ("regulator: qcom-rpmh: Implement > get_optimum_mode(), not set_load()") the above meant that we were able > to set either LPM or HPM mode. After that commit (and fixes [1]) we'll > be stuck at the initial mode. Discussion of this has resulted in the > decision that the old dts files were wrong and should be fixed to > fully restore old functionality. > > Let's re-enable the old functionality by fixing the dts. > > [1] https://lore.kernel.org/r/20220824142229.RFT.v2.2.I6f77860e5cd98bf5c67208fa9edda4a08847c304@changeid > > Fixes: ccd3517faf18 ("arm64: dts: qcom: sc8280xp: Add reference device") > Signed-off-by: Douglas Anderson > Reviewed-by: Andrew Halaney > Reviewed-by: Konrad Dybcio > --- > > Changes in v2: > - Rebased atop ("...: sc8280xp-crd: disallow regulator mode switches") Reviewed-by: Johan Hovold