From patchwork Mon Nov 5 15:45:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150198 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758889ljp; Mon, 5 Nov 2018 07:46:28 -0800 (PST) X-Google-Smtp-Source: AJdET5d4PszoN6y59UgYM/isdz7FMvDX52zeNKF5LOoil4GtQ/McW7sxin83X/Xa7tWV864v8yZu X-Received: by 2002:a63:ec4b:: with SMTP id r11mr19221783pgj.44.1541432788283; Mon, 05 Nov 2018 07:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432788; cv=none; d=google.com; s=arc-20160816; b=HyCIwQ2yoaCiCetyWPxUYsfzQ84SS+Dn/rRj4ilG2we8agT/BBCWaaEwTf9WvLcWZA dMaepUOBRDOVw6zdy21Q3xO02wW3yr8zH/gkU1MzWUabg89ujfAefMGYAxDIBhq/6vp5 m5hG0p2N6esMWD+ObR6mwHK11oXhCeJikPWYDsHvDUbiH875HwTerVRPdweeOpZbL9Au m+lg8ER68RF8hBsu0L0d4jEb7rJKzTHbIzVTwXcvVfdJZkeEj/1DjhTcMU4BSXfrQOBm +lyNN9ijww1WCXurB+d0Tz1C3ga4vvFmo7gSeR+WZ8A+rcpqhTGh+quIYtSw0aifgM7G 6Dgg== 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=o0xqWN5JrsP6FTbqVKfr6FBOu0n6qvR177DfUUCy3s4=; b=AN4/hARqluKlA8KXEZ5zoP5rPYiOq1kB1qBCYnnK3tRzxsAMG8VOsbbHvb5Odnwx3S M3z3UeFcfw3Ji7SfvmszDY8V7/kK16ckKQE8GEFoR0QjUFnxJC2584Nlzous/8ceIgpm P+4CgiCwWYyrTEhKVuCmKvP4juVFeva6S4NrG9e6gp57w/umKWLJ3ko8xfjEOna8F2m3 EhuT4w0cUKBrDrbCfFAe6iIe/mwAm1PfAYX5ndZi8C2xrD3Q0YFtKPctKmNPqBGRHMsw V3pADFH6TbYdi/zm2KnmqQrPWLDHRvBkOnYaIHsWVqtmGS8wDRwQCWJXJzCsD697sR7C aP+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xkPohIJd; 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 u8-v6si15118692plz.431.2018.11.05.07.46.27; Mon, 05 Nov 2018 07:46:28 -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=xkPohIJd; 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 S2387466AbeKFBGo (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:52136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730166AbeKFBGn (ORCPT ); Mon, 5 Nov 2018 20:06:43 -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 CE5392085B; Mon, 5 Nov 2018 15:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432784; bh=bSvGs35bRyI0qMJIbSRS31cxasQ/tMjpId6KyoazzYo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xkPohIJdlKWOdU7c3tszVKeIDrp7fHFbnSF4pQU4k7J6uFs3JWEX8wtgBJy4H61NG SYhHHC5uRdowfjulfTLw9uudXde2uC5/KY9Rc8EcRCT0x94IKa0gqtzGmygSNks2LM lFO+Dr/zl7QxgKCOqMlhNlA6ZTBSlE97Mw5cvzXs= 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 v2 04/17] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Mon, 5 Nov 2018 21:15:16 +0530 Message-Id: <20181105154529.7614-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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.dts | 97 +++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts index 74dc09ddb0d2..5bae7163a093 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts @@ -18,4 +18,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>; + }; + }; };