Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp465806pxk; Wed, 23 Sep 2020 07:42:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5uhT6W3z0JF71TD9R7RZsdObZpuL72pK+l7RtNTLs2+WmhYAQA/0Ok2M8V/QXH0aOdLmf X-Received: by 2002:a50:aa94:: with SMTP id q20mr9800196edc.119.1600872161068; Wed, 23 Sep 2020 07:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600872161; cv=none; d=google.com; s=arc-20160816; b=oqzWUOVX4deUdjI0FPEI088U/rfR9ZcAUlbapWsZofE2R5ExAVIy6m+E2eC9ogjhdk v4odpq9Z0JwFbhR5ZEjqzUcUZ2rUHVbYuDjSjwPZnzX/yIEXRDbPcb29M45EBc4Xjf01 1TMFSi2afP3fye5Rl2qh1gT4zlho/qDEW4IexO222MQQ8GC7VlP6Dme5CneNunm0STPz QIS/+RpThFFFjLl2kxaec0KWvqjcwsw4LZbfjGV0rMxioFc8CgH9lu11MwQ7DiknWKur M588zvvkjEDm9gBtBdknEY9HoWoscQWDS/DFLPNhQiLurRm656Yb6zG/7eoXWQU2eSxL hJMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=loolS7kSoxltrG7dSzwB6MudYSEn1Df1yauIPl/mD80=; b=td7/e//CFrjUb0+ZN7MLApbThB6SD7MrsJ5yIv441qOiW07vAzkh5DYy3rLbgDhX6O nSNJ/I28yXERump3xommJ9beDjZgjETx1xFAwBZ5dKBO3SsPKs7sjxc90fxMiLied48E UdGcp3F0ik2cyovSw8EtaLXyjzffQyDP9blSLgrsbtcf0EQkeKgJmm5dAybq0i6t+Uf8 MRfQk3D7GuyBC4WlYSlvPJLayZvG2zKcYgANWLSCL3SjsY3IICMmXohdpWT9FxmEhZaS Esx6aTp/F08NYEjNWi0hnGug3PCwePHTeqoXOWjiezE4Sf+1fnx2uPWo4o9ZPNwX1sGk eg1A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si44939ejg.633.2020.09.23.07.42.16; Wed, 23 Sep 2020 07:42:41 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726802AbgIWOkr (ORCPT + 99 others); Wed, 23 Sep 2020 10:40:47 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:39268 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbgIWOkm (ORCPT ); Wed, 23 Sep 2020 10:40:42 -0400 Received: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 0D6AF3B2800; Wed, 23 Sep 2020 14:39:27 +0000 (UTC) X-Originating-IP: 90.65.92.90 Received: from localhost (lfbn-lyo-1-1913-90.w90-65.abo.wanadoo.fr [90.65.92.90]) (Authenticated sender: gregory.clement@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id DB6D0FF80F; Wed, 23 Sep 2020 14:39:02 +0000 (UTC) From: Gregory CLEMENT To: Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Rob Herring , =?utf-8?Q?Beno=C3=AEt?= Cousson , Tony Lindgren , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Russell King , Joel Stanley , Andrew Jeffery , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Magnus Damm , Tero Kristo , Nishanth Menon , Michal Simek , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: Re: [PATCH v3 14/15] ARM: dts: armada: align GPIO hog names with dtschema In-Reply-To: <20200916155715.21009-15-krzk@kernel.org> References: <20200916155715.21009-1-krzk@kernel.org> <20200916155715.21009-15-krzk@kernel.org> Date: Wed, 23 Sep 2020 16:39:02 +0200 Message-ID: <87a6xgimm1.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, > The convention for node names is to use hyphens, not underscores. > dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. Applied on mvebu/dt Thanks, Gregory > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/boot/dts/armada-388-clearfog.dts | 4 ++-- > arch/arm/boot/dts/armada-388-clearfog.dtsi | 10 +++++----- > arch/arm/boot/dts/armada-388-helios4.dts | 6 +++--- > 3 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts > index 20f8d4667753..4140a5303b48 100644 > --- a/arch/arm/boot/dts/armada-388-clearfog.dts > +++ b/arch/arm/boot/dts/armada-388-clearfog.dts > @@ -73,13 +73,13 @@ > * 14-SFP_TX_DISABLE > * 15-SFP_MOD_DEF0 > */ > - pcie2_0_clkreq { > + pcie2-0-clkreq-hog { > gpio-hog; > gpios = <4 GPIO_ACTIVE_LOW>; > input; > line-name = "pcie2.0-clkreq"; > }; > - pcie2_0_w_disable { > + pcie2-0-w-disable-hog { > gpio-hog; > gpios = <7 GPIO_ACTIVE_LOW>; > output-low; > diff --git a/arch/arm/boot/dts/armada-388-clearfog.dtsi b/arch/arm/boot/dts/armada-388-clearfog.dtsi > index a0aa1d188f0c..f8a06ae4a3c9 100644 > --- a/arch/arm/boot/dts/armada-388-clearfog.dtsi > +++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi > @@ -141,31 +141,31 @@ > #gpio-cells = <2>; > reg = <0x20>; > > - pcie1_0_clkreq { > + pcie1-0-clkreq-hog { > gpio-hog; > gpios = <0 GPIO_ACTIVE_LOW>; > input; > line-name = "pcie1.0-clkreq"; > }; > - pcie1_0_w_disable { > + pcie1-0-w-disable-hog { > gpio-hog; > gpios = <3 GPIO_ACTIVE_LOW>; > output-low; > line-name = "pcie1.0-w-disable"; > }; > - usb3_ilimit { > + usb3-ilimit-hog { > gpio-hog; > gpios = <5 GPIO_ACTIVE_LOW>; > input; > line-name = "usb3-current-limit"; > }; > - usb3_power { > + usb3-power-hog { > gpio-hog; > gpios = <6 GPIO_ACTIVE_HIGH>; > output-high; > line-name = "usb3-power"; > }; > - m2_devslp { > + m2-devslp-hog { > gpio-hog; > gpios = <11 GPIO_ACTIVE_HIGH>; > output-low; > diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts > index fb49df2a3bce..b3728de3bd3f 100644 > --- a/arch/arm/boot/dts/armada-388-helios4.dts > +++ b/arch/arm/boot/dts/armada-388-helios4.dts > @@ -166,19 +166,19 @@ > interrupt-controller; > #interrupt-cells = <2>; > > - board_rev_bit_0 { > + board-rev-bit-0-hog { > gpio-hog; > gpios = <0 GPIO_ACTIVE_LOW>; > input; > line-name = "board-rev-0"; > }; > - board_rev_bit_1 { > + board-rev-bit-1-hog { > gpio-hog; > gpios = <1 GPIO_ACTIVE_LOW>; > input; > line-name = "board-rev-1"; > }; > - usb3_ilimit { > + usb3-ilimit-hog { > gpio-hog; > gpios = <5 GPIO_ACTIVE_HIGH>; > input; > -- > 2.17.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com