Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp579955rwo; Fri, 21 Jul 2023 17:39:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlGCd9P094mw1Qq3yrUx8sPwonoUKuW0ZhMKrsWgckOnYswLXqh2//1yr3EHboTei2KuvjR/ X-Received: by 2002:a05:6402:502:b0:51d:dbb0:fb86 with SMTP id m2-20020a056402050200b0051ddbb0fb86mr3107972edv.11.1689986342058; Fri, 21 Jul 2023 17:39:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689986342; cv=none; d=google.com; s=arc-20160816; b=iOg96oVSniDdPm8NzZk3Fs9BFiXyBWsJAc+gOyrLH62bNFKqcYhagOYIGmtJMUhL0O PuYegYAV89FXapFUmHfj0RCxbBSgUMf4t71OYaeFkn1LAPfBJrgXZQKjdAy38Lb0DpeY JF6XeucE8jx/CrLrCSDryu6zEvgJQSnSjt8IVhM6JSzMA/LqSSCgkM64dduZ3cAz0qLf GIYhE2M8h4QSsZa86MwERCYK9FMwJEqf4dDoXLb4richbDrvA/cHyUov1gvnA/nh5UHe eRFTI0eAGDoaOe+g58UCYuLtj+dcGIFNIzG4JLMircXeCmpi0xmWyaracspk866NRrgP vmHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KGm3wATcLjmRhuJlYKHxaNDLAuB2jNiX/9sOF6u7nS8=; fh=Ts8A2Ubtq6X1zFCpzfVw0Hubvxzmch0PRd3hbgXM8Is=; b=RvQVCIq8BGMho2lm61KAv9vIoJ3nkIYcCa54XtKpDME1eHLNCYSSx6PrPdWayTyopV 0Jy1Rw4yQ5irRXzKbZ2z4sgCnPkUh8MDawbiD6AQcV0UfRjvnnX8NKcnM07ou5eV7cv8 Rq0JrLjHwseg84pPxEVH34GWIc4aXJ/Lm80zWE4qX/Nz3KRMxkmIax5JRE82HgTtpV5K qHtowybKISz0Eghr8w7GYuofIIT8PU7ikEYoh/zM9BEjLWLfUk9jhUgoSL1TUAPq3blQ nB6LchtgSI+H29/DRIdx2b/Rh7bb+4qok/Z+JZxYVOBvOp1IhytqQV0iCRJNcBIdFaHS 51dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EJrKH1ai; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca9-20020aa7cd69000000b0051a52a48ed4si3124199edb.156.2023.07.21.17.38.38; Fri, 21 Jul 2023 17:39:02 -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=@gmail.com header.s=20221208 header.b=EJrKH1ai; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjGVAQQ (ORCPT + 99 others); Fri, 21 Jul 2023 20:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjGVAQO (ORCPT ); Fri, 21 Jul 2023 20:16:14 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1DF010CB; Fri, 21 Jul 2023 17:16:13 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6748a616e17so552141b3a.1; Fri, 21 Jul 2023 17:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689984973; x=1690589773; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KGm3wATcLjmRhuJlYKHxaNDLAuB2jNiX/9sOF6u7nS8=; b=EJrKH1aiMokJXDi6o4r5EZUS/a5WuLSzuwmsA9y8wujRJEs1CdvBrJfgNTLSO9YxeK MN5xDDwBRifHdHgQfamdxcnFBCUfAvPpem25KM2IgzjhZYt3aSpFUVV3dZkq1eqGYUEZ cltkRNH3DMzaNH+CFzGC74GiMi+8j2uGvRkRb3k/jN4+BpLLuMnpmBg9gET4xslFp9eN e4w4Nk2ao+ASiSkT+w7gKCcMfn7rXSl0wiKyBcN0ChD+VJWzDo0UKebawDDPseBabj++ Asm7edETIx2vwsje/UgOV/0X2Wm9g0JYrqM6BrUQTpe9rOfCUjdKqNAzzqWbY3E1W2By 6hUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689984973; x=1690589773; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KGm3wATcLjmRhuJlYKHxaNDLAuB2jNiX/9sOF6u7nS8=; b=ZRRXov0ia0upjOkxO3a1i1uc7UbHcjWFMJrcT+eYPQQ3SOYpBQGQ6xVGwHmi18XB3Q 8sUNwPfo7+Ha0/Wt2JNXTpsXvRxuXNe1YPXNZQLHmdFVNoBOeSRskH8/rF4Uw31GTDva ZocpIVCKtEbC/pXrWqeySqDKm6rDkUafDVhI6EBpgl0THy3aG4Ytv9Rd6DpdIpJGg5YI Y7fI1QIatR4Rmh9pIvyREqnm2yt0ddwMk5WdBgDtJJyh8VMwI65jl1DgSdIIeIaX4T7l PCckDKaTTf9/4D89kTOlo1EaY4QIO01luABy9kkwEDH6QdS6IN7HKgqgobk1X43AlM6i ru+A== X-Gm-Message-State: ABy/qLZqXbwivU6TdwjjDUkUshDKN6fTYjwp9hi8aFSZ3YhVdOnNiduc 6RDn4zG0sCM2gZv59/spIhyA1okM6xj0FBBdaVQ= X-Received: by 2002:a17:90a:128e:b0:264:942:ad27 with SMTP id g14-20020a17090a128e00b002640942ad27mr2912974pja.4.1689984973144; Fri, 21 Jul 2023 17:16:13 -0700 (PDT) MIME-Version: 1.0 References: <20230721232123.2690960-1-xiaolei.wang@windriver.com> In-Reply-To: <20230721232123.2690960-1-xiaolei.wang@windriver.com> From: Fabio Estevam Date: Fri, 21 Jul 2023 21:16:01 -0300 Message-ID: Subject: Re: [PATCH] ARM: dts: imx: Set default tuning step for imx7d usdhc0 To: Xiaolei Wang , Bough Chen Cc: robh+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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 Hi Xiaolei, On Fri, Jul 21, 2023 at 8:21=E2=80=AFPM 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, > so set the default tuning step. > > Tuning failed, falling back to fixed sampling clock > mmc0: Tuning failed, falling back to fixed sampling clock > > Fixes: 1e336aa0c025 ("mmc: sdhci-esdhc-imx: correct the tuning start tap = and step setting") > Signed-off-by: Xiaolei Wang > --- > arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts b/arch/arm/boot/dts/= nxp/imx/imx7d-sdb.dts > index 75f1cd14bea1..d7396fbfcaf8 100644 > --- a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts > @@ -493,6 +493,7 @@ &usdhc1 { > vmmc-supply =3D <®_sd1_vmmc>; > wakeup-source; > keep-power-in-suspend; > + fsl,tuning-step =3D <2>; I wondering if this should be a imx7s.dtsi property instead. NXP vendor kernel passes: fsl,tuning-step =3D <2>; fsl,tuning-start-tap =3D <20>; https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm/boot/dts/imx7s.= dtsi#L1216-L1217 Bough? Any suggestions? Thanks