From patchwork Tue Sep 20 09:22:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12981762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05470C54EE9 for ; Tue, 20 Sep 2022 09:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eU6DfRobM4WbUZijgKJr+ynTV9KqOUL3hhejsppHja8=; b=e4ulEBSpQraYA8 D00vTsdUvQ9lRlkwmM/mkSGWI3EXNnnQifbHeKNNWGr4m79ReDgL4f4gXuQ4BmBuFe7H0YULyohIR ecb+XxOiesVu+3t41HtD0U0RAruh0tfRILdp33syTj52SFf+HUSwuKKL18/J4e1wTbWqjeWmIIxRu 3rJjfwLhUj2yWZnes//tXnDNpO0LWyJBRVwfCz9Tj2xAUwtxwpl1UrBtobe9v0xaAPgHODsqUQvpV NHupjf50+4kZAk8YjAdXzj+q22qbR3KRcENVphMYVV1G+Gjj/E7rVGzAmewJFEoo71MuM862+b7cY 4IxQBD/ABJB/1BTqXenw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaZd8-002R6o-6I; Tue, 20 Sep 2022 09:33:26 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaZSt-002L7H-US for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2022 09:22:54 +0000 Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LzuTN-1pNE023f5n-0154XD; Tue, 20 Sep 2022 11:22:42 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/4] arm: dts: colibri-imx6: specify usbh_pen gpio being active-low Date: Tue, 20 Sep 2022 11:22:26 +0200 Message-Id: <20220920092227.286306-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220920092227.286306-1-marcel@ziswiler.com> References: <20220920092227.286306-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:SgwljqyddRh12mGq1Vz1EfYW+zMbDrq8Al6gunZLEMdkaxRmFzD 75+pQyYAXO7zdf9fd+V1D/R8SnvR1fnI7ApHP3KrHCb3DozaHfJ5y7swcG6DIs0K76vUiT3 UD/BFFu9vZERQrSa53wXRa/aj33JNsNJ04T1Q3XrzR4OJWpsVO1vVOCB+bv708dFLy9Ugjo dJo82ur458oYcMufh/zpg== X-UI-Out-Filterresults: notjunk:1;V03:K0:9XFEwyumTwg=:0TLml73q5jogPMuxlqE0Xe WL0/GyhPLxbCgLDszt8GFR0Nm6kbHONvmQcwRqCmEgE4glm74LU/gTIBBvXdHePAJTYkEFMT5 vyTkB+MUlCwCzatdA7Ezfwkko8mH29MgssMmlVISb2I7nzZXWcMkpO31dRn34ZHa5lPS6Div7 XiH7aHTolx3hMI0pn3Ph+KzmrDlr2rHvZJ/frgI6unCZf0usfoEXDIcbutpVS7DDIG643DcQE 5r4RaC6aQ6dV9UJXpyH2Gt0AoWvskgHPSR3TTAE2SayZtbiFV7GyVitNi97eB1ZRd/GlCXVEr ObzZGnreN1aqS9Wqm8fC+38Cv28AlPFeoJGhYaaepurXHKrSOifu63pEqKcyQ978H6ABijmr1 grfc8srJzly4FYJR5fE/y/We0MVNYbIqesiL9Rbbz42x6+ckBn43KZYbFF5mdamTQw7qivMXe O8QgJA0ji4sfFLmjqEw57H8i9KY38YZZMfYc43fiGoGL0S4JG6f8o0wfB/DHatreXd9b7xs1H 3sig5y4u/Mu4h4IrpuAhyfcW9ffm5LVJQqtWqbaPuQLIvdnKiphV2bD8PNZC/lqEeLZ830RS+ Oh5aDXkwriVw+5OBhzM7/n2VZJFJrmrP1hnnDlwhvaj6YulWS33bkhmCwTK5Nq8xh7vk499KX w3nRH5P+NBfjyE4mQ6tKxemwGWoKSOJAkwgCjDraIr/ZU9vE4dnGSXN6RoO/sp2WfOnKXJb7o sn6gQFVQlFsFWy2ZN28cTHqRESb93LO80JqUoWiwnHPoA74fEt7DkQ9d5OKvp7XvsSobcUXaL oa4SdM6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220920_022252_107104_C54A76F2 X-CRM114-Status: GOOD ( 10.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Marcel Ziswiler Specify USBH_PEN GPIO being active-low rather than active-high. Note that this should not have any functional impact as for fixed regulators the regular GPIO polarity is ignored and a true active-high enable GPIO would need an additional enable-active-high property which is/was not the case here. However, this may be rather confusing which this patch fixes. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/imx6qdl-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 21c5049bda4e..d8f985f297e4 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -112,7 +112,7 @@ reg_module_3v3_audio: regulator-module-3v3-audio { reg_usb_host_vbus: regulator-usb-host-vbus { compatible = "regulator-fixed"; - gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; /* SODIMM 129 / USBH_PEN */ + gpio = <&gpio3 31 GPIO_ACTIVE_LOW>; /* SODIMM 129 / USBH_PEN */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_regulator_usbh_pwr>; regulator-max-microvolt = <5000000>;