Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2595703pxb; Tue, 23 Feb 2021 10:37:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMTiTu4FBgsbhYmj54dvgvxDjQSue8kbTFKMl9CJiUcse0kKKTt50O4a0iVvKMVksN/d7e X-Received: by 2002:a17:906:39c6:: with SMTP id i6mr28365984eje.433.1614105431147; Tue, 23 Feb 2021 10:37:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614105431; cv=none; d=google.com; s=arc-20160816; b=Y34iRLAN0bQeOIFTAPNNvaWDFCKvWDplurC7h0mPeKc8E4x0CJMgKCYPeze6FNs0m/ ZBndruSEcIa42lZBIE+ZxPyPVLqemQU3VnCMuN4U+dWOoRpe4wgBRq6m6v8ZXvbqxoCC FOzcm1CUQd15iCNytKlf6EN6rGUbYoAEAQLkr0wSIW7Mt+rDiRs/XmaCTCzE8/V+k/Aq kx87FwRZZGZnkfEB2jKVJ5bQlbwEQ8DViXcLMujd4SOz8N4d3SsKwRdyeNx9Y7OkajEh GSc6IbUfC91NQoOBdLjnO4YtExaEtQzBnakBLvx7YAXMYJtHjwLZ3RY1EBmxTDMBd7cZ qOzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7vaRGfNIsUKhH8fhvo9jyzexi0V0RBXVRas8aLfblPM=; b=twdooD0TJfePKRz42XfKewZcCfy2PknqL1YaVCc39cfg77aZ+S+d8+fiitA3VIS69Q 6AtcBdApD6sBzRu09ugKK/rPsjQLUxfA2SAc7+nq1OmLwUKgQ2dRNCjv161LLCerQjOM 7YgzpyB2sd5/Gl827dxKl09XVXMGtgCs2PwISLXwZOX49qYHgwKmAvZVC9wa+PHnhZR2 zchw6HL1gIQcbMGdW844jP4ek+11iPNhbBE/NHKlmcDO2P26GqjsHtCAfCvUNVnxcNoA UiHkrNtX2lnj3a3oI6UtyND7Zhoee4nh2Dnywne9y+g8VHuonEgAZzEONj7wDX8fZA5R Dj1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si1382693ejb.524.2021.02.23.10.36.47; Tue, 23 Feb 2021 10:37:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233968AbhBWSex (ORCPT + 99 others); Tue, 23 Feb 2021 13:34:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233843AbhBWSee (ORCPT ); Tue, 23 Feb 2021 13:34:34 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69D64C06178A; Tue, 23 Feb 2021 10:33:54 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 95DAE1F448CF Received: by jupiter.universe (Postfix, from userid 1000) id 2F7A34800D9; Tue, 23 Feb 2021 19:33:49 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCHv1 1/4] ARM: dts: imx: ba16: add USB OTG VBUS enable GPIO Date: Tue, 23 Feb 2021 19:33:43 +0100 Message-Id: <20210223183346.138575-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210223183346.138575-1-sebastian.reichel@collabora.com> References: <20210223183346.138575-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add VBUS regulator GPIO information, so that USB OTG port can also be used in host mode. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-ba16.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index e4578ed3371e..4793ef5171aa 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -124,6 +124,10 @@ reg_usb_otg_vbus: regulator-usbotgvbus { regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + + pinctrl-0 = <&pinctrl_usbotg_vbus>; + gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; + enable-active-high; }; }; @@ -575,6 +579,12 @@ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 >; }; + pinctrl_usbotg_vbus: usbotgvbusgrp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 -- 2.30.0