Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5232718rwi; Sun, 23 Oct 2022 02:23:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5KoK/6qGPGr/HIBB9pCdTMD22WB6Tv/sIGOZHVc180C1PRq6XRRqzCwrnBDNpmAsMIZVGq X-Received: by 2002:a17:902:e5c8:b0:186:9fc5:6bfc with SMTP id u8-20020a170902e5c800b001869fc56bfcmr1669363plf.71.1666517017507; Sun, 23 Oct 2022 02:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666517017; cv=none; d=google.com; s=arc-20160816; b=gbNFrOo2IvBj/wI0Rji4NBPupHL/lG2lBlkfVD/Sby8GpmLHWTy5X8CfHt5JTBcolb s1UoUE6ymbj5Q25iOcOhiyb8qEngGLyvHvNUZsbsttsCQ2sxorAmWDll8zVRT4oQHu7p 3dmfhiFB+rnHTSFVRJ8M7A/CaZHO8CLsJbtt7Kuz1UJzsFEEQMqwHubRH+OWQ8jMThO4 02lD1tyZnOH0JI/VlOh/0vN6bv7HIw2qI42yCIyRa80SDPegAl1w1++3e1UH34xUJ8jP V0mkUriU5smw/gJhGu00pw5uynTlZggqE8gnlWqbm+0fomFWC305AhO+RCIZ2wUXoOEH NrSg== 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=JDj+3jeCqCcaeTvzPHxQEqBQy4Ab6T3C2f1XrCtCwA0=; b=BIZA+T5f09/X+V2o0oy0i8MfLBg8YZPCxVavuoxiFxY7B8uvlOc+bpGu7V7x5vaKgY gYYqdnpAfEP5I0Il64Zx6svFx1FshWJw9x8a0dJ/49JwW07Vq2LcP6v4/zgOOHT7ay4n b7UXrQaDZ1O1lGzz9dEaxL38PliHCNQNHXmPH8oPDjvxOD6dilBcfERpNJeD69F7q2OA 0aGUWIj4C4IrsE4ZcajkvkeHfPglnbkHo706POez/59YsHvQXovZxKeryiEA3KSZQ1de H/IyV2xOCHSjw3YLPkN4pn3oTHQLJIw0wIhfscFGVCk2vx5lfEhj9ghDUzO2b1nvekQI 2EEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=RRfjCUWB; 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 n28-20020a635c5c000000b004404705691dsi32086550pgm.487.2022.10.23.02.23.26; Sun, 23 Oct 2022 02:23:37 -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=RRfjCUWB; 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 S230101AbiJWJNh (ORCPT + 99 others); Sun, 23 Oct 2022 05:13:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiJWJNS (ORCPT ); Sun, 23 Oct 2022 05:13:18 -0400 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9768F72ECD; Sun, 23 Oct 2022 02:13:13 -0700 (PDT) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout2.routing.net (Postfix) with ESMTP id 60D6F5FC39; Sun, 23 Oct 2022 09:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666516391; 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=JDj+3jeCqCcaeTvzPHxQEqBQy4Ab6T3C2f1XrCtCwA0=; b=RRfjCUWBMEhto+cDXh0RUPXtNVen8lXp88tVQwu6h24gptDD1yaCcNVtbB8T848DAIUhTV B1/eptn3ZnNVIox+5zG0liRrlT0YaSrSTX1pI1WV1JlWTglLK53ziBE+T/6+UgTi/0aPnw VuVOp2/t8fquuWpyMa2jtIfXeyPyEjk= Received: from frank-G5.. (fttx-pool-80.245.79.234.bambit.de [80.245.79.234]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 9FC6010031F; Sun, 23 Oct 2022 09:13:10 +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 Subject: [PATCH v3 3/7] dt-bindings: mmc: mtk-sd: add mt7986 Date: Sun, 23 Oct 2022 11:12:43 +0200 Message-Id: <20221023091247.70586-4-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221023091247.70586-1-linux@fw-web.de> References: <20221023091247.70586-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: 1f513a30-b000-40b2-a634-bdc6344441f7 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 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: Frank Wunderlich Add SoC specific section for defining clock configuration. Signed-off-by: Frank Wunderlich --- v3: - drop assigned-clocks/assigned-clock-parents - fix clock description --- .../devicetree/bindings/mmc/mtk-sd.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index 31bb6dc329d2..17b346a60e4c 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -228,6 +228,29 @@ allOf: - const: source_cg - const: bus_clk + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt7986-mmc + then: + properties: + clocks: + minItems: 3 + items: + - description: source clock + - description: HCLK which used for host + - description: AXI bus clock gate + - description: AHB bus clock gate + clock-names: + minItems: 3 + items: + - const: source + - const: hclk + - const: axi_cg + - const: ahb_cg + - if: properties: compatible: -- 2.34.1