Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp872106rdh; Thu, 23 Nov 2023 23:09:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFomG0L5SduOhhzG2DK2Lxox1b9QXpLtdc6G6cLt1ylr46+ETs6+KdE1O7G5++7S7ZuPAgi X-Received: by 2002:a17:90b:1b12:b0:27d:63ae:f378 with SMTP id nu18-20020a17090b1b1200b0027d63aef378mr1967783pjb.42.1700809783551; Thu, 23 Nov 2023 23:09:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700809783; cv=none; d=google.com; s=arc-20160816; b=gq399npudQS6uS5wJxXIvUvbGfy89DHPbsVqJC3fRdGIWqxLHA6PpO/pvHpVdt+z5W rI/mB6y8C0JMAGsu4KLwybSwJsFdhwsY9kzUHNp62xUZg4TSxee/rI1QmwlE+Jegl9c9 It4ISG8ybe1d3C6a+k6aiNoiNH0pJK2XLxq9Jhys8QkgwCpzCvvwgv9ZNRSvjAg5eeZH bfeaDFxbGwNMAde3rApAukTVQdylawReCEMc6h0qC5d2pAdFFBIoITHb9YxVQ5AQLgtN LOf9mJFnwbOukOAEkdWbP1lgOf5SsmTdbwaxyXvN+OpNKMJCeTJfArEf77ODrGZQkVTc xU5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=biIA5nolcnycLWZaSMxodwzv1zZqXFegizuysjjQ1Dg=; fh=HSqN1J3zad7X8CQdAerfyoYDqul7bMzIxVwTKva3XtI=; b=XsZ91UqWCvhKi3vWQC22EmCytMRddRQw2pr1u82IQNqveIH/pMocdvpLW84dnj0jwx 6BUmJs1YYQMW7+dudAe3XvfGD6T/3NXuk7YjLV2f7O3m2s/CaCHOmQVl5L15ZkDs8G4J /LQl6exC5q6eAkFxIvX9GRtS+9UtCEdvYXL5HCWjReFv4wRME4rwIZ+C5MUybuPPgVWs QUWmCHRUv8WCl9/UG5xx6GpXidbvklaaYAb9g89HLxNDb8nzAuODfWHIqF7xUY3wG2WC UjF9Q4gldiAotWP7LqGwBEnrOpkRmOV/UO3KEwx/HHuvXRoG1dR9OBgZQNycWHnpAwfc vt9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=swSfnQct; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ga5-20020a17090b038500b00273f1cd73b2si2975430pjb.75.2023.11.23.23.09.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 23:09:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=swSfnQct; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 32821805C3CB; Thu, 23 Nov 2023 23:09:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbjKXHJJ (ORCPT + 99 others); Fri, 24 Nov 2023 02:09:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjKXHJG (ORCPT ); Fri, 24 Nov 2023 02:09:06 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C60FCD41; Thu, 23 Nov 2023 23:08:52 -0800 (PST) X-UUID: 4e54f2168a9811ee8051498923ad61e6-20231124 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=biIA5nolcnycLWZaSMxodwzv1zZqXFegizuysjjQ1Dg=; b=swSfnQctm2+GAjYGziawP3gw9yMH2HjcJnJaUHep5nmPXrsmypZrZfEiTNZ1D2Zrgd+L19Ale+grtzUK2D2eQyMALGUXBwR/4st9AzibgEbSeUWmhI8LkVH2UmJ8H8aRA0AjG4gUGO7bdQrYb5hM74ZqKHp60uc3zT+dFAqg7Nw=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:a47b03b3-735e-440d-8dd2-864a67b2550d,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:364b77b,CLOUDID:406fc395-10ce-4e4b-85c2-c9b5229ff92b,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 4e54f2168a9811ee8051498923ad61e6-20231124 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1227275916; Fri, 24 Nov 2023 15:08:44 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 24 Nov 2023 15:08:42 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 24 Nov 2023 15:08:41 +0800 From: Axe Yang To: Chaotian Jing , Ulf Hansson , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , "Wenbin Mei" CC: , , , , , Subject: [PATCH v1 0/2] mmc: mediatek: add support for complete clock cycle tuning Date: Fri, 24 Nov 2023 15:08:37 +0800 Message-ID: <20231124070839.12484-1-axe.yang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--4.394300-8.000000 X-TMASE-MatchedRID: tiRXYRqWr+s9S3IiQd+eNQUNJ/OP1hfdTJDl9FKHbrmdohxAwFG9tKPF jJEFr+olKE0Je8DR/D4CU1PRf9o2s90H8LFZNFG7doMssNsUwYV3W1qHy8N3b+43JwG7OOXNPDY iTTu2WpE5YJpG/jXVlKC1Q6bYV6FwaaeeX2Q5bK9+HGPweyal2mGdUezV59DHQZpgl3CshRSeqD 9WtJkSIw== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.394300-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: E95754AC5D9D43F15DE16F73CCF87387CB93DDE3ED625A8CFDA9C6099A14A6B92000:8 X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 23 Nov 2023 23:09:35 -0800 (PST) Add support for 64-steps tuning for better calibration result. In the past, msdc driver only tune 32-steps and may not achieve the globally optimal sampling delay. Axe Yang (2): mmc: mediatek: add support for 64-steps tuning dt-bindings: mmc: mtk-sd: add 64-steps tuning related property .../devicetree/bindings/mmc/mtk-sd.yaml | 8 ++ drivers/mmc/host/mtk-sd.c | 133 +++++++++++++----- 2 files changed, 105 insertions(+), 36 deletions(-) -- 2.25.1