From patchwork Tue Jul 28 08:12:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 51574 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id A48A422DB9 for ; Tue, 28 Jul 2015 08:13:14 +0000 (UTC) Received: by lagw2 with SMTP id w2sf35329078lag.3 for ; Tue, 28 Jul 2015 01:13:13 -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=7sPl/V/l/yeb80yvK2OQOW3xI55WCwZ8F90J6jMHJG8=; b=djkrJgcdM8WpQIWumjSNoOFFHo4MIxIwcBnyKBak2GOesc6yIW9FmQgFgaLwmtuPfi PptDwCdzWrcmN0wjZpA8VdLkPDA/YcspVWs1MbyfMN6HXRhRI4mVfi9sk1V/s8bYOay6 7RHLZirVgrbwuuJ9msXuCVfmff5QhjEF1nC5bNAl0G2cCpNd0HDHs0vYax2Nkv/tPDos hZWOxAnNMxrGjSvCh3aMjRUjnx3hP1Cv4x/rJn0h3bVPIzO51Dw7imaGZEUehGpdV33k GGvRDPlXEj+puh+PNSawSDKddYMRmkZQ3WkhC+5jDkmnRN/2nk75CLbQlX12gzwwtioq hXrQ== X-Gm-Message-State: ALoCoQk63MRW7f0b1VMVLXX0lWlLToZE/Tx3g1T3A+4XkAe7utGOgxMcl6sV7Ur5D2+xdnArlT6k X-Received: by 10.112.189.131 with SMTP id gi3mr13726142lbc.6.1438071193631; Tue, 28 Jul 2015 01:13:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.36 with SMTP id g4ls762508lah.33.gmail; Tue, 28 Jul 2015 01:13:13 -0700 (PDT) X-Received: by 10.112.26.225 with SMTP id o1mr30795785lbg.5.1438071193452; Tue, 28 Jul 2015 01:13:13 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id p5si17610203lap.109.2015.07.28.01.13.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 01:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagw2 with SMTP id w2so63714993lag.3 for ; Tue, 28 Jul 2015 01:13:13 -0700 (PDT) X-Received: by 10.112.145.169 with SMTP id sv9mr17895962lbb.73.1438071193285; Tue, 28 Jul 2015 01:13:13 -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.7.198 with SMTP id l6csp1982878lba; Tue, 28 Jul 2015 01:13:12 -0700 (PDT) X-Received: by 10.107.167.207 with SMTP id q198mr42789832ioe.137.1438071191737; Tue, 28 Jul 2015 01:13:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si18422005icn.23.2015.07.28.01.13.10; Tue, 28 Jul 2015 01:13:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755400AbbG1INI (ORCPT + 28 others); Tue, 28 Jul 2015 04:13:08 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:38474 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755362AbbG1IND (ORCPT ); Tue, 28 Jul 2015 04:13:03 -0400 Received: by wibxm9 with SMTP id xm9so148758179wib.1 for ; Tue, 28 Jul 2015 01:13:02 -0700 (PDT) X-Received: by 10.180.215.101 with SMTP id oh5mr4204217wic.6.1438071182470; Tue, 28 Jul 2015 01:13:02 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-147-3-201.as13285.net. [78.147.3.201]) by smtp.gmail.com with ESMTPSA id i6sm31389973wjf.29.2015.07.28.01.13.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 01:13:01 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 2/3] ARM: dts: ifc6410: add real regulators for sdcc nodes. Date: Tue, 28 Jul 2015 09:12:58 +0100 Message-Id: <1438071178-30150-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438071116-30065-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1438071116-30065-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.49 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 real regulators for all the three sdcc nodes. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 4cf967f..88d6655 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -74,6 +74,12 @@ bias-pull-down; }; + pm8921_l5: l5 { + regulator-min-microvolt = <2750000>; + regulator-max-microvolt = <3000000>; + bias-pull-down; + }; + pm8921_l6: l6 { regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; @@ -85,9 +91,25 @@ regulator-max-microvolt = <1900000>; bias-pull-down; }; + + pm8921_lvs1: lvs1 { + bias-pull-down; + }; }; }; + ext_3p3v: regulator-fixed@1 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "ext_3p3v"; + regulator-type = "voltage"; + startup-delay-us = <0>; + gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-boot-on; + }; + gsbi3: gsbi@16200000 { status = "okay"; qcom,mode = ; @@ -188,11 +210,14 @@ /* eMMC */ sdcc1: sdcc@12400000 { status = "okay"; + vmmc-supply = <&pm8921_l5>; + vqmmc-supply = <&pm8921_s4>; }; /* External micro SD card */ sdcc3: sdcc@12180000 { status = "okay"; + vmmc-supply = <&pm8921_l6>; pinctrl-names = "default"; pinctrl-0 = <&card_detect>; cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; @@ -200,6 +225,8 @@ /* WLAN */ sdcc4: sdcc@121c0000 { status = "okay"; + vmmc-supply = <&ext_3p3v>; + vqmmc-supply = <&pm8921_lvs1>; }; }; };