From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7159C433DB for ; Thu, 14 Jan 2021 17:20:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6575323B31 for ; Thu, 14 Jan 2021 17:20:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6575323B31 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w9p88mtkTF3gGFyNgi9dMvQqqymG0PL9rnQ1pse/VTk=; b=k8CoqUGTtCh+YOYZ51iIQPEcX awaq55kBJUfuYt7VZHJjFJdA8XpBezPfiPRJ7BBOW5zylXxZcNL4Fm8FZ3Emsgm5XgAZxMoX3awSG 2MTUVJGbSyFeBUs3rNIIEgMT3PZqj9TvojAcAXd5olx8C3K9NANrKcOwir75tYIglAG+mfaYsjF/+ nN3VxqN/LpzVTmQKb/KI2w+hh5xTWFWpyOcCsROeJwCLNscOrGftX0oi94+EvTdPmVVQTL7GYzTGO MngH0wGvcr2ir8wAmScQVvBwHH/d6OfeJ2F7CSI08xzM/DJJaovHUHaIz++7M90tSxgsHEnJ8WXtg i9eCCA+cw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l06H1-0008QK-0k; Thu, 14 Jan 2021 17:19:03 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l06Gx-0008Ow-L0 for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2021 17:19:01 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10EHGteL013630; Thu, 14 Jan 2021 18:18:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=cUj1yf2hybpTigFaCAblbQIfka7vGPKUzsMBvqfy8/8=; b=2brnYtg+uCRlmhchREuRQhrp5OuoZ2YrYtHKhM4pe9iukUbae2LZKrplex/W00torm3n /e0SYTFyFFdoV/ZxObj1stqNNDTJs25Z1dS//INg1kCFMOsqlnnFlDs6qhf3xoxaAZNf yrdpuP8Vc+pcviepXqtVJ/dw8Rx0JB2It4AiC4AT26soihi97RJz1eewyuQ5JhHos806 w8AF8ftC6pzuGhhP18SivUrAoOdttm2QQOlEBe8dnktNeYDuXVDerM7lCYwcDAMpFHCM cQvL3oGSXFFzoFFebU56U/HghN4Ne62TSaEFXf0haDTutcbX8B3xawOGKG4Vheyc7rH5 dQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 35yp3y3uug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Jan 2021 18:18:55 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1170B10002A; Thu, 14 Jan 2021 18:18:55 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 066832C38A1; Thu, 14 Jan 2021 18:18:55 +0100 (CET) Received: from lmecxl0912.lme.st.com (10.75.127.49) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 14 Jan 2021 18:18:54 +0100 Subject: Re: [PATCH] ARM: dts: stm32: Fix GPIO hog names on DHCOM To: Marek Vasut , References: <20201224062438.92582-1-marex@denx.de> From: Alexandre TORGUE Message-ID: <07c83c12-e167-0458-e6f2-cc5fcac943d6@foss.st.com> Date: Thu, 14 Jan 2021 18:18:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201224062438.92582-1-marex@denx.de> Content-Language: en-US X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-14_06:2021-01-14, 2021-01-14 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210114_121859_959087_A5AECD40 X-CRM114-Status: GOOD ( 22.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Patrick Delaunay , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Maxime Coquelin , Patrice Chotard Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marek On 12/24/20 7:24 AM, Marek Vasut wrote: > The GPIO hog node name should match regex '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', > make it so and fix the following two make dtbs_check warnings: > > arch/arm/boot/dts/stm32mp157c-dhcom-picoitx.dt.yaml: hog-usb-port-power: $nodename:0: 'hog-usb-port-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$' > arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: hog-usb-hub: $nodename:0: 'hog-usb-hub' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$' > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Maxime Coquelin > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > --- > arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi | 4 ++-- > arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi > index 62ab23824a3e..cb68afbbea68 100644 > --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi > +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi > @@ -33,7 +33,7 @@ &gpiob { > * during TX anyway and that it only controls drive enable DE > * line. Hence, the RX is always enabled here. > */ > - rs485-rx-en { > + rs485-rx-en-hog { > gpio-hog; > gpios = <8 GPIO_ACTIVE_HIGH>; > output-low; > @@ -61,7 +61,7 @@ &gpioi { > * order to reset the Hub when USB bus is powered down, but > * so far there is no such functionality. > */ > - usb-hub { > + usb-hub-hog { > gpio-hog; > gpios = <2 GPIO_ACTIVE_HIGH>; > output-high; > diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > index 356150d28c42..b99f2b891629 100644 > --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > @@ -43,7 +43,7 @@ &gpioa { > * in order to turn on port power when USB bus is powered up, but so > * far there is no such functionality. > */ > - usb-port-power { > + usb-port-power-hog { > gpio-hog; > gpios = <13 GPIO_ACTIVE_LOW>; > output-low; > Applied on stm32-fixes with a Fixes tag added. Thanks. Alex _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel