Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8457382rwi; Tue, 25 Oct 2022 07:01:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7v0XZvGovQIdwSrxZbSSJSSbcIpInkZTRxO13NyZ35hVF/L3GkkHa3MaHNcyQfo1vgcTr7 X-Received: by 2002:a17:907:2ccf:b0:7a8:1bf5:c80f with SMTP id hg15-20020a1709072ccf00b007a81bf5c80fmr9296056ejc.439.1666706463908; Tue, 25 Oct 2022 07:01:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666706463; cv=none; d=google.com; s=arc-20160816; b=VxaTkNxNNLSARHdzc7+kd56SQgfMnjLAtP+FXfqWbhOIbRmiu+eE165qGTAKm3C6MM qu+snRArXyEAEXSjvGBq3XwsdNBD+yJkH4UUHBQZ+tppquGKjDiY3NwSnpHpfb7hKtPH Ue+PT9DgyGpAuM27G8stASHkmcvHGj3DLJyvM+/OGrHZhJhEVNH5uKNCdBiwDCHOZS6X mYdnmeuuhHIA/PSTSm/6YYPyZ0fACfPEuk3PvIMzGvjiILpT6hL+n86pAoGqJbjLOFPR 7XUZE4cpQd2cdSC6oWc8+Ctv6HGwaQoBIfKj3q2VdGqmFU2qVmD1Zs2Grph/tgNZyTtQ DR8A== 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 :dkim-signature; bh=bMnJc+k3BQCb5bXYfRL3MsvClm+VDOd3dvG9NLKDvOQ=; b=dg4tmtI+XHjls3ufd3Z5eQQJKJ7nWO/L1kWSfgMX9Sq5Q96A8xSmTk/U8vwzNwKTgi xqhMF++Hm3gdEAjQUYgnspGkPjHfDGnh2lfJ9qsQnDuMyuK4l0lllEVo6mhMeAEF7/lx 5Y0HJIeWMi2RefibYM3HdUo3zuz/4HC02Wf7cNrQ66C1gubE8MLn5WNDbT1U1JG9Q7Rx K4/u+IvfjEJFy2FJyTXzHr0iWsobvY859oV3p55aFT6mLcEipDTooDPklp+59E4c9j+t SLMdkDoSiOFOlUpUhgGjUQFYlxdHZd7Ulup3hel4MeY3KD0sehz4VQVh4Os/9t4IAsvM lJog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=bqmjXLDA; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020aa7cfd3000000b0045bfaaab6d1si2674232edy.48.2022.10.25.07.00.32; Tue, 25 Oct 2022 07:01:03 -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=@mailerdienst.de header.s=20200217 header.b=bqmjXLDA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232846AbiJYNaR (ORCPT + 99 others); Tue, 25 Oct 2022 09:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232662AbiJYNaL (ORCPT ); Tue, 25 Oct 2022 09:30:11 -0400 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 394FBDEF25; Tue, 25 Oct 2022 06:30:02 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id 9F3AD6269B; Tue, 25 Oct 2022 13:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666704600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bMnJc+k3BQCb5bXYfRL3MsvClm+VDOd3dvG9NLKDvOQ=; b=bqmjXLDAHMMTdEesmQZpRVjFUesGHRW4pFIElh7RlDZ3fk2PHkd3CB6WZcs0tUkYoyeic2 ZMfInO8tsZY1OT3/41+sXPu0C46qltffdlN69AXlPNukYwyOpyYQUCwW8Tn0gGEh3gYlm0 66CrMJL7mR/wOBgeD2FvM08GgIvhxWw= Received: from frank-G5.. (fttx-pool-217.61.152.57.bambit.de [217.61.152.57]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id B857340112; Tue, 25 Oct 2022 13:29:59 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Wenbin Mei , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Shih , Sam Shih Subject: [PATCH v5 2/6] dt-bindings: mmc: Add support for Mediatek MT7986 Date: Tue, 25 Oct 2022 15:29:49 +0200 Message-Id: <20221025132953.81286-3-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221025132953.81286-1-linux@fw-web.de> References: <20221025132953.81286-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: a777fd38-8390-4268-8bed-ccfa143c1ccc X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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: Sam Shih This commit adds dt-binding documentation of mmc for Mediatek MT7986 SoC Platform. Add SoC specific section for defining clock configuration. Signed-off-by: Sam Shih Signed-off-by: Frank Wunderlich --- v3: - drop assigned-clocks/assigned-clock-parents - fix clock description v4: - update binding for mt7986 (new mtk version) - squashed part 1 (compatible) and 3 (SoC specific clock config) and so dropped Ack from Rob for 1rst Part v5: - drop quotes around clock names --- .../devicetree/bindings/mmc/mtk-sd.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index 0cedeb12892d..6f8ecb4788eb 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -20,6 +20,7 @@ properties: - mediatek,mt6795-mmc - mediatek,mt7620-mmc - mediatek,mt7622-mmc + - mediatek,mt7986-mmc - mediatek,mt8135-mmc - mediatek,mt8173-mmc - mediatek,mt8183-mmc @@ -237,6 +238,31 @@ allOf: reg: minItems: 2 + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt7986-mmc + then: + properties: + clocks: + minItems: 3 + items: + - description: source clock + - description: HCLK which used for host + - description: independent source clock gate + - description: bus clock used for internal register access (required for MSDC0/3). + - description: msdc subsys clock gate + clock-names: + minItems: 3 + items: + - const: source + - const: hclk + - const: source_cg + - const: bus_clk + - const: sys_cg + - if: properties: compatible: -- 2.34.1