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: 355578 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp12091252jai; Thu, 31 Dec 2020 04:26:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNsk4orJjm9MwEnJtPSqP0iIrrTOy+XACKdnR32m9IEbKO7tNP5X7DF1ed6bYiQBTJuBUA X-Received: by 2002:a17:907:1009:: with SMTP id ox9mr53223155ejb.37.1609417565177; Thu, 31 Dec 2020 04:26:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609417565; cv=none; d=google.com; s=arc-20160816; b=tEh8HEMObBzizvAh8l+lIprQOWbH0qtr2M5i7bQ22rlKOHhM4g/x4L2zkW3PiyKDp0 8BHn3h6VDST9oqeebk+WY1n0zTX6I05fjixYVbeUEDfPi7msMlYTMFPShHqjAOK1J5N/ XsGv7evocQlcpRPX+7Vm1EAsBA1MqXUsF1szCW7wESHY2PTfXSOERmiWd7gyfdDYH0PM 6J8fd2e7kND9cGYeE40UiTrEzzw4BdiTD7PYswbPwPFIeA09NptxUW7c0VjFkoQRioSz rPBgzVujXVlHQ5CYBowdQRPOmF6LrG3/1JszD4MCPymahrKJglU2MO/oDyH+1/gU6vpC eOJg== 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=ae+eotDOGUM6TKajZH+vbsOlioJYe6VPg6q5P3xKHJA=; b=zegWbvLs2ql+NHxOpbCUmBUBsrYXcJ1eJG3T20RMjm2K7LxDI8mQSMb4sLuJEiwyw5 kc1+Zu9u/MdDNIvr1D3o0fUGoFKfgNJNG7D/EjwI9l+/xmXedLMxpZIBAlOgQNdtUv7F KhuluVgXsIfUa0jJf8Lkmg6DpoXQf7uEPvUwglVcwtpdRHDdc1zRf3QdujyCf+1XR6eW sDz2AzBgrHQMayAr5qqW5rqApYd8bUq/6wxpZ2HfsOukiAYTujX8/yvqf6Dzaygjy6Rm YR9zbSbaf4LxIJ1fIl2v1gYgPCBxel9V5sviEnqTjA6pKOIlpGwK+oJzFbldm5BhtCba TQnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bz1s8pRN; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si24924477edq.449.2020.12.31.04.26.05; Thu, 31 Dec 2020 04:26:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bz1s8pRN; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbgLaMZ0 (ORCPT + 15 others); Thu, 31 Dec 2020 07:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbgLaMZZ (ORCPT ); Thu, 31 Dec 2020 07:25:25 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C54DC0617A6 for ; Thu, 31 Dec 2020 04:24:09 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id h205so43736512lfd.5 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=QL1wfxLrjXgnAATeeKYi0HWevZYC3iC+x/Pg9NipkVRiH1J+ZC9cJ26u4Oj9KiG7Ie zAwl4hIQuzBX38sgAtkUj6D62HesRvtzKjOZokqUd2Z4vNs5A/CQMJT9haXVASJf9s3E HWsa+aTZLCtpn2+S2dg5gZWOtLqLPRTEF/LdNyUoFFQmyKm0Hab9P1CZlSy9cBZK8PbG obLMiyY8gH12jgJmnYtF9/uiELPh1oQGkTQ3LlW9yK6yEA2ALJqZkNt8kzvpNqt3+D1L RdtRyLReWe+NIrh7a2v7r7skbh3AJkdwgz6xy784zTz2mVQFk4SDDlUKcWrmrHk73LV+ sayw== X-Gm-Message-State: AOAM533rZbkJRPEjhMQINHPG1C2qVqGKMmt/5K7zxKZ/LT8yi6nMsY6M cImCYVmZYIHFhvNDf1EghHzxnznZgd2o8A== 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: linux-arm-msm@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(-) -- 2.29.2 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>;