Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3432391ybt; Tue, 30 Jun 2020 02:37:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz69kVXIMFia+Yx14m9B1cOIEAldm8qW5PekGOUB4vsP8xRKaGCP+YfRVhSGYaiphTtrSIy X-Received: by 2002:a17:906:1688:: with SMTP id s8mr8383049ejd.164.1593509821874; Tue, 30 Jun 2020 02:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593509821; cv=none; d=google.com; s=arc-20160816; b=aZXgd3wsWtwIt4MgmFsKc/pUVyyP44VVVEYGnRvmcdTqrB0WQD+A3nSvbfqKixpx+T FuzEdkZ48U9qbBNEjGemHipZkI7dnS5xi2OaIssPdRISA8Ex19NcRlrxlFEhAc3LjQkh iZcF1Lbo6dTp3B3VQjXxn8nkiWjXpBZMPIvZYnjQ69rAVV/5Xo13VqyzwB+ID3Txr7OU T+ggc7g+Ypm3rbgInr4gglIv7+5NK/jlKT2iiYwxQpgiRuKvpV0C6RuOBBkco5vs8sGD HEW/NVScNfKERM8m/FXQaKFvOUU3BtUb8v7w3SanJG67SwB0cOO/fUAwMRR6AU0BxfBv +QRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=XvCnsTc0gHyxA4bCQuL6yxD7F1TD1d0nVE+Ilwp4DeE=; b=Sf9ULbx0oaUrGIV4MPc/NjoYq/vDFRIf8LoBjaxcAUqKcBb6O1z8M3eJE3Q1NjMTm+ r+MtYB09536PkMz2ZPZwJaiJY169N0s/LRYSF0QifVaeNb3vKunBvrDqdkdfayCwA71C fFgfakQqcJgR60Hv8sjwOkk4WbL101VlP4PDI0svYWcz7mFMgLe8FqZkZ6ZtosMqGWlx seimYGsnJx+buRvF/28S3cG/5twMAYwRHG7dyaurbe7TJ7PI7RbR30Ss8dZicbs43KJ4 34hGYeTw64TJWxAZ+FcpemxrTrvm80s+51AFuWOfu1EpMwhvuT74ENl8LkWjf+3ehCHx UihQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="Xiq6/Exw"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt21si1416991ejb.402.2020.06.30.02.36.38; Tue, 30 Jun 2020 02:37:01 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="Xiq6/Exw"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731980AbgF3JgP (ORCPT + 99 others); Tue, 30 Jun 2020 05:36:15 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:24584 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730613AbgF3JgO (ORCPT ); Tue, 30 Jun 2020 05:36:14 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05U9Ytb1002355; Tue, 30 Jun 2020 11:35:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=XvCnsTc0gHyxA4bCQuL6yxD7F1TD1d0nVE+Ilwp4DeE=; b=Xiq6/ExwBe2jgYMzd+pcK7nxWvhuZTiZD4+4aj24d34XfntXZzCOg2vU6FyXga20MRKD PJOMKuRZSZrEgXKkZziTieNlwWC7FC6WQ7K5ug86Uc/UuIMj1FH5c6MokhYVTyd1RB4Y BViFUk/QltOESaJu/VrVtyK11Z3odChqDAl2TRZxDSeOSNsesG5PvoP6T2JMLbtl24n/ QJhdX61xYpJCFSWNu//POwF8zBpTJo0Zh/4hG69m+nY2ObKs8JX7I7gNJhF2Gsg4aJIA dGPTfO8/bP3n6l54ihWE3J1/86/86QAJnpe1rNONw8Ia2/X5tXbXZfJztV2RmEVDgQnS YA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 31wu89hxgm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jun 2020 11:35:42 +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 314C510002A; Tue, 30 Jun 2020 11:35:41 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 14BEE2ADA10; Tue, 30 Jun 2020 11:35:41 +0200 (CEST) Received: from [10.211.8.105] (10.75.127.49) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 30 Jun 2020 11:35:39 +0200 Subject: Re: [PATCH v5 4/6] memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver To: Richard Weinberger CC: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Mark Rutland , , Alexandre Torgue , Marek Vasut , , LKML , , References: <1591975362-22009-1-git-send-email-christophe.kerello@st.com> <1591975362-22009-5-git-send-email-christophe.kerello@st.com> From: Christophe Kerello Message-ID: Date: Tue, 30 Jun 2020 11:35:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG3NODE2.st.com (10.75.127.8) To SFHDAG6NODE2.st.com (10.75.127.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-06-30_03:2020-06-30,2020-06-29 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On 6/30/20 11:13 AM, Richard Weinberger wrote: > On Fri, Jun 12, 2020 at 5:24 PM Christophe Kerello > wrote: >> >> The driver adds the support for the STMicroelectronics FMC2 EBI controller >> found on STM32MP SOCs. >> >> Signed-off-by: Christophe Kerello >> --- >> + if (!IS_ERR(rstc)) { >> + reset_control_assert(rstc); >> + reset_control_deassert(rstc); > > Shouldn't there be a small delay between assert and deassert? > Other than that the code looks good to me. > Even if I have currently not met any issue, I will add a udelay(2) to be safe. It will be part of v6. Thanks, Christophe Kerello.