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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24F2AC433F5 for ; Fri, 8 Oct 2021 06:47:05 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A595760EFE for ; Fri, 8 Oct 2021 06:47:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A595760EFE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4565F835DA; Fri, 8 Oct 2021 08:47:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="Gz5s8qSF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD9138337C; Fri, 8 Oct 2021 08:46:59 +0200 (CEST) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C4B3E835D0 for ; Fri, 8 Oct 2021 08:46:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=4915a58762=patrice.chotard@foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1984ZJjN020838; Fri, 8 Oct 2021 08:46:55 +0200 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=UeTvB/3mA8Mhvuu3QEmdFz/aogDvo2om4EFRTfkvf7Y=; b=Gz5s8qSF4zes8Lh/tkCIALhvxiogVR1g0fER6ZAOKpiwENWzs9WTDBY4Iw3BCDaFuDmF /BzAcMKtFVgBxPsd2WE2TB+WRTHCtcS4it8VIGNtHiFnj2BKY2KMz63x7y/hAH+lqkie HMwwBboEyiNw/7RC1Pv/5ozm39+56CPkvoc+0aYRM1Nzo+YL4gE/BcTygaCBVyrr5xWJ uLVU3PFxHyOav2PJ7LpY/er3uFSSHOAG5Vam8r3iAmAUk88OtDjUi0I+Ylrpu1vZ/8Tv lXUXULTO0308vjln+0/Fe65KFKgnN9/84CA2ShSVpHjv5prDeHIIZa6w2wuiyqdxN2Ar 2g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3bjbjshqxq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Oct 2021 08:46:55 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1C641100034; Fri, 8 Oct 2021 08:46:55 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 13CBF214D37; Fri, 8 Oct 2021 08:46:55 +0200 (CEST) Received: from lmecxl0573.lme.st.com (10.75.127.44) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 8 Oct 2021 08:46:54 +0200 Subject: Re: [PATCH 2/2] board: dh_stm32mp1: Remove gpio_hog_probe_all() from board To: Patrick DELAUNAY , CC: U-Boot STM32 , Marek Vasut , Simon Glass References: <20210901095143.4143-1-patrice.chotard@foss.st.com> <20210901095143.4143-2-patrice.chotard@foss.st.com> <5e6e9e55-25bc-66e0-4691-481be727f670@foss.st.com> From: Patrice CHOTARD Message-ID: <62fc0c30-7da1-fe78-050b-4ff743d0da38@foss.st.com> Date: Fri, 8 Oct 2021 08:46:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <5e6e9e55-25bc-66e0-4691-481be727f670@foss.st.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-08_02,2021-10-07_02,2020-04-07_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi On 9/3/21 10:31 AM, Patrick DELAUNAY wrote: > Hi Patrice, > > On 9/1/21 11:51 AM, Patrice Chotard wrote: >> DM_GPIO_HOG flag has been replaced by GPIO_HOG flag since a while in >> commit 49b10cb49262 ("gpio: fixes for gpio-hog support"). >> >> And furthermore, gpio_hog_probe_all() is already called in board_r.c. >> So gpio_hog_probe() can be removed from stm32mp1.c. >> >> Signed-off-by: Patrice Chotard >> Cc: Marek Vasut >> --- >> >>   board/dhelectronics/dh_stm32mp1/board.c | 3 --- >>   1 file changed, 3 deletions(-) >> >> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c >> index d7c1857c16..725b438d76 100644 >> --- a/board/dhelectronics/dh_stm32mp1/board.c >> +++ b/board/dhelectronics/dh_stm32mp1/board.c >> @@ -593,9 +593,6 @@ int board_init(void) >>       /* address of boot parameters */ >>       gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100; >>   -    if (CONFIG_IS_ENABLED(DM_GPIO_HOG)) >> -        gpio_hog_probe_all(); >> - >>       board_key_check(); >>     #ifdef CONFIG_DM_REGULATOR > > > Reviewed-by: Patrick Delaunay > > Thanks > Patrick > Applied on u-boot-stm32 for next Thanks Patrice