From patchwork Wed Mar 23 19:47:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 64267 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp232631lbc; Wed, 23 Mar 2016 12:48:03 -0700 (PDT) X-Received: by 10.98.70.138 with SMTP id o10mr6794052pfi.123.1458762480771; Wed, 23 Mar 2016 12:48:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b74si6354001pfd.69.2016.03.23.12.48.00; Wed, 23 Mar 2016 12:48:00 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932578AbcCWTrj (ORCPT + 7 others); Wed, 23 Mar 2016 15:47:39 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:38189 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755919AbcCWTrg (ORCPT ); Wed, 23 Mar 2016 15:47:36 -0400 Received: by mail-wm0-f41.google.com with SMTP id l68so38097380wml.1 for ; Wed, 23 Mar 2016 12:47:36 -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=CFfxlkGRY2LHZPbLp+Zcz+c4VU0w+urIJpQ3xGBy9Qw=; b=GpUnSf1eyDpLO6yUuqawdw50c7YrWwMiigEghv1sMw1a7UkaR9vjgnYUnBkPhebJSR ukexaabH8ROs7G7Marjs1/DsKB453o5lRdJVNFFTx09Ua4xpq4/LCINSPfKCH3tQO6JD TwiVqijh2AIb+AKgPjHvjvS/auv5lac9+gR+o= 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=CFfxlkGRY2LHZPbLp+Zcz+c4VU0w+urIJpQ3xGBy9Qw=; b=FpGsS6hf4hmE+7rtcbUNFGZIy8yWlxdOHbaYc1QoLqytn28iFlVzi/wBg1JkX2d8ia 8lCKPrQKE3yNn7nmp38dxLPndTksFwttg96A35irsDHmnIDeAozI77a3ztKMbtArloKH ldF+/TjdzwhhvRpgE6nwJ6AqiZBeIQAtF3J6xcqI09KDzStnY70+XLyabH1+Q4xZ+CyP C9ENrRgRPmTY9Zkc6QG3eLqWEwd94Zrn6EBe3fNCTZP5rZgGuvd438QmJVSbPZapibHY mTLmIhA78wFZ4iMRL440pqmXpq9bugVh/r/LpBpYCCfGLv3bonA4Qq4Xv6VxO7qPzKh7 1kVw== X-Gm-Message-State: AD7BkJLZEjfWlPl3iXwvSpzJfd9eutd5da7ZqxrM3CgPb4zFjr8m5Kd08vrZ536Gkq+qCZux X-Received: by 10.28.53.4 with SMTP id c4mr6055272wma.34.1458762455660; Wed, 23 Mar 2016 12:47:35 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id ks5sm4056594wjb.13.2016.03.23.12.47.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 12:47:35 -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 Subject: [PATCH 05/12] ARM: dts: dragonboard-600c: add pmic regulator supplies Date: Wed, 23 Mar 2016 19:47:30 +0000 Message-Id: <1458762450-9538-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1458762366-9233-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 --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 55 ++++++++++++++++++++++ 1 file changed, 55 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-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts index e96aab6..0a0bcfe 100644 --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts @@ -9,7 +9,62 @@ 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_l1_l2_l12_l18-supply = <&pm8921_s4>; + vdd_l3_15_17-supply = <&vph>; + vdd_l4_14-supply = <&vph>; + vdd_l5_8_16-supply = <&vph>; + vdd_l6_7-supply = <&vph>; + vdd_l9_11-supply = <&vph>; + vdd_l10_22-supply = <&vph>; + vdd_l21_23_29-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 = ;