Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3891655ybg; Mon, 21 Oct 2019 00:00:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqw28UvlM1OBFwnVBb01mMSuEXGQiX29Dg2Zv9hOSU/3obGxDCEZBr4PNyz2y4Cd0Zil3fHb X-Received: by 2002:a50:fc86:: with SMTP id f6mr23427233edq.233.1571641244939; Mon, 21 Oct 2019 00:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571641244; cv=none; d=google.com; s=arc-20160816; b=rUxbdlZK/g20AMhC3QIZnAGtVdxIaF3IsrR8bEJXMbX0SohfPPTotPafMNttJ3qLQ/ NIMm6cliiBIvr+S/D56etOLkLrtsrL4s2Q6UHEobNtvhu0f9JB1VSaGdxPq5q/NWwV50 960lQD+/MNLuXXyOBxe4kSC8acqvWzMMDJsWsVzttorl0pYrBhxQvc4kOV3Zt5VWN06y DlNileMBLkE57YY0mfJZ0J2veD2y8rnAJoSjlG577utcsDt4O7J+spHEugxNqH38pI0Q 4CtjB9Yz2pOZg2C2FssmpHb9GBcnjUBCimXhbQb1TlPJQ11c/qyGM0jSe8+RBPI+WTt4 +lyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=2oR4C0UUfSp7jCZEs7UNT3p/DFqrgv2XwAuvKyVvOFg=; b=ZyVE46JmyATPlvFmUgQtK/iNt3xytABig3ajA0wqwW2bWyh6h1GTPvIG8j1mbzUDL2 6+0nC3fWVyMota8LNjZOFXwMZJxsZrsd89I5xCmk5EPzKsva3+Af6kyvlHEofn9wHuJa x5gwh2dAsUJiI5ZXfNmVwxe3A7qk1SifFpzlPVe98pf+xJIwTrgAiU0+6J/CbLFBv3Yo LHWCPqeYZnbUJjhBm8Ib+pemMoMdqwwqjr/4LHGZ1hxY1IzcvjHKbUgK6esPJ4w2P0Mu 5bpztfEvfzdLkOnuXtcXihgYya/HUtDj7SBJYmLkgtZZIyhwVANrs2jhFjfy1sP2vrpD kfUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=P1x2BSuX; dkim=pass header.i=@codeaurora.org header.s=default header.b=gURkVTPY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si9383589edc.279.2019.10.21.00.00.22; Mon, 21 Oct 2019 00:00:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=P1x2BSuX; dkim=pass header.i=@codeaurora.org header.s=default header.b=gURkVTPY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727503AbfJUG4h (ORCPT + 99 others); Mon, 21 Oct 2019 02:56:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35642 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727470AbfJUG4g (ORCPT ); Mon, 21 Oct 2019 02:56:36 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 82D6160A64; Mon, 21 Oct 2019 06:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571640994; bh=t1G/+Re7oiOIDS+KaDEq8SxKJWgtrc6Uell+mQRZWqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P1x2BSuXgnundoTNBtNlROi0cGunWrQMeKuDmWk0PbOgqFjnZaUKbG29ZnbgPDdQB YMzdVQUj+8IQHJDvVn7kH6hxFhf+Zdsqp51CoQGYsgIE0QTkOiybNCFsEkg0/cYpbL nKk5AN78XSbAVHkv+0jd0pgWWE3LxIOn2acdn6Nw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5B2A260A24; Mon, 21 Oct 2019 06:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571640993; bh=t1G/+Re7oiOIDS+KaDEq8SxKJWgtrc6Uell+mQRZWqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gURkVTPYmdYJXEeYW6GKWENJHfnM1P5WmI4lvG94EqPrlzzn+c89d7p0MGiTVBB9i 7Pw9eBtCnDhqbNDmaNmECxKDGqgBFdMaWnI56njCUykdYr07lVpX8haQbA0vGkJkRd imTx3MEeXNTQJcSv4nbVa+WLVxZhXtzD87AotlQQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5B2A260A24 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: agross@kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kiran Gunda , Rajendra Nayak Subject: [PATCH v2 09/13] arm64: dts: qcom: sc7180-idp: Add RPMh regulators Date: Mon, 21 Oct 2019 12:25:18 +0530 Message-Id: <20191021065522.24511-10-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191021065522.24511-1-rnayak@codeaurora.org> References: <20191021065522.24511-1-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kiran Gunda Add the rpmh regulators for the sc7180 idp platform. This platform consists of PMIC PM6150 and PM6150l Signed-off-by: Kiran Gunda Signed-off-by: Rajendra Nayak --- v2: Moved the contents of sc7180-regulators.dtsi into sc7180-idp.dts arch/arm64/boot/dts/qcom/sc7180-idp.dts | 207 ++++++++++++++++++++++++ 1 file changed, 207 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index 1ba389f1fea9..505fc50b9f73 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -7,6 +7,7 @@ /dts-v1/; +#include #include "sc7180.dtsi" #include "pm6150.dtsi" #include "pm6150l.dtsi" @@ -24,6 +25,212 @@ }; }; +&apps_rsc { + pm6150-rpmh-regulators { + compatible = "qcom,pm6150-rpmh-regulators"; + qcom,pmic-id = "a"; + + vreg_s1a_1p1: smps1 { + regulator-min-microvolt = <1128000>; + regulator-max-microvolt = <1128000>; + }; + + vreg_s4a_1p0: smps4 { + regulator-min-microvolt = <824000>; + regulator-max-microvolt = <1120000>; + }; + + vreg_s5a_2p0: smps5 { + regulator-min-microvolt = <1744000>; + regulator-max-microvolt = <2040000>; + }; + + vreg_l1a_1p2: ldo1 { + regulator-min-microvolt = <1178000>; + regulator-max-microvolt = <1256000>; + regulator-initial-mode = ; + }; + + vreg_l2a_1p0: ldo2 { + regulator-min-microvolt = <944000>; + regulator-max-microvolt = <1056000>; + regulator-initial-mode = ; + }; + + vreg_l3a_1p0: ldo3 { + regulator-min-microvolt = <968000>; + regulator-max-microvolt = <1064000>; + regulator-initial-mode = ; + }; + + vreg_l4a_0p8: ldo4 { + regulator-min-microvolt = <824000>; + regulator-max-microvolt = <928000>; + regulator-initial-mode = ; + }; + + vreg_l5a_2p7: ldo5 { + regulator-min-microvolt = <2496000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + }; + + vreg_l6a_0p6: ldo6 { + regulator-min-microvolt = <568000>; + regulator-max-microvolt = <648000>; + regulator-initial-mode = ; + }; + + vreg_l9a_0p6: ldo9 { + regulator-min-microvolt = <488000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l10a_1p8: ldo10 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1832000>; + regulator-initial-mode = ; + }; + + vreg_l11a_1p8: ldo11 { + regulator-min-microvolt = <1696000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + + vreg_l12a_1p8: ldo12 { + regulator-min-microvolt = <1696000>; + regulator-max-microvolt = <1952000>; + regulator-initial-mode = ; + }; + + vreg_l13a_1p8: ldo13 { + regulator-min-microvolt = <1696000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + + vreg_l14a_1p8: ldo14 { + regulator-min-microvolt = <1728000>; + regulator-max-microvolt = <1832000>; + regulator-initial-mode = ; + }; + + vreg_l15a_1p8: ldo15 { + regulator-min-microvolt = <1696000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + + vreg_l16a_2p7: ldo16 { + regulator-min-microvolt = <2496000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l17a_3p0: ldo17 { + regulator-min-microvolt = <2920000>; + regulator-max-microvolt = <3232000>; + regulator-initial-mode = ; + }; + + vreg_l18a_2p8: ldo18 { + regulator-min-microvolt = <2496000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l19a_2p9: ldo19 { + regulator-min-microvolt = <2696000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + }; + + pm6150l-rpmh-regulators { + compatible = "qcom,pm6150l-rpmh-regulators"; + qcom,pmic-id = "c"; + + vreg_s8c_1p3: smps8 { + regulator-min-microvolt = <1120000>; + regulator-max-microvolt = <1408000>; + }; + + vreg_l1c_1p8: ldo1 { + regulator-min-microvolt = <1616000>; + regulator-max-microvolt = <1984000>; + regulator-initial-mode = ; + }; + + vreg_l2c_1p3: ldo2 { + regulator-min-microvolt = <1168000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = ; + }; + + vreg_l3c_1p2: ldo3 { + regulator-min-microvolt = <1144000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = ; + }; + + vreg_l4c_1p8: ldo4 { + regulator-min-microvolt = <1648000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l5c_1p8: ldo5 { + regulator-min-microvolt = <1648000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l6c_2p9: ldo6 { + regulator-min-microvolt = <2696000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l7c_3p0: ldo7 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3312000>; + regulator-initial-mode = ; + }; + + vreg_l8c_1p8: ldo8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + + vreg_l9c_2p9: ldo9 { + regulator-min-microvolt = <2952000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l10c_3p3: ldo10 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3400000>; + regulator-initial-mode = ; + }; + + vreg_l11c_3p3: ldo11 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3400000>; + regulator-initial-mode = ; + }; + + vreg_bob: bob { + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3960000>; + regulator-initial-mode = ; + }; + }; +}; + &qupv3_id_0 { status = "okay"; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation