Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3434838ybt; Tue, 30 Jun 2020 02:41:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdvsRClAvLUi+/LEmGBa5h+bPVvB4bMo4bCdPdQMFCpXQfFRLVl0NPd/lFNvcxg/IRxz1m X-Received: by 2002:aa7:de05:: with SMTP id h5mr21281063edv.275.1593510115682; Tue, 30 Jun 2020 02:41:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593510115; cv=none; d=google.com; s=arc-20160816; b=NoV3AWCaDlR2fdwRvGYi9/Vr9dpFsMi8N9KTySqJ1QXPOiMnweRKb7iv5U7Q89teN6 3lLpyK6X/bix3kBqvYtu/4tylFx+0X++ryUqBH8j9vsz2qoNlU5uQjojxxOo8g/I6HJX UBmbzjGdBjkEHHs/7EbcnScwSmRDqOxo+JK170OMEPHfZbvqZ458tGrzO4eEp4O8zpp5 OP+/rf3BElywsSTNtZKz1XMYJh3dsBQ4jIh6F3bVRByQP0pjBrDwuVv0fGnB30iUB4jF VSJ6192R12KzgmctX/q/+lwJLYEEWK8MKr5NnuAcS+JH9Ag+WGH7JSIkEnKbT2IRc224 EvBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=5H90Pe4bMMLutIfHzKEcav/8WqJKYghS2FutQtKU2/4=; b=KSUgvPKnZ9xUO1qpAFMnIhXPiSc7iyOdGepog82uTUAPNk5OA1SwP53AKGvGsLm9ea +HJQ3EyvUBfZowRMjbFhtCnEi48YhZs7LtCLcGQ5uoUb+Il3/WpjvWKclA279F3xdCxz rkhVQFAmDKnOe9G4UtyfsLzLaUGaEfMi28bIK7XTvbkoDjl6fwPmFY3iog5eukfhcmTC R43hc+OcawYgChNLflFot+rEf4QbkCc4mRfnn1d0l674vKdBfBtm8bukoEFEcPJypVny VfEhrj8Xx2aBoo23DEj11koRG5EIb73PAzLDdG5RNlDxkjWMXaMdOWCJi82geX6oeCZ3 1Ytg== 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 du6si1880217ejc.189.2020.06.30.02.41.32; Tue, 30 Jun 2020 02:41:55 -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 S1732059AbgF3Jjo convert rfc822-to-8bit (ORCPT + 99 others); Tue, 30 Jun 2020 05:39:44 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:44020 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732049AbgF3Jjn (ORCPT ); Tue, 30 Jun 2020 05:39:43 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id EB070607400F; Tue, 30 Jun 2020 11:39:40 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qd6xqziz9yTM; Tue, 30 Jun 2020 11:39:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 786BA6074029; Tue, 30 Jun 2020 11:39:37 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UNVw8191GTR5; Tue, 30 Jun 2020 11:39:37 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 423E0607400F; Tue, 30 Jun 2020 11:39:37 +0200 (CEST) Date: Tue, 30 Jun 2020 11:39:37 +0200 (CEST) From: Richard Weinberger To: Christophe Kerello Cc: Richard Weinberger , Miquel Raynal , Vignesh Raghavendra , Rob Herring , Mark Rutland , arnd@linaro.org, Alexandre Torgue , Marek Vasut , devicetree , linux-kernel , linux-mtd , linux-stm32@st-md-mailman.stormreply.com Message-ID: <1839269888.74591.1593509977137.JavaMail.zimbra@nod.at> In-Reply-To: References: <1591975362-22009-1-git-send-email-christophe.kerello@st.com> <1591975362-22009-5-git-send-email-christophe.kerello@st.com> Subject: Re: [PATCH v5 4/6] memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF68 (Linux)/8.8.12_GA_3809) Thread-Topic: memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver Thread-Index: IyChESkmAt61iUEj3iffmldxiXkByg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Christophe Kerello" > An: "Richard Weinberger" > CC: "Miquel Raynal" , "richard" , "Vignesh Raghavendra" , > "Rob Herring" , "Mark Rutland" , arnd@linaro.org, "Alexandre Torgue" > , "Marek Vasut" , "devicetree" , "linux-kernel" > , "linux-mtd" , linux-stm32@st-md-mailman.stormreply.com > Gesendet: Dienstag, 30. Juni 2020 11:35:38 > Betreff: Re: [PATCH v5 4/6] memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver > 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. Well, if it works and you are sure, please go for it. Like I said, I'm no expert in this. I just noticed that other users add a delay and wondered. Thanks, //richard