Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3478997rwb; Sun, 30 Jul 2023 08:28:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXakDLemUD9oS9LD8bv+eXRRxDAlTNEF8jfqu+QHllICR/tceciPA6OQQ+43VYiBLuqzbB X-Received: by 2002:a05:6a00:1594:b0:686:24b0:5542 with SMTP id u20-20020a056a00159400b0068624b05542mr7491317pfk.11.1690730884294; Sun, 30 Jul 2023 08:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690730884; cv=none; d=google.com; s=arc-20160816; b=oLrsgGGTyIxqxT+gXPSJAQcCXcN0wh6cvkZMSIkbRo0K+cHD7e+m8xZrzaKPBx+mi/ xyZ0CdrC6Jm8kj/yjq78+v2fLOoLw+tdNrT+gyTtnxwlWikcWcXofW9vckjcCXqKYd45 zpKxN5cStcfD4R2ERalWnvGZYOxggZy0pdqTRaHxONMeVWNXS7YZFlvZaC+z8bwrcsSK cjenK826Nl0EA0l3Fn5pZ1mUoOpxtAlMw7Ag9AUQxtP3B+u519+N7cxZGKSPxO4ktvM1 xAS6gK1cw3vU3rX1sJqiu3RiSPU1/FYFh9AB6ZqW1KHPZEp8dXaWk4oyQcOuPfYOpO6j fd3Q== 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=SI0AD6lR6d3yUH+ckdD2FpJyv//G16YjfdQ8EU/oA6M=; fh=6PEkCVckCAejeVI/6aXHZHEGMtRBcbmizyCGRMx8DC0=; b=JSEEdyF785uhzRddibIRd+IQPNGcH0bS3ur9ixz/SxjZXhcl3vsZGgMeFgLUMtkvVW jNddVV7AL1ugzxl6jYaKPbqEK5BUzaJcuhVdFJClIvDqxbLwzhYt91HP+Tqsa/ThzQk3 R77rGY0GPzeE7MItDrkglbk5cJAyyWb4lf3KCsRtDQqVUjP207A1Yn4eyuPUE2dWClPg JREB4U6Pqji5/l/NaPDoy6bBAIn+yqzAyrEy7OaPCEt/S4ZkpX6hE8R8S6iFXoFcvFJV HMVHSonWoeUIiBLEFcblmNCDixNbT4Ti6k8P524SS6cCw21n4gCBAMyZ3qY389rNYqT3 dacA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XocPSg93; 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 t2-20020a63f342000000b00563e09f3c3esi5746700pgj.359.2023.07.30.08.27.51; Sun, 30 Jul 2023 08:28:04 -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=XocPSg93; 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 S229729AbjG3Npz (ORCPT + 99 others); Sun, 30 Jul 2023 09:45:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjG3Npy (ORCPT ); Sun, 30 Jul 2023 09:45:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED6CCE66; Sun, 30 Jul 2023 06:45:53 -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 8C6F160C81; Sun, 30 Jul 2023 13:45:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C170C433C8; Sun, 30 Jul 2023 13:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690724753; bh=sp8Fm2jq/sHAVV6yF5fXFezsazPyaj4wP6HZcClCkCI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XocPSg93Z441RSm8+yAQz+gaQ7CMFMNRKzbg4ZSoGHv2fg13dGWfJcpJqPQmP0wHb z/2DD2vLMcq9QNuQay17OrKa/Q0I35pEKWVk9Ac+vXZy7nffuhRwMavh105GuuoOdm M4jRo/c+WpEhFhQJj143z7aqhFjz7VgS6xv775T2GZFXBwTszQJHuq8cvYydk2mNU2 /d5nBAHClVyfTDRVXJj/Fg3Y4CxYmRHzrtTzg7XAdDSOR7kWbo4ROzWPV2UkMCVojq o6DAghnM2WJGrBgk6FyYk2BSF/lQ9a/ZFb1EZQOzcOAQCg3WRqWbwNA5gxvKEOpC1f qOh61RvJFvNwQ== Date: Sun, 30 Jul 2023 21:45:37 +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] ARM: dts: imx: Set default tuning step for imx6sx usdhc Message-ID: <20230730134537.GW151430@dragon> References: <20230726075747.1016930-1-xiaolei.wang@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726075747.1016930-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 Wed, Jul 26, 2023 at 03:57:47PM +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 > > 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/imx6sx.dtsi#L1108-L1109 > > Fixes: 1e336aa0c025 ("mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting") > Signed-off-by: Xiaolei Wang Applied, thanks!