From patchwork Sun Sep 11 18:30:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9325531 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 3ED3160231 for ; Sun, 11 Sep 2016 18:35:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32FC22871E for ; Sun, 11 Sep 2016 18:35:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 236E128A10; Sun, 11 Sep 2016 18:35:10 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 B1E2A2871E for ; Sun, 11 Sep 2016 18:35:09 +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 1bj9Zb-0004SB-Sy; Sun, 11 Sep 2016 18:33:47 +0000 Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bj9Y9-0003cG-93 for linux-arm-kernel@lists.infradead.org; Sun, 11 Sep 2016 18:32:19 +0000 Received: by mail-pa0-x242.google.com with SMTP id p2so438195pap.3 for ; Sun, 11 Sep 2016 11:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9Xt0GB2nq+vWs1qDxuTqmcpJrGrfJQ0nOfqtDpt1h/E=; b=fexJeQOImZOqnSqGPFF6LHQ0LyVnHxFMRjIJkL3baKjaDw/by9IPdFPXmXMhNHBMHv adT2kmVqyHtR9TSEgStDjqb4kB8g1BbvdwJ7/MQ6Ju//AJb9ORbG8HFAhgm9qg9rzjp4 aAnNjUet2GjQv2pjSszakhvvR6DZZJGnEJmxcJwDqKVUvRjprSjAu3UGVO8LdxD/4vNX 66hbH7StDMh7yCHkAAMQy1hE9xtNq2ugOEVrzGBIJvx+CP3OYVDUJCoAiH2kBPUCV/sX B0SmieNIAYfKwHFQNf1vvopIsdnxFkZLf1JxuqjiUUx4CHCg8r8uMnrS0DlgLN0NhZVi JZAA== 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=9Xt0GB2nq+vWs1qDxuTqmcpJrGrfJQ0nOfqtDpt1h/E=; b=ggyG3fE9TAz3qL8u1lFRCDkx2Ip9p7MYmm8iylJbU0LFhThjJoNvFtY3Iu39PLh/ii IayGwa6gllW1tokl1uSDF10bzb908WoXc3f9gvrQry/6E0zClv1F7bNaotrinN1DaI/U 76gyV5H2rhoH6YoOTp9qHnwXHK1VT155OFqcLU7rgkBuoXTR6b5cvHRhncS4FWEldFHJ +UUf3OmrpdFwIbqwY8v0BRIQG0RiZNNN6vCpA8m0espvoAqie7RH+woju8OeCv0h1YgK TDjLxdoDvOl33ipuNl/opHs+kAo2TJVufNWk0peTU5b5y6uqwAjKiBxEw/3+Izp0cose SwBA== X-Gm-Message-State: AE9vXwP7encJ2EKsiuv8rvi5PaBYtJm9XWko9ekfiZsX7OOJ8NDGbN8Dx1Vp5r4u+FaiHg== X-Received: by 10.66.121.138 with SMTP id lk10mr26078849pab.1.1473618715905; Sun, 11 Sep 2016 11:31:55 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id c139sm3696237pfb.15.2016.09.11.11.31.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Sep 2016 11:31:54 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 5/5] ARM: dts: imx6qdl-icore: Add usbotg support Date: Mon, 12 Sep 2016 00:00:41 +0530 Message-Id: <1473618641-10159-6-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473618641-10159-1-git-send-email-jagan@amarulasolutions.com> References: <1473618641-10159-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160911_113217_608252_2A583D72 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. 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 , Shawn Guo 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 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 v4: - Newly added 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 b4f7e64..fefd7fd 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 { @@ -125,6 +134,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>; @@ -199,6 +216,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