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 DAFD0C433E0 for ; Thu, 14 Jan 2021 15:14:59 +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 73A1523A5F for ; Thu, 14 Jan 2021 15:14:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73A1523A5F 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=qxnc+aMJC+Cw9ex85uGxNxG07eUEOp1VkGj+d1zqM0w=; b=xjwegwnY8ykRepd+I3tQJZj56 eIyRZhDwCYVYBLcCANmeW70L5k7JnAQu92+jg3r9LJBmsdXQPBfsoX3xx86MujCLkBmVtTTp8LX8e 09h17ur/8O4RJtyJiAGcTXXIekWE3uFsc0stVZVKtP/UOdDu0xGWcS5kDrMbpi+CUnFnSbBLO7n8c w99aG9AhxULMjxX+aS8i4jXbLgHND4/ToJsbdk7bGk1Smyr52U7IrhtmjWZkwtYcY/XYs3LhJU+NY prLoIP5/rvlPlU1jN72ZurBjm0Z6kSsCrS2rRYsqqlu7s001cUxb+kGW5A5m2AaUdDSLKHhlcsCAj 1AoJ4vylA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l04JD-0001mA-Fb; Thu, 14 Jan 2021 15:13:11 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l04HZ-0000wl-Mm for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2021 15:11:30 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10EF23VH010887; Thu, 14 Jan 2021 16:11:27 +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=WaZ5bg6WPRMoUvlAIWZN6JCUBmMap+s2PBMI/B12alg=; b=GbV6ajqjGScjfBfJlt7cdkilHrFBTJUksYFswjQrTQlRwcaCB6/oDMr2C9LTwVbM5EPt mARFuPhSYavUFQG1g+yGe6u0AbQMK1SQ7kTij/KO9zvHn9Vk6uwqDcru0npqmNKFZ+mL 5aC7TkXFQ/JuF9q6RYWkXYzWanf9eE0qbbJ1QHv54hWSzx8URFJO8qpdEEjfhykpTe+E E98KpnK3aKY56W6Ikgh3FwBmLrHtFn4M0Af4Pn4CTRWUERyInUqjcWCWocmOMt7uIIjj /7kIsrWBIaQvpQ9Xr8bzFWhEyr2RW5SLER748Fa89Xsf5GpK9/Erz51l7Dyl/VGOXxVW YQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 362379e7f9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Jan 2021 16:11:27 +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 1E89C10002A; Thu, 14 Jan 2021 16:11:27 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0D4AE273FB7; Thu, 14 Jan 2021 16:11:27 +0100 (CET) Received: from lmecxl0912.lme.st.com (10.75.127.51) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 14 Jan 2021 16:11:26 +0100 Subject: Re: [PATCH 1/2] ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX To: Marek Vasut , References: <20201229175521.268234-1-marex@denx.de> From: Alexandre TORGUE Message-ID: Date: Thu, 14 Jan 2021 16:11:25 +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: <20201229175521.268234-1-marex@denx.de> Content-Language: en-US X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) 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_05: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_101130_016887_06059765 X-CRM114-Status: GOOD ( 21.36 ) 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: Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Patrick Delaunay , 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/29/20 6:55 PM, Marek Vasut wrote: > The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0. > Due to a change in gpiolib-of.c, setting flags to GPIO_ACTIVE_LOW and > using output-low DT property leads to the GPIO being set high instead. > > Fixes: ac68793f49de ("ARM: dts: stm32: Add DHCOM based PicoITX board") > 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-picoitx.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > index 25528a1c096f..757707766fa0 100644 > --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi > @@ -49,7 +49,7 @@ &gpioa { > */ > usb-port-power-hog { On my tree this node is "usb-port-power". Do you want to update the node name too ? I can do it directly during the merge if you want. (Note, it is the case for DRC02 hog update). regards alex > gpio-hog; > - gpios = <13 GPIO_ACTIVE_LOW>; > + gpios = <13 0>; > output-low; > line-name = "usb-port-power"; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel