From patchwork Wed May 14 14:01:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4175041 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD8CEBFF02 for ; Wed, 14 May 2014 14:03:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBE28202EB for ; Wed, 14 May 2014 14:02:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0A41520265 for ; Wed, 14 May 2014 14:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932348AbaENOBr (ORCPT ); Wed, 14 May 2014 10:01:47 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35566 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226AbaENOBo (ORCPT ); Wed, 14 May 2014 10:01:44 -0400 Received: by mail-pa0-f47.google.com with SMTP id lf10so1716237pab.34 for ; Wed, 14 May 2014 07:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=cjb7RxINmssS/mqqloiv5qdRhCLi+EYazaC4QfZg0Ew=; b=V66cS2ufk4bO62lleVHB0PhMmQoZC+0udoYxDTJUr7I9mQeUfgf3g3fMeT7WH9TeBx 5w7/nR9fbLsq0t5/lP90GRCiAOCFvgBR7r6K81F/bvXkJs2BICqR1CltqQWC5dVN0ajo Rp+761MLUeJfFuCofzLXQ+Co1FdNgr+KicD24pIlTseuRojDUfqdru0tvzaOGsfYsPJc u7r2Q2VjaAakFYr/g8ALdJSIKVb9NIjC3ZvIKUPpg4efIpSF75iCaULaklFFKrd2m6Z+ VzlOjrT+54yTjMQ146OCBxtnfsSPrO+nFVsnNjFJC28hJcXzoUmSASn1aRLY3vahgmmM Sa0w== X-Received: by 10.68.211.164 with SMTP id nd4mr4693851pbc.44.1400076103982; Wed, 14 May 2014 07:01:43 -0700 (PDT) Received: from vivek-Vostro-1014.local ([27.7.165.169]) by mx.google.com with ESMTPSA id zq5sm3738884pbb.37.2014.05.14.07.01.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 07:01:43 -0700 (PDT) From: Vivek Gautam To: linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, kgene.kim@samsung.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, t.figa@samsung.com, balbi@ti.com, kishon@ti.com, jg1.han@samsung.com, Vivek Gautam Subject: [PATCH v6 5/8] ARM: dts: exynos5250-snow: Add Vbus regulator for USB 3.0 Date: Wed, 14 May 2014 19:31:07 +0530 Message-Id: <1400076070-12456-6-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400076070-12456-1-git-send-email-gautam.vivek@samsung.com> References: <1400076070-12456-1-git-send-email-gautam.vivek@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add required fixed-regulator for VBUS supply for USB 3.0 controller phy. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250-snow.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 1ce1088..fd9b3b3 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -37,6 +37,13 @@ sd3_bus4: sd3-bus-width4 { samsung,pin-drv = <0>; }; + + usb3_vbus_en: usb3-vbus-en { + samsung,pins = "gpx2-7"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; gpio-keys { @@ -196,6 +203,21 @@ }; }; + usb3_vbus_reg: regulator-usb3 { + compatible = "regulator-fixed"; + regulator-name = "P5.0V_USB3CON"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpx2 7 0>; + pinctrl-names = "default"; + pinctrl-0 = <&usb3_vbus_en>; + enable-active-high; + }; + + phy@12100000 { + vbus-supply = <&usb3_vbus_reg>; + }; + usb@12110000 { samsung,vbus-gpio = <&gpx1 1 0>; };