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: 8653741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 79D3B9F36E for ; Wed, 23 Mar 2016 19:51:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95E39203ED for ; Wed, 23 Mar 2016 19:51:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C3FA0203E5 for ; Wed, 23 Mar 2016 19:51:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aiomQ-0003qf-Kc; Wed, 23 Mar 2016 19:49:22 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aioky-0002ny-Jj for linux-arm-kernel@lists.infradead.org; Wed, 23 Mar 2016 19:47:55 +0000 Received: by mail-wm0-x22f.google.com with SMTP id r129so150384693wmr.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=ae2u1QSyTHQh3B/mzV5PnHjwmSa+aBsTV2CnOidvXXS6Y7W4VsKuocC5Ce74ndLDk5 zOQRMCNeZSH4a4s1zaDFJiI0H/xc4vgVMF2aDuWnJxmVcKTeNJieSN04mxzv4jDOJOu7 sx+486z4JbhfXRdWsNdpQGoOh+HDOuGQx58qeA7G4OXa5Wqw4dqUmT1ZASm0uFYxzY4z Kq60BLUaJguQwcpgeWz/8WFjbbzONgBTM25WjjaGTysLqi0ORCtlo1JJa6jh7Or0qxah jSTljDxSE+oNxVDW3oybPZ9WTdK1mGicBuVTiGPWF1CtEsKR52mYUzi0XARb04fhmcj6 jq4Q== X-Gm-Message-State: AD7BkJKKhJ4dCWarDlv/aAD0axrNj9KYBNpcsSALS0+bSNy66wgMnmhBqXwD7n3dlmAm2LyM 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160323_124753_040350_1915C842 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) 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 = ;