Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp550334rwl; Fri, 4 Nov 2022 03:41:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7inOizd6DT0BVhBhoQ7iZSzXUBmPPRI2n4co5lsih7mj5a5kU3pLfbUU2mzhVvYhzG+41q X-Received: by 2002:a05:6a00:22c3:b0:56b:f793:5ad1 with SMTP id f3-20020a056a0022c300b0056bf7935ad1mr35533755pfj.58.1667558507333; Fri, 04 Nov 2022 03:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667558507; cv=none; d=google.com; s=arc-20160816; b=t2mrW7dPPrMF9BdV8XUYCTQ5x+Y589uuyjT+K/yARpKSUlS20p/cDy2RI7SbZyn7hZ gulLc6qA5FF7jR1krjCctKI+oVz/ozmDMlTWeplqwm6jK7OGwcASYf3yS1QTtaAHGBL6 VD7MjR7ueKhdX2+qCQ5y7tlJjsUvw7Nr9mD4xGG04hjLGYqWgdNsl0p9GmrI3wnv57M6 yuKbAGzdv2Pz3VbT9TiJcFQrnefQrhej0Lzua3XgSLVfg23Bu0qq3ceOXf1uu80mL7yu KKuvNldw3r+zvXljnVhYJChBZwYGTdF5dp45jvMO7U2IepdRL40OEHGDb0DEjkFN5CVM 56Sw== 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=vWDvI9g2pRQ52ZMOm1a7Y9bqu87BMMp4jVyuY1u4zSw=; b=y7S7hulknvZZ82WOc6nwl7tZXB1cxHOXTsEGnxXR7+2B9J30BO/QrKXFHE9PkS5/hZ 3VDApX9P68pYy/9eAgNK+cP5aRP1YGNYRT3peGYVcgq8Efh1gz0YFtAmi+SbwTxFQEU2 weDB+wCmn3G5z0c9jdaADaDdjuAv3hSA82jP5BXOWf6DjYtDk8JArwozyyZELshzlLM6 JRrLW0quIdXpduTzbrTtpUH84UbyDEItHpdA01tXzDQkYvK9zIxDe0h+28uPYrWp3TMi lVeqQWA1ZvGD+Wfn5RQb7Q2hU3EMNEna1kR2B9HoQL3q+IGOTV2rIh7AVESadqcRMZO9 Q5Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZUeitW7v; 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 v18-20020a056a00149200b0056d3b0b4cdbsi4945157pfu.13.2022.11.04.03.41.34; Fri, 04 Nov 2022 03:41:47 -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=ZUeitW7v; 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 S231602AbiKDJ70 (ORCPT + 96 others); Fri, 4 Nov 2022 05:59:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230051AbiKDJ7Y (ORCPT ); Fri, 4 Nov 2022 05:59:24 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 364861B785; Fri, 4 Nov 2022 02:59:23 -0700 (PDT) X-UUID: deebe08b21d04ee19bba5f35ec79e7b0-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=vWDvI9g2pRQ52ZMOm1a7Y9bqu87BMMp4jVyuY1u4zSw=; b=ZUeitW7vqeGmgAupTh+nOPEdmPpLTUpgELlA/Fy6C8n0Ya+R7enRBer7+JvWPgEi0fvPzvgw7Nf1P6FByc0g1IR2Bk4EtZ53Kzmz1qoz70tDQYQOiERWUSVsM0h5MXCzd37eNvtc9s9QXMjJTCoNH2OEFrUgqi3eLyRm3wInZxI=; X-CID-CACHE: Type:Local,Time:202211041751+08,HitQuantity:1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:30482c84-d367-40c6-a20c-7a6864a6b80f,IP:0,U RL:0,TC:0,Content:0,EDM:-30,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-30 X-CID-META: VersionHash:62cd327,CLOUDID:f6a0aef3-a19e-4b45-8bfe-6a73c93611e9,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:2,IP:nil,UR L:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: deebe08b21d04ee19bba5f35ec79e7b0-20221104 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 603419516; Fri, 04 Nov 2022 17:59:15 +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 17:59:14 +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 17:59:13 +0800 From: Mengqi Zhang To: , , , , , , CC: , , , , Subject: [PATCH v2 0/2] Mediatek eMMC Inline Crypto Engine support Date: Fri, 4 Nov 2022 17:58:46 +0800 Message-ID: <20221104095848.27444-1-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 Change in v2 - change patch 1 commit title - change patch 2 commit title, and correct commit message - add crypto clock description base on new code base Mediatek eMMC hardware IP has Inline Crypto Engine (ICE), we support inline encryption now. This patchset supports Mediatek eMMC inline encryption which meets the upcoming version of the eMMC specification such as v5.1 or v5.2. Patch 1, add crypto clock control flow in mtk-sd driver, patch 2, document the device tree description about crypto clock. Mengqi Zhang (2): mmc: mtk-sd: add Inline Crypto Engine clock control dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock .../devicetree/bindings/mmc/mtk-sd.yaml | 22 +++++++++++++++++++ drivers/mmc/host/mtk-sd.c | 12 ++++++++++ 2 files changed, 34 insertions(+) -- 2.25.1