Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2432647rdb; Tue, 12 Sep 2023 01:21:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxdxz8qpaOHHDxz4ZM1Wh7JPznHoRfcWfYY5OB/bVhdqexks2GzjlcrphnQup6GIevZvlN X-Received: by 2002:a05:6a20:4420:b0:140:8537:85bc with SMTP id ce32-20020a056a20442000b00140853785bcmr13569524pzb.41.1694506900829; Tue, 12 Sep 2023 01:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694506900; cv=none; d=google.com; s=arc-20160816; b=em5U5eZm1lVwjlRcePfK4u2dIFgJSrN0N4AcLRipxOLfCaWu4TJZoXN07a7B9Co3xs v2isZ5W/IundK1Xil61x1haZfMA4mHBfymzGLO5Z67EPyyJEXE9S7CCZ2cGWIYySeBaE zHsQ3fgKMI3vwNAIvi1QsrBmtVZ0ZGcjGZ18UtoCiTNEL/4g8FshazWIyYHkMEQVoo24 /xCbFyX7tcdGCBW4kVXSfvTeT2U+bLvO6eA7jSAZ/uPeK/lTbe0PxXiG1MfY/G/wKzH5 A09n+ICW+ioEs+7aiyAgQD3UBX8irWxri4KcwWR+lBZk/h9EsyaG9fzv93xhIuIZan6z /JWA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1YB4SpfciPzGAv2uRBKUgCzS+LdaNKh9O3mvEPOeZfo=; fh=kxe0WRziv7CVSpkNH/bNiH26639+950jD1JJwWX77uk=; b=dhULlwVoL/eWxTxX4yd+Vg55aOlb7qCjw8Rs9KuGpnN61hiuhG5VJhpDq657fLNNlJ jzczSwZJ/ScWETie/F7zl8cndsR77sHGoqwtVQLCrwoGjHSQKM41jZRNc0n0oecfudaP Pa12Woa7tmnTDsSyCz9+J95gHBHnYY5tRhnjvcQNw5Rznu3Fb3gHATtNoeMw0EcTp+v0 NtzyEQGcCmXZ6ltXVwZDHpiCieESjqtovJ2YwVALM5y/fLH8S64xTllV753MjCNqRrP+ g54rOlNaOz1l8arKrMyCO+aSV7kWwlJhWnZ65GgVc8pObZaFWs6eIjYcAc1Q2ESSKHLX RmQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d15-20020a17090a7bcf00b00262ffca5a31si9609146pjl.161.2023.09.12.01.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 01:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B76F080B233E; Tue, 12 Sep 2023 01:14:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232548AbjILIOa convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Sep 2023 04:14:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232389AbjILIOQ (ORCPT ); Tue, 12 Sep 2023 04:14:16 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2F67E78; Tue, 12 Sep 2023 01:14:12 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 01B8080BE; Tue, 12 Sep 2023 16:14:06 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 12 Sep 2023 16:14:06 +0800 Received: from williamqiu-virtual-machine.starfivetech.com (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 12 Sep 2023 16:14:04 +0800 From: William Qiu To: , , , CC: Emil Renner Berthing , Rob Herring , Jaehoon Chung , Ulf Hansson , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , William Qiu Subject: [PATCH v2 0/3] Change tuning implementation Date: Tue, 12 Sep 2023 16:13:59 +0800 Message-ID: <20230912081402.51477-4-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912081402.51477-1-william.qiu@starfivetech.com> References: <20230912081402.51477-1-william.qiu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT 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 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 01:14:36 -0700 (PDT) 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 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.6rc1. William Qiu (3): dt-bindings: mmc: Remove properties from required mmc: starfive: Change tuning implementation riscv: dts: starfive: Drop unused properties and limit frquency .../bindings/mmc/starfive,jh7110-mmc.yaml | 2 - .../jh7110-starfive-visionfive-2.dtsi | 4 + arch/riscv/boot/dts/starfive/jh7110.dtsi | 2 - drivers/mmc/host/dw_mmc-starfive.c | 137 +++++------------- 4 files changed, 44 insertions(+), 101 deletions(-) -- 2.34.1