From patchwork Fri Apr 10 12:34:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47038 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vn0-f69.google.com (mail-vn0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E591621416 for ; Fri, 10 Apr 2015 12:36:50 +0000 (UTC) Received: by vnbg7 with SMTP id g7sf19118965vnb.2 for ; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Q3VmbnA9OMv9DI8OAiazGwrkLXk0bKJeNhGR1QcKdSE=; b=hP/xYdtVdDkxcuOODiY23e0SiXnwcFVH2BRVXOgy+JkdIfSup8yfltBtQ+d7Y7CnJc jR8WyjR/seF/A8+c0qQnyfSSJRL3/pC8wY4h9MD3B9w/b5zle3ESTMRz1DOlEfbeGSBv plMcudDplzO6p1+rOzk3/S+uRdSLMvCFE65FN5u+tqS5hEJueps3jurcBU+a/ixsLCCE uzh55VfyeFHEq7n/9sv9FjnRgbGTzk7e7peBDLx/1IzOOwZS4n6cUXgBN4GAne4S9lrF 60zeY0F5AbwMz+fWF8M4EDu0E4rDAWUJ4cxRxKJ6Sh9/e+aqrm2iA9v5EthvG63SeFSM rdPQ== X-Gm-Message-State: ALoCoQkxhgKlLadIQi9NUfYXvLj4f1okE+WOwDdqXgU++EMGuEgQwU9cu5G6U60gvhxbRHXOTe8n X-Received: by 10.52.127.8 with SMTP id nc8mr1566941vdb.1.1428669410666; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.139 with SMTP id h11ls1692449qgh.26.gmail; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) X-Received: by 10.55.22.40 with SMTP id g40mr2184755qkh.103.1428669410557; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com. [209.85.220.169]) by mx.google.com with ESMTPS id d38si1613005qkh.119.2015.04.10.05.36.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 05:36:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by qkhg7 with SMTP id g7so28277660qkh.2 for ; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) X-Received: by 10.55.21.93 with SMTP id f90mr2279071qkh.7.1428669410434; Fri, 10 Apr 2015 05:36:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.96.155.231 with SMTP id vz7csp985557qdb; Fri, 10 Apr 2015 05:36:49 -0700 (PDT) X-Received: by 10.68.94.129 with SMTP id dc1mr2381205pbb.8.1428669409483; Fri, 10 Apr 2015 05:36:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vi11si2798179pab.48.2015.04.10.05.36.48; Fri, 10 Apr 2015 05:36:49 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932963AbbDJMgr (ORCPT + 5 others); Fri, 10 Apr 2015 08:36:47 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:34690 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932843AbbDJMen (ORCPT ); Fri, 10 Apr 2015 08:34:43 -0400 Received: by wgso17 with SMTP id o17so16255279wgs.1 for ; Fri, 10 Apr 2015 05:34:42 -0700 (PDT) X-Received: by 10.180.75.73 with SMTP id a9mr4554727wiw.45.1428669282357; Fri, 10 Apr 2015 05:34:42 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-247-151.as13285.net. [78.145.247.151]) by mx.google.com with ESMTPSA id pv2sm2760588wjc.33.2015.04.10.05.34.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 05:34:41 -0700 (PDT) From: Srinivas Kandagatla To: galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: bjorn.andersson@sonymobile.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 07/12] ARM: dts: apq8064-cm-qs600: Add basic regulators. Date: Fri, 10 Apr 2015 13:34:38 +0100 Message-Id: <1428669278-11075-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds basic regulator support for USB and HDMI. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index 5d75666..142885d 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -14,6 +14,67 @@ }; }; + rpm@108000 { + regulators { + vin_lvs1_3_6-supply = <&pm8921_s4>; + vin_lvs2-supply = <&pm8921_s1>; + vin_lvs4_5_7-supply = <&pm8921_s4>; + + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; + 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>; + + + /* Buck SMPS */ + pm8921_s1: s1 { + regulator-always-on; + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + qcom,switch-mode-frequency = <3200000>; + bias-pull-down; + }; + + pm8921_s3: s3 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + qcom,switch-mode-frequency = <4800000>; + }; + + pm8921_s4: s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + qcom,switch-mode-frequency = <3200000>; + }; + + pm8921_s7: s7 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; + qcom,switch-mode-frequency = <3200000>; + }; + + pm8921_l3: l3 { + regulator-min-microvolt = <3050000>; + regulator-max-microvolt = <3300000>; + bias-pull-down; + }; + + pm8921_l4: l4 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1800000>; + bias-pull-down; + }; + + pm8921_l23: l23 { + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <1900000>; + bias-pull-down; + }; + }; + }; + gsbi@12440000 { status = "okay"; qcom,mode = ;