From patchwork Wed May 14 14:01:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4175001 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 43CFCBFF02 for ; Wed, 14 May 2014 14:02:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C97620364 for ; Wed, 14 May 2014 14:02:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40F2C20265 for ; Wed, 14 May 2014 14:02:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932427AbaENOCB (ORCPT ); Wed, 14 May 2014 10:02:01 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:40478 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932368AbaENOB7 (ORCPT ); Wed, 14 May 2014 10:01:59 -0400 Received: by mail-pa0-f41.google.com with SMTP id lj1so1728748pab.28 for ; Wed, 14 May 2014 07:01:58 -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=46JHt2Q4n1BmZyQoB4+AXqqntvfV4VqVYPmbVNsE8BY=; b=gpSC0sHSeMjMOLp0ZbtkF3w2RlVUWpqjCMGr2H065ad+YDOJeu4U26V1UdqD1/b0IM wZifaJ6LUjY+Qvgs8jokWnegMnDVCAd8KGUlDMzYjqWlysvWkNYOR7dDNnXXF6/z4ML5 kh/zXrHgsO7/t4dgwt5wFKo+kkK8hsujOCCXOBjvYv/GnC8N1uq3RWrPBBjTZOaEPJ1r 0AXExvAr7w9ElPJxUyA0zpCjcxQ4QRv7n9TKRA6ct+DMhkBeV168TAL7kefmnRzte63E Bran+R4wdFWBYzJYzxx4xQUCDhi0ICa4CmeGr4QvNtxD24pKU0DSDtzhiOAVvN/rSsGO 1F0Q== X-Received: by 10.68.248.7 with SMTP id yi7mr4742870pbc.31.1400076118815; Wed, 14 May 2014 07:01:58 -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.54 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 07:01:58 -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 8/8] ARM: dts: exynos5800-peach-pi: Add Vbus regulator for USB 3.0 Date: Wed, 14 May 2014 19:31:10 +0530 Message-Id: <1400076070-12456-9-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=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 From: Vivek gautam Add required fixed-regulator for VBUS supply for USB 3.0 controller phy. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 4ed9ccc..8301bca 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -56,6 +56,28 @@ pinctrl-0 = <&pwm0_out>; pinctrl-names = "default"; }; + + usb300_vbus_reg: regulator-usb300 { + compatible = "regulator-fixed"; + regulator-name = "P5.0V_USB3CON0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gph0 0 0>; + pinctrl-names = "default"; + pinctrl-0 = <&usb300_vbus_en>; + enable-active-high; + }; + + usb301_vbus_reg: regulator-usb301 { + compatible = "regulator-fixed"; + regulator-name = "P5.0V_USB3CON1"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gph0 1 0>; + pinctrl-names = "default"; + pinctrl-0 = <&usb301_vbus_en>; + enable-active-high; + }; }; &pinctrl_0 { @@ -74,6 +96,22 @@ }; }; +&pinctrl_3 { + usb300_vbus_en: usb300-vbus-en { + samsung,pins = "gph0-0"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + + usb301_vbus_en: usb301-vbus-en { + samsung,pins = "gph0-1"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; +}; + &rtc { status = "okay"; }; @@ -134,6 +172,14 @@ }; }; +&usbdrd3_0 { + vbus-supply = <&usb300_vbus_reg>; +}; + +&usbdrd3_1 { + vbus-supply = <&usb301_vbus_reg>; +}; + /* * Use longest HW watchdog in SoC (32 seconds) since the hardware * watchdog provides no debugging information (compared to soft/hard