From patchwork Fri Apr 10 20:44:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47069 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 5E281218DA for ; Fri, 10 Apr 2015 20:44:19 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf6871929wgt.1 for ; Fri, 10 Apr 2015 13:44:18 -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=I5LHsrKu/xaLaZo885jHy3XIkpVEck0zlr883HLKyl4=; b=VV2f2y9mL722diO/kqic0HjBbj0a2eHgaDxy5g1tRlw4kKqof2P5xNNSFpybmdfK6C 7Yex0gqDce4+Nldrns3ujZmXES+P8U1pLa5LIbwQuGlvaBVtvZ79PHREmqsX82wIeImC EcVvOlt20DB3az3/Qb7Ym1PRcEMPkHcNULIff4a+OuS7PlqIpF9kZTBClcldc+exs+2P UMwMoc1SX1i7ZzwUGCRSC56VFLgyBy1WLourghS5eYYPgqrpwldOSzFPTN/RsrKk69Ty +7rojEWNdMgLY7cB9rkfL9vI3hhQBgQM/nl/lx7t2SsRE32rMi3felhaQsKTbtgy5N60 s89A== X-Gm-Message-State: ALoCoQkigV/Pz4/HmXYg5rlrsKEn9ixJ5unbzFh6Rz9ABjafIwayXN7plFoGoX62riWilk6Sd70e X-Received: by 10.112.98.38 with SMTP id ef6mr608991lbb.3.1428698658637; Fri, 10 Apr 2015 13:44:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.103 with SMTP id kx7ls508161lac.62.gmail; Fri, 10 Apr 2015 13:44:18 -0700 (PDT) X-Received: by 10.112.236.40 with SMTP id ur8mr2995504lbc.18.1428698658494; Fri, 10 Apr 2015 13:44:18 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id xu7si2311195lbb.139.2015.04.10.13.44.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 13:44:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbuc2 with SMTP id uc2so22080265lbb.2 for ; Fri, 10 Apr 2015 13:44:18 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr2944140lbb.76.1428698658360; Fri, 10 Apr 2015 13:44:18 -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 l1csp1326694lbt; Fri, 10 Apr 2015 13:44:17 -0700 (PDT) X-Received: by 10.68.97.131 with SMTP id ea3mr5597929pbb.165.1428698656330; Fri, 10 Apr 2015 13:44:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gv1si4415163pbd.199.2015.04.10.13.44.15; Fri, 10 Apr 2015 13:44:16 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1753796AbbDJUoM (ORCPT + 5 others); Fri, 10 Apr 2015 16:44:12 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:33571 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755343AbbDJUoK (ORCPT ); Fri, 10 Apr 2015 16:44:10 -0400 Received: by wgin8 with SMTP id n8so28705407wgi.0 for ; Fri, 10 Apr 2015 13:44:09 -0700 (PDT) X-Received: by 10.194.62.52 with SMTP id v20mr6209054wjr.137.1428698649518; Fri, 10 Apr 2015 13:44:09 -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 b10sm1146786wiz.9.2015.04.10.13.44.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 13:44:08 -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 06/11] ARM: dts: apq8064-cm-qs600: Add basic regulators. Date: Fri, 10 Apr 2015 21:44:05 +0100 Message-Id: <1428698645-12156-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: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.217.179 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 = ;