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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1BECC433F5 for ; Thu, 16 Dec 2021 10:15:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235883AbhLPKP0 (ORCPT ); Thu, 16 Dec 2021 05:15:26 -0500 Received: from phobos.denx.de ([85.214.62.61]:33356 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235826AbhLPKPZ (ORCPT ); Thu, 16 Dec 2021 05:15:25 -0500 Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2579E80379; Thu, 16 Dec 2021 11:15:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1639649724; bh=gWD5WvNP5qs1hnWasMOEH8Rjn74OwFdzLcr9XdOSUp0=; h=Date:Subject:To:References:Cc:From:In-Reply-To:From; b=K0Mx3OJDZJHzglJP+mtN6vFpO+v486fMRpjhMh/ccx3mkBkyPLP2+Q2h7wkJbZIpr xJQ7sQrHEkLIhcHWxn1eCfWOZjpYS9MPhtVByQEO6jIBCsr6w/cxVDLoUR260LZqao ni+USkXSZfU1bY7xM7RYNU4dVhg+mtICHxealVei64E/rz7O5Mq5C9VLjzRlgpMvFC kCRz6VUiKMxaC3OvszwtZP0w5yheJUnOV5P0sUHktFVuK7/W8hPcqicQrNbkUXbyyw 7u5Sf0Krst7Lviv/Zr6gPyNfodKaKW2FByUJ2DwQUbRfOwkHS5GuANE2X72XNiV8Sl +cAgyCJGTa7bA== Message-ID: <7137d4a9-6830-959d-1222-e63f5f618859@denx.de> Date: Thu, 16 Dec 2021 11:15:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 4/4] mmc: mmci: add hs200 support for stm32 sdmmc Content-Language: en-US To: Yann Gautier References: <20211215141727.4901-1-yann.gautier@foss.st.com> <20211215141727.4901-5-yann.gautier@foss.st.com> Cc: Ulf Hansson , Russell King , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Linus Walleij , Vladimir Zapolskiy , u.kleine-koenig@pengutronix.de, Christophe Kerello , Ludovic Barre , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/16/21 10:44, Yann Gautier wrote: > On 12/16/21 10:14 AM, Marek Vasut wrote: >> On 12/15/21 15:17, Yann Gautier wrote: >>> Use feedback clock for HS200 mode, as for SDR104. >>> The HS200 mode can be enabled through DT by using mmc-hs200-1_8v. >>> It is possible to use it on STM32MP13, but not STM32MP15 platforms. >> >> HS200 is possible even on the MP15, it just doesn't yield any >> (performance) benefits due to the slower bus clock (125 MHz or so?), >> so it isn't worth enabling it on MP15. It is nice to see MP13 can do >> better. > > Hi Marek, > > There is a limitation on MP15, please see errata sheet [1], chapter 2.3.19. > HS200 (and SDR104) shouldn't be enabled on MP15. > > Best regards, > Yann > > [1] https://www.st.com/resource/en/errata_sheet/dm00516256.pdf Oh, I see, so I was lucky to even ever get it working at all. Thanks for the info. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23D40C4332F for ; Thu, 16 Dec 2021 10:18:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:Cc:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H4+SvJOSmNYC3GW3SGe+V9bjV8w4ByA1/xwd1IpmwZY=; b=fWA14h56iXfPHI 5pNcFuYbUddLz2PWQFA/NO3IgYgdacOhuIeBpfP8+zp8lfoGOvUfBnTUeMsii0yAfBX37icqFlgHI ZrJSMkhdgptFBY2xFRpfrgO5UpHWuaEp/TH0Pp1jycaNWsoqIJmFgCGbx6XI7IH1z/keQ5Ifz8lf3 LGI7uZDKyM/PfxIpu5yNTa4vJ2Gb29nyEofGjs5kM9lorpljrG6LJT0j4wEt6MYijMGA5Fywk3odc 2R3qxCYjXdC2oy4ZV2OT+iICewEnPbC6Bz727+JfPbDg28hfZRdo+yK7KjeoK1wAuL5rHPRDoJfRY DwqjmDxyTdZPXXSoURSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxnoz-004nsI-Nh; Thu, 16 Dec 2021 10:17:09 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxnnK-004n9F-GV for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 10:15:28 +0000 Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2579E80379; Thu, 16 Dec 2021 11:15:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1639649724; bh=gWD5WvNP5qs1hnWasMOEH8Rjn74OwFdzLcr9XdOSUp0=; h=Date:Subject:To:References:Cc:From:In-Reply-To:From; b=K0Mx3OJDZJHzglJP+mtN6vFpO+v486fMRpjhMh/ccx3mkBkyPLP2+Q2h7wkJbZIpr xJQ7sQrHEkLIhcHWxn1eCfWOZjpYS9MPhtVByQEO6jIBCsr6w/cxVDLoUR260LZqao ni+USkXSZfU1bY7xM7RYNU4dVhg+mtICHxealVei64E/rz7O5Mq5C9VLjzRlgpMvFC kCRz6VUiKMxaC3OvszwtZP0w5yheJUnOV5P0sUHktFVuK7/W8hPcqicQrNbkUXbyyw 7u5Sf0Krst7Lviv/Zr6gPyNfodKaKW2FByUJ2DwQUbRfOwkHS5GuANE2X72XNiV8Sl +cAgyCJGTa7bA== Message-ID: <7137d4a9-6830-959d-1222-e63f5f618859@denx.de> Date: Thu, 16 Dec 2021 11:15:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 4/4] mmc: mmci: add hs200 support for stm32 sdmmc Content-Language: en-US To: Yann Gautier References: <20211215141727.4901-1-yann.gautier@foss.st.com> <20211215141727.4901-5-yann.gautier@foss.st.com> Cc: Ulf Hansson , Russell King , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Linus Walleij , Vladimir Zapolskiy , u.kleine-koenig@pengutronix.de, Christophe Kerello , Ludovic Barre , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org From: Marek Vasut In-Reply-To: X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_021527_214695_56C8D1A9 X-CRM114-Status: GOOD ( 16.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On 12/16/21 10:44, Yann Gautier wrote: > On 12/16/21 10:14 AM, Marek Vasut wrote: >> On 12/15/21 15:17, Yann Gautier wrote: >>> Use feedback clock for HS200 mode, as for SDR104. >>> The HS200 mode can be enabled through DT by using mmc-hs200-1_8v. >>> It is possible to use it on STM32MP13, but not STM32MP15 platforms. >> >> HS200 is possible even on the MP15, it just doesn't yield any >> (performance) benefits due to the slower bus clock (125 MHz or so?), >> so it isn't worth enabling it on MP15. It is nice to see MP13 can do >> better. > > Hi Marek, > > There is a limitation on MP15, please see errata sheet [1], chapter 2.3.19. > HS200 (and SDR104) shouldn't be enabled on MP15. > > Best regards, > Yann > > [1] https://www.st.com/resource/en/errata_sheet/dm00516256.pdf Oh, I see, so I was lucky to even ever get it working at all. Thanks for the info. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel