From patchwork Fri Feb 16 10:38:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 202074 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp424082dyb; Fri, 16 Feb 2024 02:39:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW/7WbiFOMAx7JnnemppvCg6egAJ27LaIBMPIkN+FRyWkYOqsRwD4jrwu13pkef//c3Yazn2xMntkiuJv52ldE615y0vA== X-Google-Smtp-Source: AGHT+IF308J+SNwYICNpzxlHd5P3uFIoWCb7X7bw8TWRd01AxZfj+PTjOWfZb0NwBwRp+Tte0Oym X-Received: by 2002:a17:906:a8c:b0:a3d:14d0:f253 with SMTP id y12-20020a1709060a8c00b00a3d14d0f253mr3145097ejf.9.1708079964639; Fri, 16 Feb 2024 02:39:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708079964; cv=pass; d=google.com; s=arc-20160816; b=yncAEsbfd6u/QmY1soSsd5XZeSeZZR948VtF91JEpWe6ElPzJeO9hZZY1DNOCoUNRH FCKsbVlvILD2f4IJRs13SLCZG//qRkFEoXqiVfsqvggaVsvqjnOScKSDUQ28i3N6X3xJ DcCtIYG1rUWA2CGaDloeSdAuDWYeEyo2DgaEvq2seSY6Yrz8FOwNs06s8ORHRH3QALJT L8K96IGdMoaW0LCijWH/b6NzS2igpHc1OHo3f8+FNy8pxbTVDmSgYqNtCdxLfViHrjp5 Rm7rZqwsbwngnD1B4TEv0m0dH32jSJumpD4aBBoA6kx6DAcDLUzbI1Xudgz0y5dWqlqX 4XcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=Xwaneu4Pr68vtKlGavQlpfTxuz+5YDVfjNoOu0SfpQg=; fh=qrLD1Bzw/v8uOtvD8TPeCBb7psUcqsm97yGxLmHNFfU=; b=0LpTcDo1xAZlIpjrPYNvSuUkiVjWV3F8RrLJaKX5CQvZac6XxQQan1qeRcqFwgAEYv 2u4AXTQISMMUBecSi8UFT9PoUjMMwK07JfYZ9M7wkWQDY2Wl0mcxsJuRr6pTS3xYarq6 LwL+Wam7lMRio7ky8xvendTi2L1flb9BiSW1IjDNRLi0wW7nw6//tRjgd1RzZE0+/Bro 0/vbgQX46DcBTZYcuYoODgTEhEPB+YFEfjgqjJR1/52Vd551dSHpsK7b0560JlZqOIFg HtX/uir0DN173OgKBA/tf6l8dEPMpZ3X+rA3EhVYAEaTAhuAfuKXWbe+CYPF7dEiFnIO 20sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A4+48+Mg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68455-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68455-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a23-20020a1709064a5700b00a3d56ca6c56si1472253ejv.626.2024.02.16.02.39.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:39:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68455-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A4+48+Mg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68455-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68455-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4518C1F23AA3 for ; Fri, 16 Feb 2024 10:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E3C255E5A; Fri, 16 Feb 2024 10:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A4+48+Mg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 764102420B; Fri, 16 Feb 2024 10:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079897; cv=none; b=B8jZW7AGS65JJpf0seP7jMSolzropuN/zyD0VvpbJgh+FAwghr+7ND7KsVKYrmS4bFemlpkBAC5n06OvYGTfzPY4hLRvi536CSvLuzCkcV0YSVkkYCg1c4aynaKE+Hv310JO5+HgIiw7oRTbL64ppEvsqVFlxXlktXh5wZ6gupQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079897; c=relaxed/simple; bh=Fnl66XIdTuTujJvG94gIbuUBXgbzthzRybPY5BhJBaM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cgZ5iQVnrZOH85t5Nhcb3ULr8CT15QxUlG8FZLTrP5ox8ZZPdQOv/xmOV7V4+hQUymPwpXgzlp2L4meLZi79+sk1kWn4YrM5zB+1KI4F4vn/FyJomH6nONYPBkZEexvKPBCj2Je1mlAPzan8FcAqojKwnvjdkID2Un3ZdIf4jPI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=A4+48+Mg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 25D2DC433B2; Fri, 16 Feb 2024 10:38:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708079897; bh=Fnl66XIdTuTujJvG94gIbuUBXgbzthzRybPY5BhJBaM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=A4+48+MgXiN7ROeAtDlQe4IZ3tUsvZWrCbyVOae36hy97/Qmmks8YVtygMzuDSVNt 96ZPO8JiNPwnPi+bQgrkew8cmhSMIy/83ngVnT3OeHubS4XrpkeY6XuBrdLcdhuOPb sivP/sSNW1YHIkyhqDZ8yGC9FtPwLmHq8E7A4aVCX8GV9/OZWMQznD+HJ+BDV/ypF7 az/wAusDJcmNYTYLvy5JYEURtBgpfbbZvYiemKkQLJdRIAqKtytcmwzw9tJerd1Tfl 3XbVexKPCcmEM7zYoqwdAQuNV4hi0QLAwZPNmM8yKKTbKwg7CJS85HtF8WNYazCS6z EHOaQbTx2Fzag== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 106D5C48BF0; Fri, 16 Feb 2024 10:38:17 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 16 Feb 2024 18:38:02 +0800 Subject: [PATCH v2 4/4] dt-bindings: mmc: hisilicon,hi3798cv200-dw-mshc: rename to hisilicon,hi3798-dw-mshc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-b4-mmc-hi3798mv200-v2-4-010d63e6a1d5@outlook.com> References: <20240216-b4-mmc-hi3798mv200-v2-0-010d63e6a1d5@outlook.com> In-Reply-To: <20240216-b4-mmc-hi3798mv200-v2-0-010d63e6a1d5@outlook.com> To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Igor Opaniuk , tianshuliang , David Yang , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708079892; l=2283; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=kbi5FiKSJPRArZ3uAhDN7VM2vSOYaKQB8k6gKCbl5lY=; b=k/a9QOutIn7Yn4Rf3eI4U8VrmPHMOdoDmcUyNR5dlRlz82ncGmwrfS5NhMFVR2mVGoMsgMI2h 2a0vPqqp9nsBnPkplBqcTxeNuNhfT8c2HZgssgqr5jjzb4c5DogUlTL X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791051656611754137 X-GMAIL-MSGID: 1791051656611754137 From: Yang Xiwen Add binding and an extra property for Hi3798MV200 DWMMC specific extension. Signed-off-by: Yang Xiwen --- ...-dw-mshc.yaml => hisilicon,hi3798-dw-mshc.yaml} | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/hisilicon,hi3798cv200-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/hisilicon,hi3798-dw-mshc.yaml similarity index 72% rename from Documentation/devicetree/bindings/mmc/hisilicon,hi3798cv200-dw-mshc.yaml rename to Documentation/devicetree/bindings/mmc/hisilicon,hi3798-dw-mshc.yaml index 9db85a0fa41c..1b5c2a49a2eb 100644 --- a/Documentation/devicetree/bindings/mmc/hisilicon,hi3798cv200-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/hisilicon,hi3798-dw-mshc.yaml @@ -1,10 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- -$id: http://devicetree.org/schemas/mmc/hisilicon,hi3798cv200-dw-mshc.yaml# +$id: http://devicetree.org/schemas/mmc/hisilicon,hi3798-dw-mshc.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Hisilicon Hi3798CV200 SoC specific extensions to the Synopsys DWMMC controller +title: Hisilicon HiSTB SoCs specific extensions to the Synopsys DWMMC controller maintainers: - Yang Xiwen @@ -13,6 +13,7 @@ properties: compatible: enum: - hisilicon,hi3798cv200-dw-mshc + - hisilicon,hi3798mv200-dw-mshc reg: maxItems: 1 @@ -32,6 +33,12 @@ properties: - const: ciu-drive description: card input driving phase clock + hisilicon,sap-dll-reg: + $ref: /schemas/types.yaml#/definitions/phandle + description: + A phandle points to the sample delay-locked-loop(DLL) + syscon node, used for tuning. + required: - compatible - reg @@ -42,6 +49,18 @@ required: allOf: - $ref: synopsys-dw-mshc-common.yaml# + - if: + properties: + compatible: + contains: + const: hisilicon,hi3798mv200-dw-mshc + then: + required: + - hisilicon,sap-dll-reg + else: + properties: + hisilicon,sap-dll-reg: false + unevaluatedProperties: false examples: