From patchwork Fri Oct 14 09:27:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9376311 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6AFCB60779 for ; Fri, 14 Oct 2016 09:31:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5ABEF2A55A for ; Fri, 14 Oct 2016 09:31:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F8492A562; Fri, 14 Oct 2016 09:31:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C70C12A55A for ; Fri, 14 Oct 2016 09:31:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1buyoJ-0006AH-Rb; Fri, 14 Oct 2016 09:29:51 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1buynG-0005Ze-Dw for linux-arm-kernel@bombadil.infradead.org; Fri, 14 Oct 2016 09:28:46 +0000 Received: from mail-pa0-f67.google.com ([209.85.220.67]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1buynD-0005VX-OW for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2016 09:28:45 +0000 Received: by mail-pa0-f67.google.com with SMTP id os4so1819745pac.3 for ; Fri, 14 Oct 2016 02:28:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bD37sFO1dCZD3Y9JDIrYrUIGjE48NK3kKEJzQHmm974=; b=kX3szbfmI6VxYe6hlHQflgVolpAlyDrVesApvF/LEVNT2QhmSb+C9yNUH0AR789kQJ cn6durxnrj+yjQNMLYqIlNhahygSjXdck0gt13/HVtslL/0d1/SCU7/YtF6E+Fa7jGdP HUSpFWBb0hzSg20kUzdNmfYz1OcbHfLjFSSIfBQvoidAwXmLh3SfFwHTF6jktPyQN3NB RujlEAlTlfqOHLwTAchGH8Tz0uC29v4wzanbHzByblN7n7RB0rBBjtHmH7adCFwhPWsQ QIn5Taemf4S1KIzbSp+Dt3umXigM0N5yuVyd7gmLNqYziijqQNyAkJqHQgZZEJHywiTV T88A== X-Gm-Message-State: AA6/9Rn1CBpSnYvp1Af86ds5FKeXLXPHSHXuL3jB1BW5qALo3VYe0JpLfUBh1gZvce/iLw== X-Received: by 10.66.95.7 with SMTP id dg7mr14117307pab.107.1476437301539; Fri, 14 Oct 2016 02:28:21 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id f2sm25715651pfj.68.2016.10.14.02.28.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Oct 2016 02:28:20 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v7 4/5] ARM: dts: imx6qdl-icore: Add usbotg support Date: Fri, 14 Oct 2016 14:57:22 +0530 Message-Id: <1476437243-13297-5-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476437243-13297-1-git-send-email-jteki@openedev.com> References: <1476437243-13297-1-git-send-email-jteki@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161014_102843_943798_658172E4 X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Sascha Hauer , Fabio Estevam , Michael Trimarchi , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Add usbotg support for Engicam i.CoreM6 dql modules. Cc: Sascha Hauer Cc: Fabio Estevam Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v7: - none Changes for v6: - none Changes for v5: - none Changes for v4: - new patch arch/arm/boot/dts/imx6qdl-icore.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index ffec879..4e79858 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -65,6 +65,15 @@ regulator-boot-on; regulator-always-on; }; + + reg_usb_otg_vbus: usb_otg_vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; + }; }; &can1 { @@ -124,6 +133,14 @@ status = "okay"; }; +&usbotg { + vbus-supply = <®_usb_otg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + disable-over-current; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -198,6 +215,12 @@ >; }; + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17070