From patchwork Thu Nov 8 18:39:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150574 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184483ljp; Thu, 8 Nov 2018 10:41:18 -0800 (PST) X-Google-Smtp-Source: AJdET5fZxyMZ5Nbr7pbGmCcW/LiJ4Zs28HN73zCv3Aof0wyYigzI+IVmI2Nk15K7T8JOu3LI5onR X-Received: by 2002:a62:89d7:: with SMTP id n84-v6mr5728839pfk.255.1541702478081; Thu, 08 Nov 2018 10:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702478; cv=none; d=google.com; s=arc-20160816; b=nBIIy+iW7iCK/etm7k1/+h0ml2lxHzeODl0/qvPMC5y08KaUT0yYMlvu9znd+ImDqE XBEGoyQspxpt5AvHeE5nU1aiKBpRCcXIy4DyzI+6jcdZa2ByEdids4AyUycFqU0asLLe hameFbA7w/a2IDi0+JhkmEZJBP7aT0434lHj8MXfHWHlxRX3Pb1FTMfHUZzsIpC46NQz n/Rb+GX5x17g+XdAwaLjQ3ehuD3FIR4yRPimPkLx0pVR81EIOk6zTOHyZC7iD2zJvXkT XI5/63KjHVdp6AakdsGpWiNDX9HMOF+iM80hhLdkrNgJ/FIWcsbiUR9k6TSmDT/lbuzf LvLQ== 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=tz9m7THD3mppyMnTPoODsFh9lfW38cUBYQC/w87UD+30CmNKJhPOWIf9B6UV3P3rAN /aIQVrD7z320ebuBP7HbPTFYIDjOVTSEkBnGbF6h6frAYI2dACjlyXCGcR/aU1xxGi6M gfvuUUN0IprGmbFCKhP+De4xaAH8fVPMAMj6GvL+PRH0opHf9bC4RjxAF1VN5xJ+ECmG 4NKtXSDs//34bpfqe9YpUxMFXkQHXkXF/VGW2R1BrmJ5ZlDiq2UQO3D3mOfsD5P5BnVY 6NmxCvH1dsF/wZ34k31HcyC9rNOoRfhuKhUwu8FDAhbhl351XEZGv+UTGCL93CZltVpI ZZ7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PNSJhQkk; 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 2-v6si5455711pla.223.2018.11.08.10.41.17; Thu, 08 Nov 2018 10:41:18 -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=PNSJhQkk; 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 S1727818AbeKIESD (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:60002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESC (ORCPT ); Thu, 8 Nov 2018 23:18:02 -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 A637A20827; Thu, 8 Nov 2018 18:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702475; bh=BvWmTYwG/te/rEc4vfHZJKVLXzNq82zOpHsOhYLG51M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PNSJhQkkO5i6NIp+7/Tyb7SL7QjhhWD88/nBZt29JshsqWLWjC+BQS1U0ApyvtTex TE1Re/ThJWyaI9oRyzcLzDh9AQa+aVhqnbbNwANS+8JCFe6qmidhjl8iD+li1gXr1K j31FWT7Zs7KLQoHmPCAkIr6Hv6SGaPcD46FNAR18= 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 v4 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Fri, 9 Nov 2018 00:09:56 +0530 Message-Id: <20181108184009.18430-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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>; + }; + }; };