From patchwork Fri Jun 2 16:12:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 13265620 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 074DFC7EE2A for ; Fri, 2 Jun 2023 16:14:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236776AbjFBQOP (ORCPT ); Fri, 2 Jun 2023 12:14:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236770AbjFBQOK (ORCPT ); Fri, 2 Jun 2023 12:14:10 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58500E52 for ; Fri, 2 Jun 2023 09:13:51 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-652dd220d67so1043664b3a.3 for ; Fri, 02 Jun 2023 09:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685722373; x=1688314373; h=content-transfer-encoding:author:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=xhmHRyToIEmAAHnN/IwEZChyqNOsrqiKFOCxgESTvfk=; b=QNqMgXaW84FsS8Ck/A01cCxyIWV84qC3tILHwN+hr/GzQjLA0wd4t3wXIVaxYnnxel QsT4pQmmRs/82EGyBEjvl94cgJTi3sOXjQB2iLGWt1WQs1TBs9j4LwGPQXzSjhslTuvP XQro5oj1YkzyXdWiiMjhuiDZXpvOAW/kQZZQMF40e/RV3z0hfv5SviuOyehzWw1v9ukb 7UhpStmtLpjLFSg0Qm8wyYbYAhRqsipubfh6crqw4nMyRS4VGrnugWgxzJJM7EvaWFm0 x2GSwpX8E/GVTQSbsWMMeE8g5CnvJ8IwbvzumguJQMI7Ut2qSuoWkWa27rtR5myWANlB fWCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685722373; x=1688314373; h=content-transfer-encoding:author:mime-version:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xhmHRyToIEmAAHnN/IwEZChyqNOsrqiKFOCxgESTvfk=; b=cPAoAIkkTXFDYloTGCuD4o8VjPWO8AO7EpguYfz8b3X4KONq+aYRmJ5xOL7tYIJaih NPwNTeeRX2ip59CSgWrtVL4njKnEWHk39Cl+I7V7W/2Fn8P/w9N9Ss9HjWrMa4zp3laA 6TbmemA/MxdLPDLnp4rk+UQyjCo1iofFng/3k/Q4OH8KVj5Ceno62503AjpVoz8W+765 skebIHYDUNi9s4qXe1+wLfWkAIUsRARofCUYILfhzWbMLwglBXcWsrtu6UJIdeAjgfWP wCUwOU6NSgi94OsllZhh1wKZXtPPwisWfj70hTj0I1T1SjQ/n5lLQ3RH7J0+wVcl1Y7D JQTA== X-Gm-Message-State: AC+VfDzkAgAvLro2oYaas+wytYfKgYGM66lIn05WYoyPfQPZnzu+/+ba QTq54LZeKYpR8xENQo6pIja2kw== X-Google-Smtp-Source: ACHHUZ6oiEWSgd6EGNqsh+9/KWnn2XOtzx0RThiCm670UWl9NCNn/53nT/5blXc9/ZCXPcNFLV+mLg== X-Received: by 2002:a05:6a00:15c7:b0:646:6cc3:4a52 with SMTP id o7-20020a056a0015c700b006466cc34a52mr16570169pfu.3.1685722373382; Fri, 02 Jun 2023 09:12:53 -0700 (PDT) Received: from localhost.localdomain ([49.207.50.231]) by smtp.gmail.com with ESMTPSA id 9-20020aa79149000000b00652a72b89d1sm1197014pfi.170.2023.06.02.09.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 09:12:52 -0700 (PDT) From: Amit Pundir To: Mark Brown , Doug Anderson , Bjorn Andersson , Andy Gross , Rob Herring , Konrad Dybcio , Krzysztof Kozlowski , Caleb Connolly , Conor Dooley Cc: regressions , linux-arm-msm , dt , lkml Subject: [PATCH] arm64: dts: qcom: sdm845-db845c: Move LVS regulator nodes up Date: Fri, 2 Jun 2023 21:42:46 +0530 Message-Id: <20230602161246.1855448-1-amit.pundir@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Author: Amit Pundir Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Move lvs1 and lvs2 regulator nodes up in the rpmh-regulators list to workaround a boot regression uncovered by the upstream commit ad44ac082fdf ("regulator: qcom-rpmh: Revert "regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS""). Without this fix DB845c fail to boot at times because one of the lvs1 or lvs2 regulators fail to turn ON in time. Link: https://lore.kernel.org/all/CAMi1Hd1avQDcDQf137m2auz2znov4XL8YGrLZsw5edb-NtRJRw@mail.gmail.com/ Signed-off-by: Amit Pundir --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index e14fe9bbb386..df2fde9063dc 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -301,6 +301,18 @@ regulators-0 { vdd-l26-supply = <&vreg_s3a_1p35>; vin-lvs-1-2-supply = <&vreg_s4a_1p8>; + vreg_lvs1a_1p8: lvs1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vreg_lvs2a_1p8: lvs2 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + vreg_s3a_1p35: smps3 { regulator-min-microvolt = <1352000>; regulator-max-microvolt = <1352000>; @@ -381,18 +393,6 @@ vreg_l26a_1p2: ldo26 { regulator-max-microvolt = <1200000>; regulator-initial-mode = ; }; - - vreg_lvs1a_1p8: lvs1 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vreg_lvs2a_1p8: lvs2 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; }; regulators-1 {