From patchwork Thu Sep 15 19:16:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9334635 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 98327601C2 for ; Thu, 15 Sep 2016 19:20:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8212729ADD for ; Thu, 15 Sep 2016 19:20:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71F5529B05; Thu, 15 Sep 2016 19:20:55 +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 4BFD429ADD for ; Thu, 15 Sep 2016 19:20:54 +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 1bkcC7-0001Ez-1i; Thu, 15 Sep 2016 19:19:35 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkcAv-0000T3-9k for linux-arm-kernel@lists.infradead.org; Thu, 15 Sep 2016 19:18:23 +0000 Received: by mail-pf0-x242.google.com with SMTP id 21so1138399pfy.1 for ; Thu, 15 Sep 2016 12:18:00 -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=gkoQ4yKyQbkM5xIPdrCokQ5Ecig+6ipfvG7VvhlSN5U=; b=DqPI4TdPWAyFE3Gbf45GhEFYtm4WiRwAanZR6K3C2Cw1luF5ioANa657Dl8MM6YGrf A+qH+uT2kJ+Y5jAt3CYf1Ht0E4gAWlNY9jmuGfKQyL+WJg60k8IeXGFDmfM9ioLWPBAv ElQ5R46V532R67nXQIik23P50VmRKHnCnluGRiaIZ5HqGALM+UkPnK3XTTogdG47PFBG 1r3AKjoLcACkASqvkGlUlRcqh1wCn8SStRvT/UNY0ZJMjqGmVHawoOmA4yseAuvXHviK l1Dw04uyeG43o4oDnyTIy+zSUIJg6opzI2OTielIO+XA3w7E+Nx/9tqsrlu35Eer+FEk 1njg== 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=gkoQ4yKyQbkM5xIPdrCokQ5Ecig+6ipfvG7VvhlSN5U=; b=nHl5tMEQNT7SC7ms4e2O/l6DGfPOqKC3VEFsrStgHcY6WsVkPSui0qV1C20guFmoc+ ACkZWoIedlYhZ4w0fbts2p/719QlX4Ecin0itwY1K/YRs1uPjMcnbBkWJVtTbiUG/M/J fZaXF8QovfsaGZGn+Zwm4Z4ea2E71cDPvIk69JutRR5/KpKyguiOt7tmv2jqHGG8d58M xO8v6lgHtKsvPJZsy96XilVi5TthPsJ8S+xrVpxixFaLz5Pq7gUk5QpFCT3POIcja4mp kfytoIvIJkzbG5YcS2I9uYsecUVQ+azFdDBk9104sZUE93RKRsYVZKHJ4B21NlkoAIZq dArg== X-Gm-Message-State: AE9vXwNzknW5AaSMCLbmfXWBvafVJXo4sX7Ve6pBgpvk1drftr82b3/K3XP7BG1AmTB8mg== X-Received: by 10.98.200.206 with SMTP id i75mr3321613pfk.172.1473967080385; Thu, 15 Sep 2016 12:18:00 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id m5sm6803252paw.40.2016.09.15.12.17.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Sep 2016 12:17:58 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 5/6] ARM: dts: imx6qdl-icore: Add usbotg support Date: Fri, 16 Sep 2016 00:46:54 +0530 Message-Id: <1473967015-8523-6-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473967015-8523-1-git-send-email-jagan@amarulasolutions.com> References: <1473967015-8523-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160915_121821_595247_0FD5D3BB X-CRM114-Status: GOOD ( 10.06 ) 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 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 fb77a47..a0ca442 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -63,6 +63,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 { @@ -122,6 +131,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>; @@ -196,6 +213,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