From patchwork Wed Apr 23 14:30:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4041771 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 02B379F319 for ; Wed, 23 Apr 2014 14:37:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24311201C8 for ; Wed, 23 Apr 2014 14:37:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4967820160 for ; Wed, 23 Apr 2014 14:37:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932367AbaDWObf (ORCPT ); Wed, 23 Apr 2014 10:31:35 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:62561 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932349AbaDWObb (ORCPT ); Wed, 23 Apr 2014 10:31:31 -0400 Received: by mail-pd0-f171.google.com with SMTP id r10so826049pdi.2 for ; Wed, 23 Apr 2014 07:31:30 -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=elCUcmXeojyfZSuMQmJg40LbTD7doN7ml+zv1AiBdSQ=; b=A9FWGZhlSWUGk8CAPXSkog/B3jrq5aqribz/QRg+dN/5LcJRLUADNEsH29ZW/qeUdT xmyx5oycew6J1CEEbxwcKr8RBn6QS9utbCUwcT1xtxbztCdAV3zaYhBrDAABEFmu9sPz xwh7IMJD0D5mLZA/z+a6x+Tp/qzlzr1mpYvQLWvmyFRDCwlZRwQvWOA++TggpKOm/fUn ps3vZDBAWDyRFi+snaHIvI0Lh6rufxT+6rMqAYBW8IAWnOy2SD26EL80JAuG4Qw8QBLY LEa1Z638DKXYD/E1QkofBLl9aQpsodT2oOPUHu96UGw7SeXY6azcS5QXP5V7wKu/WbNI q6iw== X-Received: by 10.68.170.66 with SMTP id ak2mr55848400pbc.5.1398263490880; Wed, 23 Apr 2014 07:31:30 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xo9sm5803182pab.18.2014.04.23.07.31.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 07:31:30 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, robh+dt@kernel.org, gregkh@linuxfoundation.org, olof@lixom.net, balbi@ti.com, jg1.han@samsung.com, t.figa@samsung.com Subject: [PATCH v5 5/9] dts: exynos5250-snow: Add Vbus regulator for USB 3.0 Date: Wed, 23 Apr 2014 20:00:47 +0530 Message-Id: <1398263451-18023-6-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com> References: <1398263451-18023-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 --- This is first version of the patch for VBUS support for USB3DRD phy. v5 is just and indicative of the patch-series. 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>; };