From patchwork Thu Nov 8 17:50:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150545 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131347ljp; Thu, 8 Nov 2018 09:52:04 -0800 (PST) X-Google-Smtp-Source: AJdET5c6KgvTcuFcPUGKUDodwfq0hMapKj1lZIrAcDIumeLjGvrkgxBDP7XbyzVS0tf7f0G/hZDt X-Received: by 2002:a62:4105:: with SMTP id o5-v6mr2197491pfa.85.1541699524465; Thu, 08 Nov 2018 09:52:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699524; cv=none; d=google.com; s=arc-20160816; b=Z2rq0sqhI6qeMET5XB2k7RrLevUNlFeKjZXwvFU9YTP1TSneZuikEVAT8AlMN/OW2A NxRYDdeXzCSEBC4Rh1DBwhKY5WrFRQ9dquJJViGU+C3BGIk2iBxKKH7jph0OQ0x7jD70 dyU6kDfDLlZLPDUzinEMqSlTo/X7q51axTGNy6hHV98G1r41edl2M2rQxzRPIYzQEbEX U52kiBpna2fvFBcyveuZPCgBh/7U/8myD2XxymlNtDtH1o9+kXlfvADXkdOCvsgZI61N YeG/EUzndhscjscWsJ2yipDSEckgBOaeqbwm+e1X1FArTPld7YXkBbKH2Hy4Yqg2XudT 4CwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=jFVwWSiN+Gz7pmIf7JEdbSuzzSUzzIpkB35vbZb2ee0=; b=EJ63AqRw+WQQXywgxth4QoR6a/sn8CuU5S6fMIEtGfuyzMS7GYwb0pAymeg94fU766 9ZumhHCx/Gwelw7tiXXDwGpLlUX5VS0l/iTjxZB4brO8JQ0DBF5BBdL5rQcZZiYdrnts yUQCjw9NW6jSzdCGTIUh+urajph/qXyZh6o+dM2p5FBKRerCGkT4kLTfCg+rnGwKqTrg 4iBA/d78G8NxH1CbZW/XDMz7HXIVI/AuL8uV7uG/9NIhoViyUfkC/JYb/pIGmSE1hXn3 QR5nDrxTEQ5xdwlYT7BjJd9G52swj6Qg2bQ0BvR86oTyCe/6ifHr1hm30v3vHOO1ykQW GB/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XfFL32Wy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba2-v6si4794107plb.88.2018.11.08.09.52.03; Thu, 08 Nov 2018 09:52:04 -0800 (PST) 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=@kernel.org header.s=default header.b=XfFL32Wy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727474AbeKID2i (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:40466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeKID2h (ORCPT ); Thu, 8 Nov 2018 22:28:37 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6267D20827; Thu, 8 Nov 2018 17:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699521; bh=BvWmTYwG/te/rEc4vfHZJKVLXzNq82zOpHsOhYLG51M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XfFL32WyO60stmztJXU+cdxnoPztkMMQDEcAPF1NLGrXYhAgOpjn1bKTF3kA6HRZI rU9pLdKvPmVHjiiPZDiACH2j3ki99kM1WBw9Ak1QnmNy5bxR18wfUFcY66w1nYK+yo 4Rma++ZfI6n+b+7TuiX2Dk4hJeKNnRtwbyHPpX5k= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v3 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Thu, 8 Nov 2018 23:20:36 +0530 Message-Id: <20181108175049.7090-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson Add the RPM regulators found in PMS405 which is used in qcs404-evb Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 97 ++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 91ecbdf0ecda..fc83e935aaa1 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -11,4 +11,101 @@ chosen { stdout-path = "serial0"; }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-always-on; + regulator-boot-on; + }; +}; + +&rpm_requests { + pms405-regulators { + compatible = "qcom,rpm-pms405-regulators"; + + vdd_s1-supply = <&vph_pwr>; + vdd_s2-supply = <&vph_pwr>; + vdd_s3-supply = <&vph_pwr>; + vdd_s4-supply = <&vph_pwr>; + vdd_s5-supply = <&vph_pwr>; + vdd_l1_l2-supply = <&vreg_s5_1p35>; + vdd_l3_l8-supply = <&vreg_s5_1p35>; + vdd_l4-supply = <&vreg_s5_1p35>; + vdd_l5_l6-supply = <&vreg_s4_1p8>; + vdd_l7-supply = <&vph_pwr>; + vdd_l9-supply = <&vreg_s5_1p35>; + vdd_l10_l11_l12_l13-supply = <&vph_pwr>; + + vreg_s4_1p8: s4 { + regulator-min-microvolt = <1728000>; + regulator-max-microvolt = <1920000>; + }; + + vreg_s5_1p35: s5 { + regulator-min-microvolt = <>; + regulator-max-microvolt = <>; + }; + + vreg_l1_1p3: l1 { + regulator-min-microvolt = <1240000>; + regulator-max-microvolt = <1352000>; + }; + + vreg_l2_1p275: l2 { + regulator-min-microvolt = <1048000>; + regulator-max-microvolt = <1280000>; + }; + + vreg_l3_1p05: l3 { + regulator-min-microvolt = <976000>; + regulator-max-microvolt = <1160000>; + }; + + vreg_l4_1p2: l4 { + regulator-min-microvolt = <1144000>; + regulator-max-microvolt = <1256000>; + }; + + vreg_l5_1p8: l5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vreg_l6_1p8: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vreg_l7_1p8: l7 { + regulator-min-microvolt = <1616000>; + regulator-max-microvolt = <3000000>; + }; + + vreg_l8_1p2: l8 { + regulator-min-microvolt = <1136000>; + regulator-max-microvolt = <1352000>; + }; + + vreg_l10_3p3: l10 { + regulator-min-microvolt = <2936000>; + regulator-max-microvolt = <3088000>; + }; + + vreg_l11_sdc2: l11 { + regulator-min-microvolt = <2696000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l12_3p3: l12 { + regulator-min-microvolt = <2968000>; + regulator-max-microvolt = <3300000>; + }; + + vreg_l13_3p3: l13 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + }; + }; };