From patchwork Tue Oct 30 10:10:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149717 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5248835ljp; Tue, 30 Oct 2018 03:11:45 -0700 (PDT) X-Google-Smtp-Source: AJdET5cBFFO0+DJTU1PP3PLAeNQMZAHsnGlBHMfMNevbg989Iosnk6vptQYrPq95MjlHxu8j+qnZ X-Received: by 2002:a62:204a:: with SMTP id g71-v6mr2270484pfg.28.1540894305186; Tue, 30 Oct 2018 03:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894305; cv=none; d=google.com; s=arc-20160816; b=t1Audm/XcPyjPUJ6m7y8v0rz27vbVL2xs1FVikuLtZh00eaoHO3VGYMM9kJaUD3puI cem+jsPK8rib4Gseu10xkWeUiiLpVZMHvanibp4V2vOjoc5cEvYe3xzXJUjcdhrv0LEM ZsMpYm//bclaPTQgoOvQxgPly23yJqYmiexUeq1GIpJKztRSJ0NSos3TFaxfL00oGb51 gwlo+3WUPz7xBmgttwDyOjlCFEdzvAluKLodKl0JQodJ1zFR6j95yCZ1HMIstr8PRLdE /vVg+LL+SB0aaL8ncbd1sO2j+xgxW/ZH9tDRAhnaKdf8JztJ4z26Zm8cuvGM0JNwj7nX KpJA== 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=n/2P5uxhwZNjovgnLaP+fHdgg39H5EkHnPR7C1og7KqAYGv/OL07Rm04Dl2Su8+gSN hhLd/TD6iXO48mtlcDUaQz5NkHqhuZ5jYd/RQ67Zpa78ebCM55RntJU9GJoKRQFWpTvZ MD2hv1LGfJXLeZSrVS2d5hanuJc1KzHBLXzVWfR41z+AOyiQK6C95ida4VCUMGbasKh3 PU62Wqe/qzfdeBGBbCea+WHPo6PTb1KFSrkjM+zQR2C6xoKHHz8EWkwt0FxyfkIsQ9UT 71OYIvnfQYTMtNizLb/eycxVkaaLX1ufhd1R90rbrx2F6/jjAMC5TE0UszlASMtQSv9C s2cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=E6UK35Ge; 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 f12-v6si7079116plo.246.2018.10.30.03.11.44; Tue, 30 Oct 2018 03:11:45 -0700 (PDT) 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=E6UK35Ge; 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 S1727520AbeJ3TEb (ORCPT + 32 others); Tue, 30 Oct 2018 15:04:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:42770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbeJ3TEa (ORCPT ); Tue, 30 Oct 2018 15:04:30 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 5CF5820827; Tue, 30 Oct 2018 10:11:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894301; bh=bSvGs35bRyI0qMJIbSRS31cxasQ/tMjpId6KyoazzYo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E6UK35GegZbT1n2fc7l5OakWGGdeDuHPAjvMNjQOfKAK+7qDkB91PYNgTvS2sMBbC RrasPz0CMqM27hKIx9VNSZO0UaxNLno13K9jZdR9j5x01JLnHNtigcMwWg1TKQXwdH GFVH3CUWQOFykMgYHyMJyhmGp82Qs/a7GALZR6nU= 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 04/17] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Tue, 30 Oct 2018 15:40:55 +0530 Message-Id: <20181030101108.11041-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-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>; + }; + }; };