Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1989900rdh; Tue, 26 Sep 2023 09:05:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbsQeJnTuDCt++I4PFM2xZRbnekOIT5OnUD5PhO872gL7YjKk2c3DK65qQsiiFB4LsrMzU X-Received: by 2002:a17:90b:3e87:b0:274:6d36:5b32 with SMTP id rj7-20020a17090b3e8700b002746d365b32mr7144367pjb.30.1695744327248; Tue, 26 Sep 2023 09:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695744327; cv=none; d=google.com; s=arc-20160816; b=haXx60EBm+FtwzcNklPLMQnvLje2yn6za4j9P9Pwx/51kRrj1TfpX+vhNWMr8C+cPz No8Zto7RSp1QT850q+jk8ngY9Tsvkj6fa5Nmq+GSAU6y3nPEDG6dcZUH9sOfq4wOZCs0 HgoXqx7RVxExHy3y5WEYOzh3Qn37WcZMOIsRmaDK5ywOxOU84H6iXOOvTLVKKedTZVYK fJ7LgWeVk57Ch35nTcjFst5k1mJi//KGyc/NMXLA11w/PeKHBs2fyiYyPXaEKrjTaotl 4Y0k3wWlKrIelp15hkubjDJ1lfXwvTsS+S9ewQIOkCEobc9jVr5cvGxSBjOtinT0nKih CszA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gACCqU464nbmifans7JAXRQVvVlNjsznE9UNt5TqO8E=; fh=eBvvXZOw1A07F0romDsVz5vqw30Eb9ytt2vL2EDqmpk=; b=gxrcAmdvcrJ8zBNRR+onYiMQw7cNd6cXzlSBNc4haZDWI3sSmaCI4D365iIl4HCpuc Zca+SIwBjibilS8Y/V/CM9M0ynEau4rPk5jUKqdzfXeXVYoO4bi/CaKHEzXAsYW/U5Lk bXSFwbjsjZxk1e0k6b8ZxHeDiDtfMOd+Yja94lWcVKtFpqUc5ZQrC7o35wA0cRqz4VKs /wv2UXqcCKX/yjnMpp0h4M+cLpQ2jnbopsyoWX6bzI0mYdaHXrrwZD03RkmYu+9Pjrte 7jpXjHJoHye23lAcM3XFoJIY9kPG6ixgFfMSToSxvLQ4zY7uUDiWvx+BgPHwkd7P4dF2 HpvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zz6fgqoF; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id my9-20020a17090b4c8900b00263f3d759cdsi14235005pjb.78.2023.09.26.09.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 09:05:27 -0700 (PDT) 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=@linaro.org header.s=google header.b=zz6fgqoF; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7761D8066698; Tue, 26 Sep 2023 08:58:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235132AbjIZPEi (ORCPT + 99 others); Tue, 26 Sep 2023 11:04:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235072AbjIZPEY (ORCPT ); Tue, 26 Sep 2023 11:04:24 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C35E619E for ; Tue, 26 Sep 2023 08:04:12 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d8164e661abso10224379276.1 for ; Tue, 26 Sep 2023 08:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695740652; x=1696345452; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gACCqU464nbmifans7JAXRQVvVlNjsznE9UNt5TqO8E=; b=zz6fgqoFphdvGMLNH2enrbt75dF3gnnEZnc99UaQQszWz/SoVa20wcZrHv5Yi/RZUM 3yqEKzPF0OdvS8g95UdBhU/uzT4C6Y+HbkPEHYXtVup5uXBicCwG7Ruc9dCDBcInc51g B+iakIzwDcG2etCBlfrdIZmOxrDW3PqBNDqMMVbZGuvFR+tMYK0vwkW9AfiMrlg39JTl q2rSS/6UxUiVsrh3T3pWhMmdku03y/L2lvGHKDzOb/lqkAj3OGGM/VnNipJDIcXaUkgC DkK0GzqLeiTIAjI3AeITmj7shwANteLC2yfdEE5Zrraq/gl0NMcykkqHnToSxR00bvYh 1n+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695740652; x=1696345452; h=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=gACCqU464nbmifans7JAXRQVvVlNjsznE9UNt5TqO8E=; b=cZbmeffe1VMZSlpkIi6A/+4GOFGZUPdGCXtHWck+8PoWeCMnayrWTww7z+zpUw+l0L bHMJCD4chcXRofde5oHOa5eqwSBGHtAqfA/eOfHE421DUqcKIqQTMReg7dfOH1C0Vv2d GI7+ol8zd9ADYuUQxpJKhPkNO0C5HNMDB+Zq172IpO1lbquIMfIWLbpHOra3ZS0GSWeD vnVA1SbSEp5+g1s0Oy4tYKNzilcoLHgGlf0kdfN0M8cOCvkKsG5f4t6NtUnmNwTdyTTz Zfl+fXcmesmawClPrUHhy0VdKQzzWPDt4JrDtnHtvPA1gG+Zy5Dh34iGNgS7Oi1a+2Tf WVXA== X-Gm-Message-State: AOJu0YyAiCBot2obz2QOLuGsrvPyGPyy5v+b4Sc1JV3CPrd0HziICxCr krImtJKGXzxY9BeQS0YLk5mWx9evXIJlVhw9j02JhQ== X-Received: by 2002:a25:320e:0:b0:d7f:13da:f773 with SMTP id y14-20020a25320e000000b00d7f13daf773mr9543151yby.6.1695740651642; Tue, 26 Sep 2023 08:04:11 -0700 (PDT) MIME-Version: 1.0 References: <20230922062834.39212-1-william.qiu@starfivetech.com> In-Reply-To: <20230922062834.39212-1-william.qiu@starfivetech.com> From: Ulf Hansson Date: Tue, 26 Sep 2023 17:03:35 +0200 Message-ID: Subject: Re: [PATCH v3 0/3] Change tuning implementation To: William Qiu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-mmc@vger.kernel.org, Emil Renner Berthing , Rob Herring , Jaehoon Chung , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Content-Type: text/plain; charset="UTF-8" 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 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]); Tue, 26 Sep 2023 08:58:24 -0700 (PDT) On Fri, 22 Sept 2023 at 08:28, William Qiu wrote: > > Hi, > > This series of patches changes the tuning implementation, from the > previous way of reading and writing system controller registers to > reading and writing UHS_REG_EXT register, thus optimizing the tuning > of obtaining delay-chain. > > Changes v2->v3: > - Rebased to v6.6rc2. > - Dropped redundant criteria. > - Keeped "starfive,sysreg" in dts file. > > Changes v1->v2: > - Rebased to v6.6rc1. > - Keeped "starfive,sysreg" in dt-bindings but removed from required. > - Changed the function interface name. > - Maked the code implementation more concise. > > The patch series is based on v6.6rc2. > > William Qiu (3): > dt-bindings: mmc: Remove properties from required > mmc: starfive: Change tuning implementation > riscv: dts: starfive: add assigned-clock* to limit frquency > > .../bindings/mmc/starfive,jh7110-mmc.yaml | 2 - > .../jh7110-starfive-visionfive-2.dtsi | 4 + > drivers/mmc/host/dw_mmc-starfive.c | 137 +++++------------- > 3 files changed, 44 insertions(+), 99 deletions(-) > Patch 1 -> 2 applied for next, thanks! Kind regards Uffe