From patchwork Fri Apr 10 12:34:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47026 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B34B321416 for ; Fri, 10 Apr 2015 12:34:22 +0000 (UTC) Received: by igchq3 with SMTP id hq3sf38071669igc.1 for ; Fri, 10 Apr 2015 05:34:22 -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=GvqWhPjQrX3MYwou9rCxUseR8IWpE8aYzDwOF6S+Th0=; b=E2QT41GEaAbYUNL6pjTZpuAF9NStJc8feHxOO1Io3tP6+QVt6v/zgme2uC/dyAxLh+ Nn7+Ffs6w7UBZP9OsejfWT5c1LgvYl49/znOXyad82RpB38jx/BTt+NfdXDdy0rb/BvH 7wlyFQerCbIdAtW8ffa289DS2Im1EeDoShvouh9xCR7RAuYnDCeQo98YHpVXkHuo+2XE CSJ2inAvLO31NeXw/HlU45ld34V2pASvLDOpfmtD7lxQB7SNTVbZFenHX7+SKYPQMWVT ulD1Hi6oGTRy4hWbqZZVss4bjKSXtu/tKUYFHfwenEkuVhEi62GcrRyShYpqvPpe93pJ 4Tfg== X-Gm-Message-State: ALoCoQlwPGvWQLw/VEKikf90JopfLMTJlhTH9HHJ2vOVH13nYoPeAmePeVmP3kLXE2dhm34GaSK8 X-Received: by 10.43.154.71 with SMTP id ld7mr3203398icc.30.1428669262363; Fri, 10 Apr 2015 05:34:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.135 with SMTP id o7ls1546486qge.81.gmail; Fri, 10 Apr 2015 05:34:22 -0700 (PDT) X-Received: by 10.140.27.162 with SMTP id 31mr1348863qgx.64.1428669262268; Fri, 10 Apr 2015 05:34:22 -0700 (PDT) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com. [209.85.220.175]) by mx.google.com with ESMTPS id a7si1614216qgf.104.2015.04.10.05.34.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 05:34:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by qkx62 with SMTP id 62so28293204qkx.0 for ; Fri, 10 Apr 2015 05:34:22 -0700 (PDT) X-Received: by 10.55.31.90 with SMTP id f87mr2252194qkf.38.1428669260928; Fri, 10 Apr 2015 05:34:20 -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 vz7csp983970qdb; Fri, 10 Apr 2015 05:34:20 -0700 (PDT) X-Received: by 10.66.235.169 with SMTP id un9mr2228922pac.45.1428669259637; Fri, 10 Apr 2015 05:34:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gj8si2763070pac.118.2015.04.10.05.34.18; Fri, 10 Apr 2015 05:34:19 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932699AbbDJMeO (ORCPT + 27 others); Fri, 10 Apr 2015 08:34:14 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:36718 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932525AbbDJMeH (ORCPT ); Fri, 10 Apr 2015 08:34:07 -0400 Received: by wizk4 with SMTP id k4so126456850wiz.1 for ; Fri, 10 Apr 2015 05:34:06 -0700 (PDT) X-Received: by 10.194.61.12 with SMTP id l12mr2621701wjr.139.1428669246465; Fri, 10 Apr 2015 05:34:06 -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 hl8sm2749459wjb.38.2015.04.10.05.34.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 05:34:05 -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 02/12] ARM: dts: apq8064-ifc6410: Add basic regulators Date: Fri, 10 Apr 2015 13:34:02 +0100 Message-Id: <1428669242-10864-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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.175 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 support to basic regulators wiredup on IFC6410 board. All these regulators are tested as part of USB, SATA and HDMI. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index e641001..ca2d7ba 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -23,6 +23,73 @@ }; }; + 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_l6: l6 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; + + pm8921_l23: l23 { + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <1900000>; + bias-pull-down; + }; + }; + }; + gsbi@12440000 { status = "okay"; qcom,mode = ;