From patchwork Tue Apr 12 09:33:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 65607 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1814930qge; Tue, 12 Apr 2016 02:36:35 -0700 (PDT) X-Received: by 10.66.132.37 with SMTP id or5mr3226302pab.144.1460453795559; Tue, 12 Apr 2016 02:36:35 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk7si9340378pab.204.2016.04.12.02.36.35; Tue, 12 Apr 2016 02:36:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756267AbcDLJg2 (ORCPT + 7 others); Tue, 12 Apr 2016 05:36:28 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:34648 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756597AbcDLJeu (ORCPT ); Tue, 12 Apr 2016 05:34:50 -0400 Received: by mail-wm0-f52.google.com with SMTP id l6so179828859wml.1 for ; Tue, 12 Apr 2016 02:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vdtMc0bkGhVCTb97urxUvV/IC4hJYTmomGnk7GLD7go=; b=ZjM7DwAvYCXGBCicAkr1HJCflyoBMKvETx1PK0TOe5S9wgeW3a4D82nvCF+lsdtpLc cW0Hslfwufn93Ll6O/d9bJFVCdYsEvjAZ3P8a03BTSPKFKE5qupngvzUBVMfjo9Cd5Nk nJk/DpIjD6R02eGlv1GfnI5pIbyLopqNOUrqc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vdtMc0bkGhVCTb97urxUvV/IC4hJYTmomGnk7GLD7go=; b=d7amNZWxwnc8IyQyMytM9PlyXvT2XtIXQv4f9S/V0KfiWhXnVVo8Itp2RggpT/M37W ipkjPwVXz3Bmh2PUTM2/jsbYnmzVfbf5HwWGf/7WdLpId2jvXxveJf9vNe4S7uMvTGsl iPiSQzkwQdmZzEHMKI75BBzJ3mPtiUXj2U5xJXZXI7ei0OOWbJQL87wtMjAwURhdDpLo XrPb3PI2gODkWylEldK2mxSDMxMy+1Xhnt4zUH0sM4fJ4bIa78W45b6tOHwwEqK4cqRg dRpiFIRwNhxfid70tKweOp/EkeJO9Vgz0pIZe3FzpIgfJ3B1Pt/Lp5T6T73+Io1bZdmy GpvQ== X-Gm-Message-State: AOPr4FUYIK3xBgpHKRJqTK1TrVOYKi9HBzU5un6lR0ypKxoUVDyd2g1yuY+lX3jYe019guBh X-Received: by 10.28.230.69 with SMTP id d66mr3100716wmh.54.1460453684144; Tue, 12 Apr 2016 02:34:44 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id gt7sm32431907wjc.1.2016.04.12.02.34.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 02:34:43 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [PATCH v2 05/13] ARM: dts: db600c: add pmic regulator supplies Date: Tue, 12 Apr 2016 10:33:54 +0100 Message-Id: <1460453642-5809-6-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460453642-5809-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1460453642-5809-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds pmic regulator supplies connected on the board. Rest of the invidual regulators would be added as and when required by the devices. Signed-off-by: Srinivas Kandagatla Acked-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | 62 +++++++++++++++++++++++++ 1 file changed, 62 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts index 57d4500..6695b00 100644 --- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts @@ -9,7 +9,69 @@ serial1 = &gsbi1_serial; }; + regulators { + compatible = "simple-bus"; + vph: regulator-fixed@1 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <4500000>; + regulator-max-microvolt = <4500000>; + regulator-name = "VPH"; + regulator-type = "voltage"; + regulator-boot-on; + }; + }; + soc { + rpm@108000 { + regulators { + vdd_s1-supply = <&vph>; + vdd_s2-supply = <&vph>; + vdd_s3-supply = <&vph>; + vdd_s4-supply = <&vph>; + vdd_s5-supply = <&vph>; + vdd_s6-supply = <&vph>; + vdd_s7-supply = <&vph>; + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; + vdd_l3_l15_l17-supply = <&vph>; + vdd_l4_l14-supply = <&vph>; + vdd_l5_l8_l16-supply = <&vph>; + vdd_l6_l7-supply = <&vph>; + vdd_l9_l11-supply = <&vph>; + vdd_l10_l22-supply = <&vph>; + vdd_l21_l23_l29-supply = <&vph>; + vdd_l24-supply = <&pm8921_s1>; + vdd_l25-supply = <&pm8921_s1>; + vdd_l26-supply = <&pm8921_s7>; + vdd_l27-supply = <&pm8921_s7>; + vdd_l28-supply = <&pm8921_s7>; + vin_lvs1_3_6-supply = <&pm8921_s4>; + vin_lvs2-supply = <&pm8921_s1>; + vin_lvs4_5_7-supply = <&pm8921_s4>; + + s1 { + regulator-always-on; + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + qcom,switch-mode-frequency = <3200000>; + bias-pull-down; + }; + + s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + qcom,switch-mode-frequency = <3200000>; + bias-pull-down; + regulator-always-on; + }; + + s7 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; + qcom,switch-mode-frequency = <3200000>; + }; + }; + }; + gsbi@12440000 { status = "okay"; qcom,mode = ;