Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2273195ybb; Mon, 30 Mar 2020 03:03:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsjHYZsURs4Tj3lAvKueDaJ8L0vOp3NX1jdzedcmBglDWnbILE2dUY7C1jhbCa02htt7Jm7 X-Received: by 2002:a9d:c69:: with SMTP id 96mr9109822otr.77.1585562586680; Mon, 30 Mar 2020 03:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585562586; cv=none; d=google.com; s=arc-20160816; b=WoZSl0nlfj/+E/P2rfnwEjF1e7HAORhZ+ufVDZkG8JODTNJw61Ztn0s4k0yHYfEBKx bordHD4rNZ44meE8Yx7aRr15lQj9otXWAT2faQFIXkHHIMPNqtXbO7t66kmt4KIAY7W6 /e00pLq34hBzE4x8Yow3rsJjidQMSnSHikHB0qrzq+ELQeEtAN88vuwEzcUe+8LDJS6a 8TqgKwldt8I4dwIcI/P7aXY8drKKQencdAI6tjXxV2R5SSmxiXd3b58Wn2sGVzaskUQ/ hIqFI9xkqAhbxJk/rspyqtkoEuBt8Q4A91qb+KAJdC0G3IhhGMX28lUZkEs5gKAIs5JZ EtXA== 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; bh=ATt4z7jLxCQqjvjnjsYgcZHnc7nfTagU4IiLdVD+kNA=; b=MlgYPZz/JXOxVxXLCw/MZFFi9ToA2m2Irqbpy9usCnFPk6Ra1a5JMuwCgJRASX+SG/ OtJNhtmdGQ2eZLtvvLIukRhR0xtndwXFgui/GjlXjeOgFR10VAn5EwcOr0jMWs3qFLBS UitGQw/CV79Hx+x10tHOrEyfUHostCU1Yzg87we9JL0T6PH8VrZ4NsHEMIO/HgbB+elV R8+xsjLrUUtYk19GA47jz2UuzuPgGuVcAvwe45ictniAKxvl52H+pDA7NVHykgPr58XW d/fL+UsIfpv7k9QWq5/Q0ZTHuwyDRyosVdGWBVuVm2Hgrjp3ZwG0OZq2Izm37JPdAZ/c 6ELg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si5675492oib.201.2020.03.30.03.02.53; Mon, 30 Mar 2020 03:03:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728892AbgC3KA5 (ORCPT + 99 others); Mon, 30 Mar 2020 06:00:57 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:36775 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728553AbgC3KA4 (ORCPT ); Mon, 30 Mar 2020 06:00:56 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48rSdf3FPJz1rtyc; Mon, 30 Mar 2020 12:00:53 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48rSdd50gxz1r0c4; Mon, 30 Mar 2020 12:00:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Umm6pyC2bxUh; Mon, 30 Mar 2020 12:00:52 +0200 (CEST) X-Auth-Info: hHMGdqnHqAE6fvhPm1qMt5QwR23l1fijZnvach0Idkg= Received: from [IPv6:::1] (unknown [195.140.253.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 30 Mar 2020 12:00:52 +0200 (CEST) Subject: Re: [03/12] bus: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver To: Christophe Kerello , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, tony@atomide.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <1584975532-8038-1-git-send-email-christophe.kerello@st.com> <1584975532-8038-4-git-send-email-christophe.kerello@st.com> <93fce520-9269-123c-9523-173e75cdce2e@st.com> From: Marek Vasut Message-ID: <94845952-ae8d-dab1-7bbe-21830d05480b@denx.de> Date: Mon, 30 Mar 2020 11:30:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <93fce520-9269-123c-9523-173e75cdce2e@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/30/20 11:19 AM, Christophe Kerello wrote: > > > On 3/30/20 3:24 AM, Marek Vasut wrote: >> On 3/23/20 3:58 PM, Christophe Kerello wrote: >>> The driver adds the support for the STMicroelectronics FMC2 EBI >>> controller >>> found on STM32MP SOCs. >>> >> >> On DH STM32MP1 SoM in PDK2 carrier board, >> Tested-by: Marek Vasut >> >> btw. it seems this sets BTRx DATLAT and CLKDIV to 0xf , it's "Don't >> care" in the datasheet for Muxed mode, but then it should probably be >> set to 0. > > Hi Marek, Hi, > Thanks for testing. Sure > These 2 bit fields (BTRx DATLAT and CLKDIV) are only needed for > synchronous transactions. Based on your bindings, the transaction type > is asynchronous. > CLKDIV bit fields should not be set to 0x0, as this value is reserved > for this bit field. The driver keeps the reset value when it is not > needed to update a bit field. Then I guess that's fine either way.