From patchwork Mon Apr 14 13:16:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 28325 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7814A2036A for ; Mon, 14 Apr 2014 13:17:07 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rp16sf31459701pbb.1 for ; Mon, 14 Apr 2014 06:17:06 -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=El3g91jryJv2D4qQqTqif/f3UxDCjIMjl+5MXSlQph8=; b=fTEpYWsGvWG2ESOAxHENj5olMdQLZx0eLesPmjWPLGr0Zhenp2IPCvQPscGmMt+sxu cRowD8uA2Bx5/C+s9Jt37oo+54xMydFNMg1//Ud2RCgRfqRFn+HusNTMUbUJNvGop+XK mUJE13+6euoh3KeKcks4jPCH1UvEvDwPKpDBrXOVdPRTjOKIpTOoNknUEg1W/Y+Ydz0F sn1WHzbsFchNrY2Jz1vu+QEBM2wYOMWMW1Kh/vw8bXXRduLrOwRc+XRtCmVvyHpU7f0T 7SthMRMRBFyH4w92ERtF0wHPBbtLymgLaRmiYOd25cj/8VXPbVruQVNFBfkgmgYSKg0s +U0A== X-Gm-Message-State: ALoCoQmNKd/oi07SNUtEG5GsJ3wQjUl45qkYRIyRtrBv0uA5IlVcSpgq1Rnsg476zVbkQdk3ZqH4 X-Received: by 10.68.230.193 with SMTP id ta1mr20119574pbc.6.1397481426741; Mon, 14 Apr 2014 06:17:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.163 with SMTP id a32ls2666192qgf.73.gmail; Mon, 14 Apr 2014 06:17:06 -0700 (PDT) X-Received: by 10.58.74.38 with SMTP id q6mr35867155vev.7.1397481426597; Mon, 14 Apr 2014 06:17:06 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id sk2si2741255vcb.90.2014.04.14.06.17.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 06:17:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id jy13so7432413veb.16 for ; Mon, 14 Apr 2014 06:17:06 -0700 (PDT) X-Received: by 10.220.161.8 with SMTP id p8mr36452903vcx.4.1397481426500; Mon, 14 Apr 2014 06:17:06 -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.220.221.72 with SMTP id ib8csp146381vcb; Mon, 14 Apr 2014 06:17:06 -0700 (PDT) X-Received: by 10.68.190.163 with SMTP id gr3mr43686090pbc.103.1397481425750; Mon, 14 Apr 2014 06:17:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qf4si8832760pbb.438.2014.04.14.06.17.05; Mon, 14 Apr 2014 06:17:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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 S1754230AbaDNNRE (ORCPT + 8 others); Mon, 14 Apr 2014 09:17:04 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:63331 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754142AbaDNNRD (ORCPT ); Mon, 14 Apr 2014 09:17:03 -0400 Received: by mail-pb0-f44.google.com with SMTP id rp16so8217741pbb.31 for ; Mon, 14 Apr 2014 06:17:03 -0700 (PDT) X-Received: by 10.68.191.39 with SMTP id gv7mr44213860pbc.90.1397481423034; Mon, 14 Apr 2014 06:17:03 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id h6sm33770400pbl.75.2014.04.14.06.17.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 06:17:02 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, dianders@chromium.org, sachin.kamat@linaro.org, joshi@samsung.com, ajaykumar.rs@samsung.com Subject: [PATCH 3/4] ARM: dts: exynos5250-snow: add tps65090 power regulator Date: Mon, 14 Apr 2014 18:46:06 +0530 Message-Id: <1397481367-12652-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397481367-12652-1-git-send-email-sachin.kamat@linaro.org> References: <1397481367-12652-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , From: Doug Anderson Added TPS65090 regulator related nodes to Snow board. Signed-off-by: Doug Anderson Signed-off-by: Sachin Kamat Reviewed-by: Doug Anderson Tested-by: Doug Anderson --- arch/arm/boot/dts/exynos5250-snow.dts | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 469c85d..a38fd18 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -44,6 +44,13 @@ sd3_bus4: sd3-bus-width4 { samsung,pin-drv = <0>; }; + + tps65090_irq: tps65090-irq { + samsung,pins = "gpx2-6"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; pinctrl@13400000 { @@ -75,6 +82,12 @@ }; }; + vbat: vbat-fixed-regulator { + compatible = "regulator-fixed"; + regulator-name = "vbat-supply"; + regulator-boot-on; + }; + i2c-arbitrator { compatible = "i2c-arb-gpio-challenge"; #address-cells = <1>; @@ -201,6 +214,83 @@ 0x070c0069>; /* LEFT */ }; }; + + power-regulator { + compatible = "ti,tps65090"; + reg = <0x48>; + + /* + * Config irq to disable internal pulls + * even though we run in polling mode. + */ + pinctrl-names = "default"; + pinctrl-0 = <&tps65090_irq>; + + vsys1-supply = <&vbat>; + vsys2-supply = <&vbat>; + vsys3-supply = <&vbat>; + infet1-supply = <&vbat>; + infet2-supply = <&vbat>; + infet3-supply = <&vbat>; + infet4-supply = <&vbat>; + infet5-supply = <&vbat>; + infet6-supply = <&vbat>; + infet7-supply = <&vbat>; + vsys-l1-supply = <&vbat>; + vsys-l2-supply = <&vbat>; + + regulators { + dcdc1 { + ti,enable-ext-control; + }; + dcdc2 { + ti,enable-ext-control; + }; + dcdc3 { + ti,enable-ext-control; + }; + fet1 { + regulator-name = "vcd_led"; + ti,overcurrent-wait = <3>; + }; + tps65090_fet2: fet2 { + regulator-name = "video_mid"; + regulator-always-on; + ti,overcurrent-wait = <3>; + }; + fet3 { + regulator-name = "wwan_r"; + regulator-always-on; + ti,overcurrent-wait = <3>; + }; + fet4 { + regulator-name = "sdcard"; + ti,overcurrent-wait = <3>; + }; + fet5 { + regulator-name = "camout"; + regulator-always-on; + ti,overcurrent-wait = <3>; + }; + fet6 { + regulator-name = "lcd_vdd"; + ti,overcurrent-wait = <3>; + }; + tps65090_fet7: fet7 { + regulator-name = "video_mid_1a"; + regulator-always-on; + ti,overcurrent-wait = <3>; + }; + ldo1 { + }; + ldo2 { + }; + }; + + charger { + compatible = "ti,tps65090-charger"; + }; + }; }; };