Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp591907rwl; Fri, 4 Nov 2022 04:13:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM50WXkxzENctG43V4FwUUp4DfPnaCwq31hsb/tzK04c80jZ+ZNdilWFno96eEw3shxqh/kJ X-Received: by 2002:a17:907:3d89:b0:7ad:b97e:2949 with SMTP id he9-20020a1709073d8900b007adb97e2949mr30390040ejc.686.1667560382024; Fri, 04 Nov 2022 04:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667560382; cv=none; d=google.com; s=arc-20160816; b=0ejBjzf0asx7uaeQ0q1b4H1sb7bRoy9gcZzH3XpoUCYq4FbfZKE0EkneC633LKm4fG uQXCNFTMo6r0jLcmqeoN3hBY+tr5GPp66qE7wswgqKGqMHMrcUhqcAzdSGBmzPxTUgUx WthX4mnTOUHYHtW5yg7RckZUXOH+2BzfOq1gxL6TiUFnbAZf1mcf4ytkFJEYHZozzrq9 V8ylPnwBA1guAYOcuDq9GkNOMavM7p1/ewHEUYhEysOSni8Mk1yddw6afzQbNRKpUsgB M4uTMvkb2keVTGj59zKDLYYGi95w0Rx6nyyrFFQ5FPz495+Bc2C+VervIOEHaCT18i+3 WjdQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=SiJd/cbIFHc0t29rG3pUwRbp3B0gNob0JkC9ON4oH/Y=; b=mZqo6DvqNGxfybBglo3TCm0pIJGBZYw3o2qIQa9wwTQGy0xfCmNf7hiD7658wmjwNh uao7XNJ8M5djzBKoCh5H6/fLcjDU50sKmhLyEvqKHB78pkf0DBtVK7wEd5lqRU28s/im QuzVnyKaXpZQCqqNoA4C//H19+5rLUzYnbxd1XvD0eEWsFhcei86T2nizgAGgCG4iZ1V 6G3IA2aj4SXHenTQM287Akj4H6DupjrGMbSXFWzBLvlCobcBQ2yA+OTlLt+Xhgn7EFfC Fuk5A4soo8HNPstEV+VWSILK78optHnLedGtRdZx6l0S/p4o54ichg8wCWKWYDpHV/8v 6hNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HZrqVcNl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw19-20020a170907a0d300b0079dccbbf0c0si3578769ejc.146.2022.11.04.04.12.33; Fri, 04 Nov 2022 04:13:02 -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=@mediatek.com header.s=dk header.b=HZrqVcNl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231621AbiKDKE7 (ORCPT + 96 others); Fri, 4 Nov 2022 06:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbiKDKE5 (ORCPT ); Fri, 4 Nov 2022 06:04:57 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2C8A126; Fri, 4 Nov 2022 03:04:54 -0700 (PDT) X-UUID: 5da8b99b54c9420285541947fdeb3be4-20221104 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=SiJd/cbIFHc0t29rG3pUwRbp3B0gNob0JkC9ON4oH/Y=; b=HZrqVcNlvAbPIAzrFT/a7SDK2j/pXOdxQKPtMtf0y73Ae8FsEW1eiMCbgUpicP6FP5z8nfmmmrubz59gZJKaiYA22EK7Y6ji631JpxP3zgXszRfjSnL0Y/3E+OrFgY4ZBE5aGhRjW+152CL+0VIDXMhCQCG+uMQ4sj1lc3szVcs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:2b7ddbb3-d266-4b5f-bfff-06f200f23879,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:62cd327,CLOUDID:8300aff3-a19e-4b45-8bfe-6a73c93611e9,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 5da8b99b54c9420285541947fdeb3be4-20221104 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 356064194; Fri, 04 Nov 2022 18:04:47 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 4 Nov 2022 18:04:46 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 4 Nov 2022 18:04:45 +0800 From: Mengqi Zhang To: , , , , , , CC: , , , , , Mengqi Zhang Subject: [PATCH v2 2/2] dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock Date: Fri, 4 Nov 2022 18:04:11 +0800 Message-ID: <20221104100410.27531-3-mengqi.zhang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY 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 Add optional crypto clock of the Inline Crypto Engine of Mediatek SoCs. Signed-off-by: Mengqi Zhang --- .../devicetree/bindings/mmc/mtk-sd.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index 6f8ecb4788eb..8ed94a12a03b 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -263,6 +263,28 @@ allOf: - const: bus_clk - const: sys_cg + - if: + properties: + compatible: + enum: + - mediatek,mt8186-mmc + - mediatek,mt8188-mmc + - mediatek,mt8195-mmc + then: + properties: + clocks: + items: + - description: source clock + - description: HCLK which used for host + - description: independent source clock gate + - description: crypto clock used for data encrypt/decrypt (optional) + clock-names: + items: + - const: source + - const: hclk + - const: source_cg + - const: crypto + - if: properties: compatible: -- 2.25.1