Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3416012rwb; Sun, 30 Jul 2023 07:13:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlFy2CJqXHyb73ibbBcu0ENvfph0hfpIOgryZSRPQEKJQxwX0ihndKyupHlGbTJ0ozMRSFEg X-Received: by 2002:a05:6a20:dda6:b0:10f:52e2:49ec with SMTP id kw38-20020a056a20dda600b0010f52e249ecmr6072975pzb.53.1690726393173; Sun, 30 Jul 2023 07:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690726393; cv=none; d=google.com; s=arc-20160816; b=nB64tVTRpgjlpa5XqUI1C+KBbYAVLAT/m9Aivk2Q7DBddUBDZk/h3LUXohp4aqgHhM HUkxfnrt6Ko0nRNV2wGd2f1HCB9SjqYbudsa0IY5gX3CvU0cKiOuRGrH8r66i8OG+d1j mNYgqjSBPSjQ/w86/sjZMItxOHwWGaBDrhl4wICZVj5QwMvdxrUENSwr2YrmvgqFGGav g0hebrrc6Nhml4LCJSU6XwfzK0JdaV9YnHuKo0w6H3PZedZzD2FnNUjxX1ZRULHIwl5z HYX6akCAnu9Xv1GWH5Yn0bI/sh5i3K34gXoQrC3dupVqOYd0LGT0e7t2ugMYiuE1ewDs 5JEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jQu1Joe697YeH+Np3W5l+nj3OTrASQBHwecIraDfCGQ=; fh=6PEkCVckCAejeVI/6aXHZHEGMtRBcbmizyCGRMx8DC0=; b=Opf0ugCWJiKMZEmggd6QBqLIYeM2lul55w1N9rJASSJIDrOU9HOECGJY6ZNhWisPZU fd2fAH3xLaOR0H50gXzVsOAipWi5YB1soc8eSAh/a36h/IpWBupoCpA1GLXaQ7H3TTw6 6tIuC7JdrzHLwcs0rrCUr7sqLQov5lLGxSUJ0Fljd5r9liQXlVLjK8xZsEoWDRWSspHU LD9ZSBK9KcdkCqomkcoAutuPSyGJKGOADi0Gsxt1ywoxxoORKyqyIHcj6aT//91iFjIO vP5HRXMqLKSgCzH3TYporuWhRxEjFj9ZQNE9HXr4SZP3DPLNPGRRLkULzoNVIUm2SRZn H2gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A1b6917D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb11-20020a056a00430b00b00686e19d20cbsi5879048pfb.115.2023.07.30.07.13.00; Sun, 30 Jul 2023 07:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A1b6917D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjG3N0Z (ORCPT + 99 others); Sun, 30 Jul 2023 09:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjG3N0Y (ORCPT ); Sun, 30 Jul 2023 09:26:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8290EE7F; Sun, 30 Jul 2023 06:26:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1C91A60C4D; Sun, 30 Jul 2023 13:26:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCE86C433C8; Sun, 30 Jul 2023 13:26:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690723582; bh=WwgLymzmxnBrZ9f6hsSKR6h4CTJfMx2hwDOS2SI6yYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A1b6917DMvdT8q0WB5fzqseyK0S1MaHxzqi5+CXsvOnDO8nCLXqVTc+l10YoM7Ro8 TkLEm/AAJ4+ouDUj5DlLexfFGDmXGieMDuNjx37pvewyfCZA5KzgKLZVqfALFuEt8u 3gWFKgCExmC/wvoBjxp+pOBwmSsuG+/4W5NSn4K5IEgl7IpBK7mYKQqcf4Y3SVWwvU o+KXgmFhjqUCMK2jnKaqceBr6vwr925vXvJ+5NUFH1cXSyX+dIGVUkjCSTET5EZIBH Yo8TJnz/aYt226jX0RkOz6LIwfrqY+jHHxWYMrXbLrWHvHpsIbATznJNfDZtK8rEW1 X+3D9dBVNQm/Q== Date: Sun, 30 Jul 2023 21:26:11 +0800 From: Shawn Guo To: Xiaolei Wang Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, richardcochran@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] ARM: dts: imx: Set default tuning step for imx7d usdhc Message-ID: <20230730132611.GR151430@dragon> References: <20230724154510.2532561-1-xiaolei.wang@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724154510.2532561-1-xiaolei.wang@windriver.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2023 at 11:45:10PM +0800, Xiaolei Wang wrote: > If the tuning step is not set, the tuning step is set to 1. > For some sd cards, the following Tuning timeout will occur. > > Tuning failed, falling back to fixed sampling clock > mmc0: Tuning failed, falling back to fixed sampling clock > > So set the default tuning step. This refers to the NXP vendor's > commit below: > > https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/ > arch/arm/boot/dts/imx7s.dtsi#L1216-L1217 > > Fixes: 1e336aa0c025 ("mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting") > Signed-off-by: Xiaolei Wang > Reviewed-by: Fabio Estevam Applied, thanks!