From patchwork Fri Apr 10 20:43:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47066 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E707F218D9 for ; Fri, 10 Apr 2015 20:43:54 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf6870424wgt.1 for ; Fri, 10 Apr 2015 13:43:54 -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=lDg89eOiYmJbyg0z3f3J75ugkYmsPFbXXHU14qNB10p25E8t3lqztvvXQOEB5Q61oM ZsrSiogBmRfKJLUzfuFHwvPX26q4+SbRTZg8xId7StL8ZqmYpWovnNfWd/XebGabEZkv Wge2XWsMt/EmDZ0OUlylI04+Rh+XmfrkChnX+3wxdJDk2iSiqZI/GalBjMj5A1lvITN1 zjr/qhBSjR7EOCPHLbLq1LZTeTpTUoN1xe0QAxMLOYgV8JByv0uvf2m2WLFPM5JO4FjO ZZbzhE39pIrzN0DwSJ8EMo6acaP8CgJdCPKdssEItDrQ2lPKTfRFKbnGCXlGCiJ2Qvdg SqwA== X-Gm-Message-State: ALoCoQn14B04PtL7HIvf+E01FvLJRRPOBK+l3oe+enNmHPkFTEq3xbu1ymZO1Z0/xDqKGV2m7o8T X-Received: by 10.112.17.105 with SMTP id n9mr611894lbd.8.1428698634219; Fri, 10 Apr 2015 13:43:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.211 with SMTP id jq19ls560902lab.32.gmail; Fri, 10 Apr 2015 13:43:54 -0700 (PDT) X-Received: by 10.152.121.6 with SMTP id lg6mr3027044lab.42.1428698634046; Fri, 10 Apr 2015 13:43:54 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id yi7si2121490lbb.14.2015.04.10.13.43.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 13:43:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by layy10 with SMTP id y10so21445605lay.0 for ; Fri, 10 Apr 2015 13:43:54 -0700 (PDT) X-Received: by 10.152.197.34 with SMTP id ir2mr3012499lac.36.1428698633913; Fri, 10 Apr 2015 13:43:53 -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.112.67.65 with SMTP id l1csp1326545lbt; Fri, 10 Apr 2015 13:43:53 -0700 (PDT) X-Received: by 10.68.177.194 with SMTP id cs2mr5784629pbc.32.1428698629223; Fri, 10 Apr 2015 13:43:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si4454518pdj.141.2015.04.10.13.43.48; Fri, 10 Apr 2015 13:43:49 -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 S1756523AbbDJUnV (ORCPT + 27 others); Fri, 10 Apr 2015 16:43:21 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:34225 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756150AbbDJUnT (ORCPT ); Fri, 10 Apr 2015 16:43:19 -0400 Received: by widjs5 with SMTP id js5so23653779wid.1 for ; Fri, 10 Apr 2015 13:43:18 -0700 (PDT) X-Received: by 10.180.84.130 with SMTP id z2mr1039783wiy.42.1428698598564; Fri, 10 Apr 2015 13:43:18 -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 m9sm1105270wiz.24.2015.04.10.13.43.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 13:43:17 -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 v3 02/11] ARM: dts: apq8064-ifc6410: Add basic regulators Date: Fri, 10 Apr 2015 21:43:14 +0100 Message-Id: <1428698594-11988-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428698491-11881-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428698491-11881-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.215.51 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 = ;