From patchwork Thu Feb 4 17:09:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 376305 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1467934jah; Thu, 4 Feb 2021 09:13:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqbAC89GbaJfjYyqRIeavC/mplMY2M19zDJNFotimdRekzQYAFlmW5HmRwHl6fAW35XjNs X-Received: by 2002:a17:907:210d:: with SMTP id qn13mr71978ejb.377.1612458838842; Thu, 04 Feb 2021 09:13:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612458838; cv=none; d=google.com; s=arc-20160816; b=i9aLPP4Z1jAyCYNAb+cKawA3VS4WTCUazjVVfKzhe0ppB7v/dtHu9qclXNCQPk0hMz ispcMAWtiDqiK/tmF5X71467n/B0oxiAun8vSSXOhHh/4SiI0ue7JXeF3sJLxqZ4+7B0 vruxM/RzoZBuQT281KktGjBtwNpRxlO9kobSk+bRv7SgzzLoiw9PI89gmYC/gXUVqqwJ PH23VrUR1OnDmEIKegsm9+e0obUL39dk5VoSU5FiPUtbNZUNM7B22uDpUPUA9huCZ/v0 ImMwKsYD4Ilj9wrmnZkilLFHWq/GP4iEPlvtMDJirDIF+efiCmj4+Xl2d1q7YOHL693y iOVQ== 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=J/XK+Vtz8qetwrz9/iL2VQYLAR1nw5uRzrcDeMBrUxs=; b=ipcJeveJpoRCbIleMxDxIDqR6cpMeA8DrdnpJM4RLRg+KvqyS036AIX2xqgkR+Ygkb KHdp2pT9nXcDTI3kcKrx2ppDuVetdB/enQhLDcWCmEg5+C4ml9MqTqjGjO7jQT7rkHcA PY2K1NcMAGPwajsoNE8AO7gFwLLPhDL4krHUwilHzWbExw+hRedBT5LnrebS3JXhg+/4 e1vqvmnRYxSnf0w3F4xPDBBV3xRNGM1ljgTzYdVTy8bXdTP3kbUqD8VG+DLUZXlQ6TK2 Udx1TViKFCVv1yU4QbP6VHcOSsnDNZPlBwLy9GLzFA4se5CQWk4FZmF4KjrD4b2GnAEN zdnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RFLVlEe9; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si3536231ejc.207.2021.02.04.09.13.57; Thu, 04 Feb 2021 09:13:58 -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=@kernel.org header.s=k20201202 header.b=RFLVlEe9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238314AbhBDRNR (ORCPT + 16 others); Thu, 4 Feb 2021 12:13:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:57128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238344AbhBDRMG (ORCPT ); Thu, 4 Feb 2021 12:12:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A71A164F76; Thu, 4 Feb 2021 17:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612458573; bh=moLH7O3aPLeWeYHvK8JnDz0bw/lDVlhdHDFhU17tFB8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RFLVlEe9qr5yIsioQY0+U/XfTDdYhYH5Y/PlSVSi/sM9124WY4jw1NejH6XhnrtQG e+krMAeIdhXCAO6WQh/+2HicZScaXCKvnpMqTcbfMJLmf2nonCQGHa9gEtRujfSVb2 7W1ghJ8DS8mOUw+8pd9eJgf8a92W7FwAccEcSPCK9KT9TWWEhAHZXB/+QrWfemGoqv gMat04vRp0uweR1pWYIhNnEOwbAFkg4iMTAetuIEFzo7ma66HahkNUqGACr+i5izOo vm8rpqcmNBGtxeJbo0ZW1W2MnG/dZNd4fzZ7lX85PxVc9XoTFuu396aQFgOncCszM7 dHBDJQw2ucyoA== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: dts: qcom: sm8350-mtp: add regulator names Date: Thu, 4 Feb 2021 22:39:07 +0530 Message-Id: <20210204170907.63545-7-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210204170907.63545-1-vkoul@kernel.org> References: <20210204170907.63545-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the property "regulator-names" to the regulators as given in schematics so that it is easier to understand the regulators being used Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8350-mtp.dts | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts index 2675afbbd75e..e544fe6b421f 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts @@ -57,57 +57,67 @@ pm8350-rpmh-regulators { vdd-l8-supply = <&vreg_s2c_0p8>; vreg_s10b_1p8: smps10 { + regulator-name = "vreg_s10b_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; vreg_s11b_0p95: smps11 { + regulator-name = "vreg_s11b_0p95"; regulator-min-microvolt = <752000>; regulator-max-microvolt = <1000000>; }; vreg_s12b_1p25: smps12 { + regulator-name = "vreg_s12b_1p25"; regulator-min-microvolt = <1224000>; regulator-max-microvolt = <1360000>; }; vreg_l1b_0p88: ldo1 { + regulator-name = "vreg_l1b_0p88"; regulator-min-microvolt = <912000>; regulator-max-microvolt = <920000>; regulator-initial-mode = ; }; vreg_l2b_3p07: ldo2 { + regulator-name = "vreg_l2b_3p07"; regulator-min-microvolt = <3072000>; regulator-max-microvolt = <3072000>; regulator-initial-mode = ; }; vreg_l3b_0p9: ldo3 { + regulator-name = "vreg_l3b_0p9"; regulator-min-microvolt = <904000>; regulator-max-microvolt = <904000>; regulator-initial-mode = ; }; vreg_l5b_0p88: ldo5 { + regulator-name = "vreg_l3b_0p9"; regulator-min-microvolt = <880000>; regulator-max-microvolt = <888000>; regulator-initial-mode = ; }; vreg_l6b_1p2: ldo6 { + regulator-name = "vreg_l6b_1p2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1208000>; regulator-initial-mode = ; }; vreg_l7b_2p96: ldo7 { + regulator-name = "vreg_l7b_2p96"; regulator-min-microvolt = <2400000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; }; vreg_l9b_1p2: ldo9 { + regulator-name = "vreg_l9b_1p2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; @@ -138,99 +148,116 @@ pm8350c-rpmh-regulators { vdd-bob-supply = <&vph_pwr>; vreg_s1c_1p86: smps1 { + regulator-name = "vreg_s1c_1p86"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1952000>; }; vreg_s2c_0p8: smps2 { + regulator-name = "vreg_s2c_0p8"; regulator-min-microvolt = <640000>; regulator-max-microvolt = <1000000>; }; vreg_s10c_1p05: smps10 { + regulator-name = "vreg_s10c_1p05"; regulator-min-microvolt = <1048000>; regulator-max-microvolt = <1128000>; }; vreg_bob: bob { + regulator-name = "vreg_bob"; regulator-min-microvolt = <3008000>; regulator-max-microvolt = <3960000>; regulator-initial-mode = ; }; vreg_l1c_1p8: ldo1 { + regulator-name = "vreg_l1c_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; }; vreg_l2c_1p8: ldo2 { + regulator-name = "vreg_l2c_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; }; vreg_l3c_3p0: ldo3 { + regulator-name = "vreg_l3c_3p0"; regulator-min-microvolt = <3008000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; }; vreg_l4c_uim1: ldo4 { + regulator-name = "vreg_l4c_uim1"; regulator-min-microvolt = <1704000>; regulator-max-microvolt = <3000000>; regulator-initial-mode = ; }; vreg_l5c_uim2: ldo5 { + regulator-name = "vreg_l5c_uim2"; regulator-min-microvolt = <1704000>; regulator-max-microvolt = <3000000>; regulator-initial-mode = ; }; vreg_l6c_1p8: ldo6 { + regulator-name = "vreg_l6c_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <2960000>; regulator-initial-mode = ; }; vreg_l7c_3p0: ldo7 { + regulator-name = "vreg_l7c_3p0"; regulator-min-microvolt = <3008000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; }; vreg_l8c_1p8: ldo8 { + regulator-name = "vreg_l8c_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; }; vreg_l9c_2p96: ldo9 { + regulator-name = "vreg_l9c_2p96"; regulator-min-microvolt = <2960000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; }; vreg_l10c_1p2: ldo10 { + regulator-name = "vreg_l10c_1p2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; }; vreg_l11c_2p96: ldo11 { + regulator-name = "vreg_l11c_2p96"; regulator-min-microvolt = <2400000>; regulator-max-microvolt = <3008000>; regulator-initial-mode = ; }; vreg_l12c_1p8: ldo12 { + regulator-name = "vreg_l12c_1p8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <2000000>; regulator-initial-mode = ; }; vreg_l13c_3p0: ldo13 { + regulator-name = "vreg_l13c_3p0"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-initial-mode = ;