From patchwork Fri Aug 2 15:31:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13751702 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 6EAC9C52D6F for ; Fri, 2 Aug 2024 15:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Y9BMErG0KR7KXhPhQ8k/h/cufLMHObspJxAaJXj6P9U=; b=M1Uaan6AA8Z97THJu5Nuk37c37 bloh1SVjeZwVYx2XsH+oWJ7i8RV7IstVMSoqrKfsDuaRHViKnY/LMeWH+af+gMCi/6QRwRcrpIsbF P9Gi4k8tfLmQHxEF97ZRB1Ih9HfniR2fHOFauXu1qpQpfPOCtTvWjwXWrWZqUr/ImKBdXJFvWZjR/ hpD2KKzKTIuM1XevwyyNWEJJxmvw9oE79gxYJalJC0jAEUfUALswNYi+eOEQYgErZUyHlLvSAtlJU eyKJ55GjO7jm6aecK98nGhIHzT08E8evSv6Ypu835u4fRZA74flPHxiGhfUPLWczg1z+h+wdnTj2B soRKM3/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZuK8-00000009Ilt-1Xoz; Fri, 02 Aug 2024 15:36:08 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZuJA-00000009ITX-0wHI; Fri, 02 Aug 2024 15:35:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1722612906; bh=jOKejuFSI0ocJibzterhxRI6kfUg7oPe9uQyDE1Jcuk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fU5f7jpHZiCqmXKjm6eioVwx5zs6v6QO8kPVDatiedSdLlPC3BdGUo70zwDTXY3Ss 1rSch4obdF5cbuN/8mlP8dNWMPZBHNvwQjx/iHOiXI1GZRDSrJwxX6MctFNlF83xwx 7emxEu0uHmakYAMdmDpxXzCLScrv8SCcWgGNi6thRrLpDNjW06l9lgusXuuFGpbEkN OGiDYGfYJeBpJFtBM/sx361MZCeAJd1ZLsM14qCMIKUfPQWmAdacdgKEXx/RcdxU0y qL2AV1xVQ7qdrBQJAJKTmsTNj6H2LWzfmqLQgVJE92a/Txcrs/RCsBIJATk2TKwQcW gSWHKee63G86Q== Received: from trenzalore.hitronhub.home (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 21E823782219; Fri, 2 Aug 2024 15:35:05 +0000 (UTC) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Detlev Casanova Subject: [PATCH 1/3] dt-bindings: pinctrl: Add rk3576 dw-mshc bindings Date: Fri, 2 Aug 2024 11:31:27 -0400 Message-ID: <20240802153609.296197-2-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240802153609.296197-1-detlev.casanova@collabora.com> References: <20240802153609.296197-1-detlev.casanova@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240802_083508_409632_1B5A0BB5 X-CRM114-Status: GOOD ( 13.51 ) 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 Add the compatible string for rockchip,rk3576-dw-mshc and add support for the rockchip,use-v2-tuning flag, a new feature of this core. Signed-off-by: Detlev Casanova --- .../devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml index 211cd0b0bc5f3..dd8d1e773bb38 100644 --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml @@ -39,6 +39,7 @@ properties: - rockchip,rk3368-dw-mshc - rockchip,rk3399-dw-mshc - rockchip,rk3568-dw-mshc + - rockchip,rk3576-dw-mshc - rockchip,rk3588-dw-mshc - rockchip,rv1108-dw-mshc - rockchip,rv1126-dw-mshc @@ -95,6 +96,16 @@ properties: If not specified, the host will do tuning for 360 times, namely tuning for each degree. + rockchip,use-v2-tuning: + $ref: /schemas/types.yaml#/definitions/flag + description: + If present, use tuning version 2. + v2 tuning will inherit pre-stage loader's phase settings for the first + time, and do re-tune if necessary. + Re-tune will still try the rough degrees, for instance, 90, 180, 270, + 360 but continue to do the fine tuning if sample window isn't good + enough. + required: - compatible - reg