Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp2648885rwe; Sun, 16 Apr 2023 02:21:06 -0700 (PDT) X-Google-Smtp-Source: AKy350Z1ebXg94UHOW95lWyYmM524j3bf893IuVZdL3M1s4eyzI4Ue2CeNYA/Gd2WrCinE0TuFz9 X-Received: by 2002:a05:6a00:23d3:b0:63b:608a:eeaf with SMTP id g19-20020a056a0023d300b0063b608aeeafmr12947159pfc.14.1681636866666; Sun, 16 Apr 2023 02:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681636866; cv=none; d=google.com; s=arc-20160816; b=I7ftBQHv5884V1mwglPhWxITk7wzsevCS9Htu8E8/9x1/WjZgskYDq1Zzr7UgTpyAN iAiq/42/dOLglVCqg0d6KOBwNNo2O1vvEfHRshplv6TgV+90ub9hOnKg7xXDCVHWBZW2 bslszsj9+XfKLf4fPDLJjK2ofqxTdWtAbR1+63PZ4h4fiZ3IxcBcOZjClZ8lfambwgIQ 0oll5zLGwT7dUUkZMa7pqLsq53izi1vnJI6s8q3ukre90T39jqIGxtZJpy/NWZ4Fa6H0 U0vr3WkkM2qhrNB6PEYLx5a3FpQJsg//pGsHsEnsnidjSDaNNcr3HHo/03Zat4EOYET0 Imow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=GPPgisldFd47EM2ZCHGJgSpUsFhqZfMKom1DvyPRFg8=; b=tJwGhtlTt1APEsRu/6bL8fEN6BnKt+Xd3ExiGgmXpiziRkMjFKgPOKnSwWSqjT4f4x 3QIaqu/LT3Aq0v7Vieim3XfnI5eQKddWO1zHkGqldiNpc64aGtVlK7riqmO1HFFhIKnV XjMRFXE/IFhBij08Eab3moy2u9w/GmByEXQqfd4lOEMCMdQyOJ+crzBMZbiKPqHSfOe7 fhuruHDS4ygndYxFzg4i6MgmwkN3G9ETEbibVdDZt4t5ahkoTCELlyIw0V60YtjHJNqZ kXHpyMYUYrvM+ZcJjQ8E0yycyDTPQNPUaw9adLQ2TvXjttbJsB397wdEbRKVgMbjwqo1 ipeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ChyVdhKQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q78-20020a632a51000000b0051b25fd77absi9587873pgq.887.2023.04.16.02.20.53; Sun, 16 Apr 2023 02:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ChyVdhKQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230418AbjDPJUB (ORCPT + 99 others); Sun, 16 Apr 2023 05:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230367AbjDPJT5 (ORCPT ); Sun, 16 Apr 2023 05:19:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61661BFB; Sun, 16 Apr 2023 02:19:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 431D161548; Sun, 16 Apr 2023 09:19:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9FC2AC4339C; Sun, 16 Apr 2023 09:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681636794; bh=wsbojbo7df/LUKeCeNIX/OxYtqkIzPpLb1QyaWizIoU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ChyVdhKQxg6PzIeRASo8TBsWF6mjkmyxJU6Cfh6FM0H9dXwqlEaUH24BqHHf1l4A0 w0KmxPyXEn9kjmiHxU9XIlGtAALh1MfhqFFcK4MhQZSjAo7Dwke6o7BG6BXHnMSuHr YMi9NzMDcwP6q9OIGsTuKzIHrOzKn1GvUIqi22NYbSKIwF7rvFSMA1ld5TxIqdYA/a HCTXHNfZU/S9UNX8ATzXZBWnCxFAtAiRE0jwaNEXWy5Zs4WDY0uV0v8YfKfbPceTwe L0brjpPotpjzUR9x8dmCpXFc+Qr9fFpKp3C4Tv4sDtjDGEep681Mrr5Hw/mqYPxFG5 x8/KkovUn77dQ== 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 8B6ADC77B76; Sun, 16 Apr 2023 09:19:54 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sun, 16 Apr 2023 17:19:35 +0800 Subject: [PATCH RFC v4 4/4] dt-binding: mmc: histb-dw-mshc: Add Hi3798MV200 compatible string MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230415-mmc-hi3798mv200-v4-4-44096e187f53@outlook.com> References: <20230415-mmc-hi3798mv200-v4-0-44096e187f53@outlook.com> In-Reply-To: <20230415-mmc-hi3798mv200-v4-0-44096e187f53@outlook.com> To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Yang Xiwen Cc: tianshuliang , Jiancheng Xue , Shawn Guo , David Yang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681636790; l=1593; i=forbidden405@outlook.com; s=20230415; h=from:subject:message-id; bh=q5GM8oNU5gnf/3ltWXbVzjwL+8fph3xf831mMOi9Dsk=; b=sASercxLEOoqglzvstfLuHzFGTm0s2nnT7EchZrLhr0uqiVFQtjGG7XcIeJv5rRi3L1U/BsYD tfTt3eSo7jVCeEF2xxPbI4r0dOamp2qh3J6pn8dSgtN7kgqRkkfOy0M X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=hfdpPU3AXR+t7fdv58tXCD4UzRNq+fop2TMJezFlAhM= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230415 with auth_id=44 X-Original-From: Yang Xiwen Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO, FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yang Xiwen Add Hi3798MV200 compatible string and an extra clock for it. Signed-off-by: Yang Xiwen --- .../bindings/mmc/hisilicon,histb-dw-mshc.yaml | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/hisilicon,histb-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/hisilicon,histb-dw-mshc.yaml index 301b6ad39c5af..2f8335fd2c965 100644 --- a/Documentation/devicetree/bindings/mmc/hisilicon,histb-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/hisilicon,histb-dw-mshc.yaml @@ -19,6 +19,7 @@ properties: compatible: enum: - hisilicon,hi3798cv200-dw-mshc + - hisilicon,hi3798mv200-dw-mshc reg: maxItems: 1 @@ -27,14 +28,16 @@ properties: maxItems: 1 clocks: - maxItems: 4 + maxItems: 5 clock-names: + minItems: 4 items: - const: ciu - const: biu - const: ciu-sample - const: ciu-drive + - const: sap-dll-mode required: - compatible @@ -45,6 +48,27 @@ required: allOf: - $ref: synopsys-dw-mshc-common.yaml# + - if: + properties: + compatible: + contains: + const: hisilicon,hi3798mv200-dw-mshc + + then: + properties: + clocks: + minItems: 5 + + clock-names: + minItems: 5 + + else: + properties: + clocks: + maxItems: 4 + + clock-names: + maxItems: 4 unevaluatedProperties: false -- 2.39.2