From patchwork Wed Oct 5 13:39:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 12999263 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 F331FC433F5 for ; Wed, 5 Oct 2022 13:41:44 +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=njDkqVljCt95qh1PDCOXmoUjcuBr+Y6AjUvwkxCMvNY=; b=MePluuITcwpNJV sTBWV712XPk0n3kOa2aOGdMoqX8iE7zzO1gcGwnwFDJNdryp+SsKt8exF/0ay6vOHHiPeSDQZjSiy 8gMSm7eEdSknDJF9v0G/uDmAgm7Em32vQL4We/ng83RiKhFFZoD7cItaAMd3JBUPBGoaRyj/eMmG7 VZmDdnIlQBYpoBqS0JjTkE/wIn7n6yTO/1ES2nzkWYMU9dU9/espGnXf4/oNFonuNCUYzgNOmOlGa 6stnuk/Ml52eBtTnSRq41eK/z6bo1CPC1iMxNTc3g+PhZYULruhtLsmLhb05cxv373OMQlNKz/njC 1Yfk2JAdMw4ryWYTWk0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1og4dS-00EHge-Lu; Wed, 05 Oct 2022 13:40:31 +0000 Received: from smtp-bc0d.mail.infomaniak.ch ([45.157.188.13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1og4ck-00EHC1-M4 for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2022 13:39:49 +0000 Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4MjFzt6glYzMqPd3; Wed, 5 Oct 2022 15:39:38 +0200 (CEST) Received: from philippe-pc.toradex.int (unknown [31.10.206.125]) by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4MjFzt4Qq1zMpnPl; Wed, 5 Oct 2022 15:39:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1664977178; bh=6zUwdKLzRxtYDq/hGVP9cXox20ACTudefkYhW9W1meg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AYc1UvyxewTxvuOVJlG9k0PdAnnv6BDZEcFf7vE+p9UjMRObCAtuP4J6T0K4zSkXJ YJkhLoIB0fwZ3nhiQWUqEA5f2VAa0pwX6pGQT2IYRKA8GWiwV2ncUzKlA10FPFwY3X VnTOEZRJMkg9Qf4/brM1cOPknfPdyAY9LhoMnlas= From: Philippe Schenker To: devicetree@vger.kernel.org Cc: Philippe Schenker , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm: dts: colibri-imx6ull: add -hog to gpio hogs Date: Wed, 5 Oct 2022 15:39:28 +0200 Message-Id: <20221005133929.1243443-3-dev@pschenker.ch> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221005133929.1243443-1-dev@pschenker.ch> References: <20221005133929.1243443-1-dev@pschenker.ch> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_063947_120305_B97A8500 X-CRM114-Status: GOOD ( 11.65 ) 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: Philippe Schenker Since it seems to be a naming-convention to add -hog for gpio hogs do this. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri-iris-v2.dts | 8 ++++---- arch/arm/boot/dts/imx6ull-colibri-iris.dtsi | 4 ++-- arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dts | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri-iris-v2.dts b/arch/arm/boot/dts/imx6ull-colibri-iris-v2.dts index fac7428685b4..f6b31118be17 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-iris-v2.dts +++ b/arch/arm/boot/dts/imx6ull-colibri-iris-v2.dts @@ -29,7 +29,7 @@ &backlight { &gpio1 { /* This turns the LVDS transceiver on */ - lvds-power-on { + lvds-power-on-hog { gpio-hog; gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */ line-name = "LVDS_POWER_ON"; @@ -42,7 +42,7 @@ &gpio2 { * This switches the LVDS transceiver to the single-channel * output mode. */ - lvds-ch-mode { + lvds-ch-mode-hog { gpio-hog; gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */ line-name = "LVDS_CH_MODE"; @@ -52,7 +52,7 @@ lvds-ch-mode { /* * This switches the LVDS transceiver to the 24-bit RGB mode. */ - lvds-rgb-mode { + lvds-rgb-mode-hog { gpio-hog; gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */ line-name = "LVDS_RGB_MODE"; @@ -64,7 +64,7 @@ &gpio5 { /* * This switches the LVDS transceiver to VESA color mapping mode. */ - lvds-color-map { + lvds-color-map-hog { gpio-hog; gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */ line-name = "LVDS_COLOR_MAP"; diff --git a/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi b/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi index 7f3b37baba88..166a0aefc869 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi @@ -59,7 +59,7 @@ &gpio1 { * in userspace. * The same applies to uart1_tx_on. */ - uart25_tx_on { + uart25_tx_on-hog { gpio-hog; gpios = <15 0>; output-high; @@ -67,7 +67,7 @@ uart25_tx_on { }; &gpio2 { - uart1_tx_on { + uart1_tx_on-hog { gpio-hog; gpios = <7 0>; output-high; diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dts b/arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dts index ed89d07beae5..488da6df56fa 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dts +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dts @@ -29,7 +29,7 @@ &backlight { &gpio1 { /* This turns the LVDS transceiver on */ - lvds-power-on { + lvds-power-on-hog { gpio-hog; gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */ line-name = "LVDS_POWER_ON"; @@ -42,7 +42,7 @@ &gpio2 { * This switches the LVDS transceiver to the single-channel * output mode. */ - lvds-ch-mode { + lvds-ch-mode-hog { gpio-hog; gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */ line-name = "LVDS_CH_MODE"; @@ -52,7 +52,7 @@ lvds-ch-mode { /* * This switches the LVDS transceiver to the 24-bit RGB mode. */ - lvds-rgb-mode { + lvds-rgb-mode-hog { gpio-hog; gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */ line-name = "LVDS_RGB_MODE"; @@ -64,7 +64,7 @@ &gpio5 { /* * This switches the LVDS transceiver to VESA color mapping mode. */ - lvds-color-map { + lvds-color-map-hog { gpio-hog; gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */ line-name = "LVDS_COLOR_MAP";