From patchwork Tue Oct 25 21:19:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 9395531 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 5172C60233 for ; Tue, 25 Oct 2016 21:22:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F85E295D0 for ; Tue, 25 Oct 2016 21:22:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2409929664; Tue, 25 Oct 2016 21:22:45 +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 9DAA7295D1 for ; Tue, 25 Oct 2016 21:22:40 +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 1bz99V-0004YJ-9f; Tue, 25 Oct 2016 21:20:57 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bz98y-0003I1-Il for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 21:20:29 +0000 Received: by mail-wm0-x233.google.com with SMTP id c78so187481833wme.0 for ; Tue, 25 Oct 2016 14:20:05 -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=XuYQGDCKyXExxhKH/rSW7AfNkIAOFhPzthZueX+PpdA=; b=E0wOOpwK3CvZM7m2hWNRexq4hOeOu1rlFveo1QDabWo4nMUiWcxBfUlbU/65EsHP7j udVg/ZlP1wHiXpRLhzf0fuQPdsvPjUR3w6oU+MLfJq4hDAZIEAYYs5ucbk/QiMjl3uIm k+QPiVfZ8IUwcUa0HqHhNPwwCHE9xPP4sKFmYgiqhAcpl1E4JdTnnO9IDXikiPwgKm9p jy4gaB9PT4vyOaf++pkRhzlxF319fyCDRUr/sx/6BS0TTKU0GRfaqUFEdgCffRWShXvS wWSZZyiS2fqbnSwYQW0C0tJd0u0MfgNdaRlTNtOpfGyQ5ZDPJC0QD3EWB2t0tqnfaYdu tvXA== 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=XuYQGDCKyXExxhKH/rSW7AfNkIAOFhPzthZueX+PpdA=; b=PSK/q8XEjtVToU61UTw9dWMqganY1gU5fDMffYybgW7rlAHQowI6Etnji0+TKV5MPp 8F/JQyFN0x1XSSp2ueSyZZDIqbSwrpByA/z+bXUyBVsWcJ4BnAK8pSvYfFXPrFufp1Cc pwB+w0rwrECzATb2+Gd8wPjs+CAq9IhRpFbI6deCQ0vURAUPE2CMtzW4dImZDZYfLn23 ibNKwL5o0FAeOgvp8131fOmUOoGUmJjaSTGrFB6T5JLC0mwQYAsqT73g99F0aavT7K/z JOa2kVBoMgSyKQpQsmKgFtXBFPjISVi9UHOy6q2tuwr8LFggcrdTe1pn6z05xKibQDiH Vf8A== X-Gm-Message-State: ABUngvfMAa0MrAKXDHSo190n9hYbqoez/7Tdfip3kTmZh9I++TyLhKUvVM42Sp2hYS7GIA== X-Received: by 10.28.25.134 with SMTP id 128mr4790056wmz.99.1477430404505; Tue, 25 Oct 2016 14:20:04 -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.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 14:20:04 -0700 (PDT) From: Gary Bisson To: devicetree@vger.kernel.org Subject: [PATCH 3/5] ARM: dts: imx6qdl-sabrelite: add missing USB PHY reset control Date: Tue, 25 Oct 2016 23:19:53 +0200 Message-Id: <20161025211955.5345-4-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_142024_988202_C1DC9051 X-CRM114-Status: GOOD ( 10.08 ) 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-sabrelite.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index cebea8a..bf00267 100644 --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi @@ -94,6 +94,19 @@ pinctrl-0 = <&pinctrl_can_xcvr>; gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; }; + + reg_usb_h1_vbus: regulator@4 { + compatible = "regulator-fixed"; + reg = <4>; + 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 { @@ -481,6 +494,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 @@ -578,6 +597,7 @@ }; &usbh1 { + vbus-supply = <®_usb_h1_vbus>; status = "okay"; };