Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3346888rwe; Mon, 29 Aug 2022 09:53:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR76mstCJzHKtN4/Z9kEtIgHbiFA81BuGLquqqzVIJEwF2Rqj2Dzduzpr8gr6sA8hWc3F8Hb X-Received: by 2002:a17:907:868b:b0:741:8f6b:187c with SMTP id qa11-20020a170907868b00b007418f6b187cmr4204288ejc.188.1661792023671; Mon, 29 Aug 2022 09:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661792023; cv=none; d=google.com; s=arc-20160816; b=LSShmrrLJk8QwcYfxRfYPAzvM1EJDSVLcqfOBIJq6FdTCWMyjpDcL0iz0P3qJIqB3f q9wa/BXooyLEgz7NAPtu68Bg48aXB3MZFeqyMgZOxXKgjT3Q7QwnefIepNqATZfbL62M 0ZY+o8YHqxUsfcgrB7HTsoXEKgGYviD2bUkGylIaXDxdzBMMI938YA4Y561bLg+DfIi3 //6kyfz0QXibaf2xmuooERIUHKk//bmydq4kyb75uW+ln9tB+FMTsxVtsMab5/PdICcG +RYjEcUQ9Q/0HXC1fCMe4GOUV0ApCFZbiyX2tfrTYicYTfB86peibhtWFoIgRTKVqHvH KK6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BxQqHwLkPhmUcTslqYQ4b+VZsZjUArhc5KFTdI1uAuI=; b=bpTnMzXhB548ap7jSkLmvvDYQMANBCkRoyB5zpkuJYBTEOkxGi8seoAsHfI9EvGRRg Xpnh2XnwZWMpV+RjAAiLh9GROainyV/PJIK/vgyr08LIXN+YdKeuW1yn/fmB9I2viecR ajQ/m2NmLCOyFXjqykf1kSlbEsVjt0+tJRFnNbOy2fnoPVOMpnSbVP5Yw6YIJf7ukRW7 ofMBM84bpwbIAAfvuOE4XmSpgRXg1KgKPN4l1wpwQbvnl2S23VQwdpVeJ/ECAehxg0yi fdE7iPelLq3ElBgY1RN1n86rUYkWOtrzdGi48BX4U3RNcsewnU1oIAsgm/X27Fow9j8J xCnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ob+7ECVR; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kq22-20020a170906abd600b0072b4b8a0ce7si5702497ejb.946.2022.08.29.09.53.17; Mon, 29 Aug 2022 09:53:43 -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=@chromium.org header.s=google header.b=Ob+7ECVR; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbiH2Qu5 (ORCPT + 99 others); Mon, 29 Aug 2022 12:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbiH2QuZ (ORCPT ); Mon, 29 Aug 2022 12:50:25 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2445765540 for ; Mon, 29 Aug 2022 09:50:22 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id p18so8556744plr.8 for ; Mon, 29 Aug 2022 09:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=BxQqHwLkPhmUcTslqYQ4b+VZsZjUArhc5KFTdI1uAuI=; b=Ob+7ECVRm7EAiRAnh+Y3EbOAI8asNMEM3zSNO6pqaOBlJiPuCHlkrookGt6fH8yyOU X+b41ysdhe95Iz/43v9UgBXQ+tLzdmdr946ej23XF5IWlb0pA4q1QaMiTqUytYadv7nY Akv05QtST0xdSFbA5NoyPApWyz5QvdvqrjT5A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=BxQqHwLkPhmUcTslqYQ4b+VZsZjUArhc5KFTdI1uAuI=; b=EgHia+f5XNMWf57S/sHvF7cDlQyRLIkrRmma2OFjU5d8WkrfDLupHiJkyuvY1Lh8hM 39MPX6ZseIdRAKWJanZ4XyslySk613VlR5xPo2O3yg8ednx4hSZdxyXfSoOQaF+TZWsB LuWoRaqEL+dmgd+TxBewnTXtM2GGns//SxHtQP0kuk+VYgsfD9bN9IiY6Uh/6PcLJgK4 FrojtrfvzoPXw3NI1s0oRQsS3KDbXV56AWy/qTjNQKIXpv/zaPt0z/B+WxQrN4NpYJ2i cruLoAs5TkZES8YaP1oMVZ3R2N95eeJwweG6zZ6hFssjNW9uIRMqfQu5I+Zlc28e/r03 Sz/w== X-Gm-Message-State: ACgBeo3VSK85Ys5N6B+PdT5XvbpsH2f/Wup7bvdmxAKy8cAFcYXaRP4n bnsfS3CEvZPf4lG40aVXIP/HyA== X-Received: by 2002:a17:90a:b00f:b0:1f7:67c6:5df5 with SMTP id x15-20020a17090ab00f00b001f767c65df5mr18916536pjq.59.1661791821821; Mon, 29 Aug 2022 09:50:21 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:201:3a97:5017:7e33:8964]) by smtp.gmail.com with ESMTPSA id l1-20020a170902f68100b001729db603bcsm7864238plg.126.2022.08.29.09.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 09:50:21 -0700 (PDT) From: Douglas Anderson To: Bjorn Andersson Cc: Johan Hovold , Andrew Halaney , Mark Brown , Douglas Anderson , Konrad Dybcio , Andy Gross , AngeloGioacchino Del Regno , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] arm64: dts: qcom: sm8150-xperia-kumano: Specify which LDO modes are allowed Date: Mon, 29 Aug 2022 09:49:50 -0700 Message-Id: <20220829094903.v2.4.I51d60414a42ba9e3008e208d60a04c9ffc425fa7@changeid> X-Mailer: git-send-email 2.37.2.672.g94769d06f0-goog In-Reply-To: <20220829164952.2672848-1-dianders@chromium.org> References: <20220829164952.2672848-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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: d0a6ce59ea4e ("arm64: dts: qcom: sm8150: Add support for SONY Xperia 1 / 5 (Kumano platform)") Signed-off-by: Douglas Anderson Reviewed-by: Andrew Halaney Reviewed-by: Konrad Dybcio --- (no changes since v1) arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi index 014fe3a31548..fb6e5a140c9f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi @@ -348,6 +348,9 @@ vreg_l6c_2p9: ldo6 { regulator-max-microvolt = <2960000>; regulator-initial-mode = ; regulator-allow-set-load; + regulator-allowed-modes = + ; }; vreg_l7c_3p0: ldo7 { @@ -367,6 +370,9 @@ vreg_l9c_2p9: ldo9 { regulator-max-microvolt = <2960000>; regulator-initial-mode = ; regulator-allow-set-load; + regulator-allowed-modes = + ; }; vreg_l10c_3p3: ldo10 { -- 2.37.2.672.g94769d06f0-goog