From patchwork Tue Oct 25 21:19:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 9395539 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 7F0D960233 for ; Tue, 25 Oct 2016 21:23:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E15B295D0 for ; Tue, 25 Oct 2016 21:23:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5301F29664; Tue, 25 Oct 2016 21:23:52 +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_SIGNED, 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 C8681295D0 for ; Tue, 25 Oct 2016 21:23:47 +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 1bz9Ao-0005At-9r; Tue, 25 Oct 2016 21:22:18 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bz991-0003L7-K0 for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 21:20:33 +0000 Received: by mail-wm0-x236.google.com with SMTP id c78so187482918wme.0 for ; Tue, 25 Oct 2016 14:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=joyznFdj/U0lIT145QBqW/UUlOMGzWAfoPhJZgqI4Dw=; b=c1BVXh6v9FZo2GVtgOxb9XKs4ULFmSNjy/e+NIP7pXZFIyKOG610M4qU82f801MX+O 9O2Dv4DR7uo+pgnbH0moprc9ly6JXvmo4PihdT7233qMWJyjyW68Ai+/DxfNqcsMl5Qc ABwXvpkga+exEC82wT5RPxTRDw0ntQAV6qHM4V/2X901M+MTbMjBwU5C0FMwdj1tsa+g vUc/paRthstPwviQhuVref+obxiuh9KIRqrwEddoyNCfd4V3mvbjpZE9gM3CvM/RrUFw 7+GXfoqya3mBhMBwZORhI5hOaVpAvxhZK/wgnB/ob6a130847pS3bBmmefZl5vMA/+sb 5zIA== 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=joyznFdj/U0lIT145QBqW/UUlOMGzWAfoPhJZgqI4Dw=; b=WMf7/qHuqvERxy+vFrKZK/+T9zGPbzHTotQuNkTaq16qWMoovoFaLQyKBFJ95iRq3d EQIwMx8mIOb4uQhymi4H3xshOwSdhhYvek2xrN9IMIG8wZz/yuTkbuLRw5SxsXzXPHvc Jec/JeddN7wfsIiKrN5rAsLRjSNe3dBuyCjlgIB3t4O6e/Qx0yTEQnpwj+JMTsYzjP7e ZIBZfGTFL1CNf0Kxf5toAV68gRq051Mw1H6J+PWDrPgtblFXhzV6CwSY2rhySB7iZ6P6 /JgB7/pwEBwoURBnXzVUHfo3ndcU2hEFKKBRXueeLz1+Fov8QZZ4+eiqGjuAxUrfeXDp kcjg== X-Gm-Message-State: ABUngveddxymDlwfDS4xknvksmAGW4QhB2HsL2odguA8Q55b8xiol0H0tiEUVromvDiRQA== X-Received: by 10.28.156.10 with SMTP id f10mr5392295wme.57.1477430405854; Tue, 25 Oct 2016 14:20:05 -0700 (PDT) Received: from t450s.lan (89-92-98-28.hfc.dyn.abo.bbox.fr. [89.92.98.28]) by smtp.googlemail.com with ESMTPSA id f17sm5724974wmf.10.2016.10.25.14.20.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 14:20:05 -0700 (PDT) From: Gary Bisson To: devicetree@vger.kernel.org Subject: [PATCH 5/5] ARM: dts: imx6qdl-nitrogen6x: add missing USB PHY reset control Date: Tue, 25 Oct 2016 23:19:55 +0200 Message-Id: <20161025211955.5345-6-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161025211955.5345-1-gary.bisson@boundarydevices.com> References: <20161025211955.5345-1-gary.bisson@boundarydevices.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161025_142027_918186_F2DFADF1 X-CRM114-Status: GOOD ( 10.19 ) 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: fabio.estevam@freescale.com, linux@arm.linux.org.uk, Gary Bisson , robh+dt@kernel.org, kernel@pengutronix.de, shawnguo@kernel.org, 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 Declared as a regulator since the driver doesn't have a reset-gpios property for this. This ensures that the PHY is woken up, not depending on the state the second stage bootloader leaves the pin. Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index c7016b2..d471ced 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -108,6 +108,19 @@ startup-delay-us = <70000>; enable-active-high; }; + + reg_usb_h1_vbus: regulator@5 { + compatible = "regulator-fixed"; + reg = <5>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; }; gpio-keys { @@ -516,6 +529,12 @@ >; }; + pinctrl_usbh1: usbh1grp { + fsl,pins = < + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x030b0 + >; + }; + pinctrl_usbotg: usbotggrp { fsl,pins = < MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 @@ -633,6 +652,7 @@ }; &usbh1 { + vbus-supply = <®_usb_h1_vbus>; status = "okay"; };