From patchwork Wed Apr 23 14:30:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4041721 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 6C813BFF02 for ; Wed, 23 Apr 2014 14:35:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97B24201C0 for ; Wed, 23 Apr 2014 14:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF25D201E7 for ; Wed, 23 Apr 2014 14:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932452AbaDWObo (ORCPT ); Wed, 23 Apr 2014 10:31:44 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:63534 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932349AbaDWObl (ORCPT ); Wed, 23 Apr 2014 10:31:41 -0400 Received: by mail-pa0-f47.google.com with SMTP id lj1so822136pab.34 for ; Wed, 23 Apr 2014 07:31:40 -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=yekvgXDJFETZi2fFBrWlsiWrYqlPdUwOPTBKcSKjTOQ=; b=L1qS+IRECYhcdGJ5NDGG+as/rGi2JM6mlA5D7zOg1+5Vj5gig/owKGZUIOmb7GqX9P nJVflAmAcUWa4UHR/9jhhhjPlJuPkpY48XBOw6SZ+Jv0X9iOnzBQ2H9apdtqQzy7sAnL ie5dke3kA5PfwplnUMM7HO9AXcr3DjR1/3FPLKQlhzYI+4i3NrU6CSl5L7DFS2tzRam/ Xtdt39qhPZFrjkQr2KMVaJcrTPBcGXLS3oL+LuPTazwikrkrXDqX3tRkcHNE5aA+oL73 PFfn62q5rhaXcXTe4hZXH36WD3TtHDdDlj32Pi8613KfvbejT0W4WfBS9EeaxiA0FtCg T3pw== X-Received: by 10.68.163.100 with SMTP id yh4mr21379702pbb.122.1398263499900; Wed, 23 Apr 2014 07:31:39 -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.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 07:31:39 -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 7/9] dts: exynos5420-smdk5420: Add Vbus regulator for USB 3.0 Date: Wed, 23 Apr 2014 20:00:49 +0530 Message-Id: <1398263451-18023-8-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=unavailable 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/exynos5420-smdk5420.dts | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index 6910485..96d99e1 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -147,6 +147,52 @@ pinctrl-0 = <&hdmi_hpd_irq>; }; + pinctrl@14000000 { + usb300_vbus_en: usb300-vbus-en { + samsung,pins = "gpg0-5"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + + usb301_vbus_en: usb301-vbus-en { + samsung,pins = "gpg1-4"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + }; + + usb300_vbus_reg: regulator-usb300 { + compatible = "regulator-fixed"; + regulator-name = "VBUS0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpg0 5 0>; + pinctrl-names = "default"; + pinctrl-0 = <&usb300_vbus_en>; + enable-active-high; + }; + + usb301_vbus_reg: regulator-usb301 { + compatible = "regulator-fixed"; + regulator-name = "VBUS1"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpg1 4 0>; + pinctrl-names = "default"; + pinctrl-0 = <&usb301_vbus_en>; + enable-active-high; + }; + + phy@12100000 { + vbus-supply = <&usb300_vbus_reg>; + }; + + phy@12500000 { + vbus-supply = <&usb301_vbus_reg>; + }; + i2c_2: i2c@12C80000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>;