From patchwork Fri Jul 21 23:21:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaolei Wang X-Patchwork-Id: 13322653 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 CB39EC0015E for ; Fri, 21 Jul 2023 23:22:21 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7/3uoFNlsj3/gqJiAIPojua3dG6O7pMEu274hTzrCHs=; b=g09rLm51q9CIAs Ty0CfrIacxdnNL2CV89h75FtNKfAa/qCuv6xfhGXBAJaTkEB2+i5WmfmqfQJ55aye8VJGr/+tEbWB 96fcEsOcfm+iyIyXjl/dE65hfMi84HLGH60/JycPtRfY87f+D8Leht6GjwYL+KqheqfAnyRAjD2CS NZRyOV+YPhhKTqnMPKCLWFCTcxbsrWVpGuu0CoN7Ll9PWBOh7Hfk2WTUXp/392ofgBoFXeVoXd/wv 4NPmF6vijm+pTL/YQdySR5zjAYgp8Df+xCB+sXO8Emn0mlXhVEL0ZI2yuRbzDGQshU976m0M/CLmX cx5s3GRrTROT6BFsCh5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMzRi-00FLoN-2i; Fri, 21 Jul 2023 23:22:02 +0000 Received: from mx0a-0064b401.pphosted.com ([205.220.166.238]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMzRe-00FLmw-0B for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 23:22:00 +0000 Received: from pps.filterd (m0250809.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 36LNDw3E001147; Fri, 21 Jul 2023 16:21:49 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=from:to:cc:subject:date:message-id:content-transfer-encoding :content-type:mime-version; s=PPS06212021; bh=X76p5LlmKrH+gishWS gu5JMnD92skF34UHFT4WWhCrs=; b=ZMy5RFpdk/r0wS6PjkFW9E6rRqLWIBc/tg u04SrGGBJfjfyL1XtL3lNkA6eJv1WJZws3aaQDTn2f2uDQYx3FmsHIGU+spHYHVm 3ErR/ilTGE//ii6wxG6G3hanINxpVoVcL2Eu6v8+/+x4uqVRxNLkF1wyCO3yVghv GwlsHvEOfpzyz0hZZNobrZuNPXnshLK3TeJAwTLyWnU77RId/0yNBp28tPs27MBl MGNPASZFAukmr2um2TKJQjWZml5gcIqh4seextMow0w5WSNJYVYGErVUGKAGIziW VNrpAhAGm5gQMrUYSS4Nop3OsizE5hoT0f1NvnspbO3Mc1INLnVA== Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 3rutyex0y2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 16:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KAs2b5CWA3tOG68xnfSa2/APVS80vPPhY0ThSxpbkHFZI/6H+zjMoWz6R9cvDyPOpGmf5fbyrumYN03XHZhFLJrPXNYKCChotAcPNaQEBL5yOMZkxSsxOw3jdu0+1npukgOyGITZBc89BMqP61IKJr7dwIYPJClajbeDGCnIIKqHRFEpYAekTbJ/4lSb405LFpNDLrHeGQMkULiXn8bwsB2MBb/IwXu5TYiaJyd+nv2zxZSbIuQPhbc3jl7TGJdLvkPyYKwEOB5wqq/Z3GCpReXh2WxNeNSYpVIo0y/OJEwcZasgWWi2opD04TiQNbMmTVY5KBTA/Dbd+j/eO3t1HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X76p5LlmKrH+gishWSgu5JMnD92skF34UHFT4WWhCrs=; b=gon4YlzXBLsWAiglHd922Q3MQe8koS1DQxy47+VtMk3eo/RCNCRx+x6PcbLpu3yQNHnG8mB6pIQHEGgjs+b83AZRQKosSBO85H+rBwn9N6tq6purifRDRqg6Hel9VsNIGeW2oHZZcM1pKSCeSXpbSL2hPYjvzT9xT/5KZ+D2x/2uhmT4pfKN7srHdo5E4iHA43uW973k1Ra32Y+Yj/2xQkAwilq/0HQnUDhhrYu9OoEuTd0ejsl4nNyjtBqCW9VXgGiRjuIirFrhPiLOzcCi556LmK+/PyC063zu09cR/k1aqFZUM+nHNzbwnRrw4LPLKBCshNWKeYJFXiBWc8LYoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from MW5PR11MB5764.namprd11.prod.outlook.com (2603:10b6:303:197::8) by PH8PR11MB6684.namprd11.prod.outlook.com (2603:10b6:510:1c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Fri, 21 Jul 2023 23:21:44 +0000 Received: from MW5PR11MB5764.namprd11.prod.outlook.com ([fe80::43f3:ec40:692c:b924]) by MW5PR11MB5764.namprd11.prod.outlook.com ([fe80::43f3:ec40:692c:b924%7]) with mapi id 15.20.6609.024; Fri, 21 Jul 2023 23:21:44 +0000 From: Xiaolei Wang To: robh+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: imx: Set default tuning step for imx7d usdhc0 Date: Sat, 22 Jul 2023 07:21:23 +0800 Message-Id: <20230721232123.2690960-1-xiaolei.wang@windriver.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: TYCP286CA0155.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:383::13) To MW5PR11MB5764.namprd11.prod.outlook.com (2603:10b6:303:197::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW5PR11MB5764:EE_|PH8PR11MB6684:EE_ X-MS-Office365-Filtering-Correlation-Id: 8fb3e121-980e-49a2-6bf3-08db8a413f02 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VUtAYKUhzPuzC8DR4bZ9PIQn3g6CcTBIPtfmsmLBBhHZQHNTdcTnT17od0eIVjBOFftQOJpMfbjr1Eo361+sG1GY6+zDtrXQpjylb0mNDARo7i6C+0ife3XL+gw/f622G4l8CgNUlXoogVrBF52n2vH0VCBs8z2ZhYVtf8faGjxnd8xCL0NAtUUffI0IFown7EGveZDJmKl0yZ2Uudi0cjiPeS9yQuH6H3wzIEgizTMYo634lAwcv/ToTYKpmf7vARmxqAjw5QKShLgn4qOURXKGW8OWDLqQzdwsZp6g5xESG7RQCsjmjzN8nkn5P90r2v5/dzCefoQ9JalOsnS+yTJXWtwxigxqCQQ0kIKeLorF/QaDznIo586FPyr70kdU7UFy0Bvo5IvwJ2lKlWWWYtsMMAvQX7tb5KNKUIwi2FH1uWbmLT/c7e0KgS9x0EasnW8XteYgKieytCBU1g6DuCxsc0c8z3lLUE+tNylIkrvLevmCkLHqFRuWvQEDAyOGDViR0hnD4DRekBJb3pQ6d02qW23PIuBx8jJvZBJGWMIA96/gSS7HENUBw+5phfXYG6hf4zUO5ToaBe5CME2Bw3w+gdRlCyTiNIOKrVsadFr/r4Ag531cgHJqvNolcC4h X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW5PR11MB5764.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39850400004)(366004)(136003)(376002)(451199021)(38350700002)(6666004)(66556008)(6486002)(52116002)(5660300002)(66946007)(316002)(8936002)(8676002)(41300700001)(4326008)(66476007)(478600001)(83380400001)(38100700002)(2616005)(186003)(6512007)(1076003)(26005)(6506007)(86362001)(7416002)(36756003)(44832011)(2906002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yF91OSjsXzY3vRHWVQpWo2l/ZFbkC4nOnvDM9rjlUX8efkLucP2SdQAsVSHTSpYf+t2V3UWiQ+0yZYJV2MnUlzWG/YWq69pJ6Q3floGh0YvxDooQYOiYY56ttCQB13aPViwLXSOuHk/bQJlnYX09GrRfZG2lurLZ+H8zmH8zkPLS0uSz2KFvI/3aPFjm+IYhupQBAHqK9vbIE5702JkJJSjyYDwn9T8RdSwCuBk+BoUZhP48CwajFN+BMIuJtypQe7vqaFElQIyakH9I3HN+QTqsUZ+TkwsNZXA8dPrAXRKgeuqPrJkVNEN/ihnvy8L51GFQVlTzkNpslQnyoJ+QPNL75u67v3jr6Wi3Xa7iTnUFFsEqgjveZ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P/hQ+CAp1U0MhJF+b/isWnm9uze4oCQAuvfyzWCGmZeHuNjqhshHVjHZCO0CQBwkNaiFpMzN/izDL8F6d6YxqxDdeZv9VSotjZxRmMNddyX0qB0gNDTKemqZYAOKPgTcXLqrCxlGmDk/H1Plm2JRWfdJdO+5sOSBqaY3SB3J2/4n1Qzi9yrfWA== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8fb3e121-980e-49a2-6bf3-08db8a413f02 X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5764.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2023 23:21:44.0709 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UzXEu01m6ritGwQTBXeaIyqyxnXu1oAaD2/oUTp5Fk3K+EJyo0smjy5Xb1mHQmUIA7QUo8gK5qSUBKe+vNYyC61DtxIcpEXoB7VU3gqunNM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6684 X-Proofpoint-ORIG-GUID: OhyO5j_lShlbouo2QgG82ZrdSmi8ecg- X-Proofpoint-GUID: OhyO5j_lShlbouo2QgG82ZrdSmi8ecg- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-21_12,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 spamscore=0 priorityscore=1501 clxscore=1011 mlxlogscore=738 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2306200000 definitions=main-2307210207 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230721_162158_136276_52C0CCAF X-CRM114-Status: GOOD ( 12.63 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = <®_sd1_vmmc>; wakeup-source; keep-power-in-suspend; + fsl,tuning-step = <2>; status = "okay"; };