From patchwork Thu Dec 31 12:23:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 355841 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84725C433E0 for ; Thu, 31 Dec 2020 12:25:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54C01223DB for ; Thu, 31 Dec 2020 12:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726681AbgLaMZ0 (ORCPT ); Thu, 31 Dec 2020 07:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbgLaMZZ (ORCPT ); Thu, 31 Dec 2020 07:25:25 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCDFC0617A7 for ; Thu, 31 Dec 2020 04:24:09 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id x20so43711583lfe.12 for ; Thu, 31 Dec 2020 04:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ae+eotDOGUM6TKajZH+vbsOlioJYe6VPg6q5P3xKHJA=; b=Bz1s8pRNAqjTEcnosb6WR0Qt4kZFkzotm+XUWaNNxpkZUMUaEZSUqFWK8Pglm1vlrn IO2cZLdPzluiUIibr/2+wudvQdGDplf+AzNbN6syubqQlgQO0DFjKYs1CgOO4TMBBDhi fPBfD7nXYcyYX/nuu6SiqZihSNSfxnpRq/jJJcLNasmEC8UFtdn2jCD7yty7UkJnShsV DVOPo2k1j8EG2maP19Z1ODZAu4Bgjnz9D4D4l5XJm1C8nzFTIf5oXlKxsdUhsTT+Kqev 8u7MnExvxcJlidB01dRTbA6x+VBWGrfVTqclRRbnOsWSdSOst6wRWTJbPO1Z5dGS8FuC EZuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ae+eotDOGUM6TKajZH+vbsOlioJYe6VPg6q5P3xKHJA=; b=bHUDNAxuTE2aynbaoclKGiqb90n56tBmejfNncuaVheqWE4IvjLf19hTtCteLDak90 1QdZjnJDDr/2gn/jb1DaxXPMykrj8XZ3BX3+6CDl1+nT10qhSA4lpZB65Sdjx1EFb/3u zYclwThcd8iZg+eBJ8Cvkf9GgWh/RJlz3KhEWOBa7X+wD4upythHyZlGv+ElwurZYxRn DMMbgeJTlvdTJvYQxGsWnTqkjtRvGdrdUYH7sLdwjcQ0Cm2qchFhw4x6eRU/kqv7E9pW X3zD17eZDquPOTQxP0niVK5iikRBzCaPiEoV6DiHbPB8WYWw3OFt2D2rTYyU9t9AR2Z3 YiIQ== X-Gm-Message-State: AOAM533pc84oDDLJuMXZwcl2sJaqNmKfxpR0sRyeeaSPvJRk7u/O7nz1 0pNEt7c04kR1CU4sKOUZH785kw== X-Google-Smtp-Source: ABdhPJx7Se/0vCxP9CeAwpFZ9PjPE48wfYldMnSGcYFD5AWua2+R3SlTLFwwkQkbgE3Et1WMURVf0Q== X-Received: by 2002:a2e:a58b:: with SMTP id m11mr27105451ljp.329.1609417447810; Thu, 31 Dec 2020 04:24:07 -0800 (PST) Received: from eriador.lumag.spb.ru ([94.25.228.115]) by smtp.gmail.com with ESMTPSA id n10sm428569lji.99.2020.12.31.04.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 04:24:07 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown Cc: Vinod Koul , linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators Date: Thu, 31 Dec 2020 15:23:48 +0300 Message-Id: <20201231122348.637917-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201231122348.637917-1-dmitry.baryshkov@linaro.org> References: <20201231122348.637917-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix pm8009 compatibility string to reference pm8009 revision specific to sm8250 platform. Also add S2 regulator to be used for qca639x. Signed-off-by: Dmitry Baryshkov Fixes: b1d2674e6121 ("arm64: dts: qcom: Add basic devicetree support for QRB5165 RB5") --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index cbced45d7f51..5c1cc836920f 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -140,7 +140,7 @@ qca639x: qca639x { &apps_rsc { pm8009-rpmh-regulators { - compatible = "qcom,pm8009-rpmh-regulators"; + compatible = "qcom,pm8009-1-rpmh-regulators"; qcom,pmic-id = "f"; vdd-s1-supply = <&vph_pwr>; @@ -149,6 +149,13 @@ pm8009-rpmh-regulators { vdd-l5-l6-supply = <&vreg_bob>; vdd-l7-supply = <&vreg_s4a_1p8>; + vreg_s2f_0p95: smps2 { + regulator-name = "vreg_s2f_0p95"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <952000>; + regulator-initial-mode = ; + }; + vreg_l1f_1p1: ldo1 { regulator-name = "vreg_l1f_1p1"; regulator-min-microvolt = <1104000>;