Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3315898pxf; Mon, 15 Mar 2021 07:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkOxni62X3TpQXIfrxAEsfK/Mto8O8Xqb9Hjfoq67krPGqX9n13J7/3dZ6eD1hbg75re0x X-Received: by 2002:a17:906:32d1:: with SMTP id k17mr23683239ejk.94.1615816892440; Mon, 15 Mar 2021 07:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615816892; cv=none; d=google.com; s=arc-20160816; b=vspUUxTnmhNSDENBNOy8W+Hqq6mkVJOF69hVHTa4SuWkWH2XGEBBfA5QoOUSBBnJ9A gDhoB7jzFOKB1Ofe8QzfS9yPajrpxzHD3UqTnpTvyXvLL/Euf4IL/rTVdEYO2WkmiQlS HKVK/EsR1O358oL9dugcCanTgqecb9wsrDRK/1UTaSXw1P8o/wYMX9QPTL91CymW3b0b g0ow0oLu5ozA/muBv8koGYDNgeJIIzx03yL21t4X4T65fPcNZq1yijL/uDcoBV7fIbkl OQft6l8Wz5W8+z2NfJG/nJMExKwk0qC3JUQ6Jbcjvs78bCTCyh2nUljjehEF2R/9VO/b DPaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=SRFdCHfF+/guM+ce27D82z6/t2+9hk8XceBAiZ/scZI=; b=Vb6mI87ATRv2aB2shtfATqT23Hm+sna9tmuD8ocBn1zY9BnxX3Bjmm1vj46M4nvS5F 2vFr+jLXY39MRFFpD1enCajQpDFQLsAuhv4ZYKQyeQVER7BOEXLlnUUwwFi6ce1n2s+V MYTvLECzwG8tQlwnROxseMxvTxZyv4V7FTvJ7oBdODXgFtb3InJTFqx9vLpZK7TjfLF7 xTQkr1zjBraU3dyi1HcbVw2Q4s26s/MPKGzZhxKXMWrMIeSwkV7PQ5EugjwlcaazYSJ0 0JIFTksb5kBJpB2u03PA+OWQCXhvTqDiOzGrtkckyDDfK+Mitx79dma1FFr09sc3yo+B jX6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si11543057ejx.570.2021.03.15.07.01.09; Mon, 15 Mar 2021 07:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232959AbhCOOAW (ORCPT + 99 others); Mon, 15 Mar 2021 10:00:22 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:30821 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbhCONzN (ORCPT ); Mon, 15 Mar 2021 09:55:13 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 15 Mar 2021 06:55:12 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 15 Mar 2021 06:55:11 -0700 X-QCInternal: smtphost Received: from c-skakit-linux.ap.qualcomm.com (HELO c-skakit-linux.qualcomm.com) ([10.242.51.242]) by ironmsg01-blr.qualcomm.com with ESMTP; 15 Mar 2021 19:24:34 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id 478D116AC; Mon, 15 Mar 2021 19:24:33 +0530 (IST) From: satya priya To: Andy Gross , Bjorn Andersson Cc: Liam Girdwood , Mark Brown , Rob Herring , mka@chromium.org, rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org, David Collins , satya priya Subject: [PATCH V2 1/5] regulator: qcom-rpmh: Add pmic5_ftsmps520 buck Date: Mon, 15 Mar 2021 19:24:10 +0530 Message-Id: <1615816454-1733-2-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615816454-1733-1-git-send-email-skakit@codeaurora.org> References: <1615816454-1733-1-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pmic5_ftsmps520 buck as this is required for PM7325 and PMR735A PMICs. Signed-off-by: satya priya --- Changes in V2: - No change. drivers/regulator/qcom-rpmh-regulator.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 79a554f..9471890 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -723,6 +723,15 @@ static const struct rpmh_vreg_hw_data pmic5_ftsmps510 = { .of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode, }; +static const struct rpmh_vreg_hw_data pmic5_ftsmps520 = { + .regulator_type = VRM, + .ops = &rpmh_regulator_vrm_ops, + .voltage_range = REGULATOR_LINEAR_RANGE(300000, 0, 263, 4000), + .n_voltages = 264, + .pmic_mode_map = pmic_mode_map_pmic5_smps, + .of_map_mode = rpmh_regulator_pmic4_smps_of_map_mode, +}; + static const struct rpmh_vreg_hw_data pmic5_hfsmps515 = { .regulator_type = VRM, .ops = &rpmh_regulator_vrm_ops, -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation