Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp576768rwl; Fri, 4 Nov 2022 04:03:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM44kPG9wElCtqbbGEPAeaWouI8ZG9Jh1hIpzSu3kbdyQh5KVPB+fjOeA10NQt2ailOnxSru X-Received: by 2002:a63:5319:0:b0:46f:c6e0:661 with SMTP id h25-20020a635319000000b0046fc6e00661mr21395834pgb.571.1667559810205; Fri, 04 Nov 2022 04:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667559810; cv=none; d=google.com; s=arc-20160816; b=WsPwby6paE/5q+2StocixlmQkEkau3YLaswfIKWYmOytXuXng699mt+WjFowpsXY2P n1d18+wuhgh9CTUv6mzwxPSFCM9stdwPm2mgePIPGJNXp46jjVLuzoHWXh+JX3x7SCR4 ce+weMaAbkPzCpOWs0B0T/S4aY2Qv5y2kQlRg5uVMi4W/sUgvomlsBLdd+nkdl/UsIuh 0vagw6437APu8C9ecaFG8abaULfW9zBOBC6wp79Hp3HRBjBjwqOpfBdV4q7dmVygBiDB QWu4D2qHPqLuRn1zFPjzObhtjaH27hGYo9ZrveBSQtnS9j67ZgCC/Iwk4M0KCVM4AUOi +sxQ== 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=iJIHyN0QUUPseAa4mzSF2jRiaTzp7C1qNVaci+EHVcrlRytr9Qd/7LmePA0L0v68rE Zf6APJMSIATYVc541y4whPw4pouBycKF8XdoXGjrgtaX6dH2qlranUqFDJ6qpdqUMuRH cJecaQBxTtZm3rUL1WSmQNxUXSUbJ9iqg9F9BbW1Ze0InMzZtXSDJ5LxEQA4G1by5jMd ypgWNzvDb1otktj5FkszBvDjyZJD96FH4aMA6DDH0yQMGpakJVIK5U7r7V3WOnD2MjWc X4qmKb3iMne3ipi+Rs6FtBhifq2LU4ySXeQT5c2t0a/Spct/OFws1GlrNH7dREdcF+bj 1X7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HJG3N0xn; 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 b13-20020a63d80d000000b0046eb96a9955si5386934pgh.576.2022.11.04.04.03.16; Fri, 04 Nov 2022 04:03:30 -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=HJG3N0xn; 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 S231648AbiKDJvr (ORCPT + 96 others); Fri, 4 Nov 2022 05:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbiKDJvh (ORCPT ); Fri, 4 Nov 2022 05:51:37 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B32275DD; Fri, 4 Nov 2022 02:51:21 -0700 (PDT) X-UUID: 35c53693db0c4c7cadd271fc2e66c4f2-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=HJG3N0xnjx28Ilih3chP00cD9FlbdImcqXdZqTqjhq2sHs4Rsv6j2FBlQJZVb8YTT8YrHhZAxBSpJp6+0HYRCNANVJrEZHJXSdv9w5SHwp84VulmcU1qx5swL6+PKMOyvOYCvG5AaBDtNRzQ+i+spE6R1LBVMxqWZUAgiy7AmTI=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:195ac71e-7c4b-4b09-a749-4a4120ec9572,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: 35c53693db0c4c7cadd271fc2e66c4f2-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 23164938; Fri, 04 Nov 2022 17:51:17 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n2.mediatek.inc (172.21.101.108) 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:51:16 +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:51:15 +0800 From: Mengqi Zhang To: , , , , , CC: , , , , , Subject: [PATCH v2 0/2] Mediatek eMMC Inline Crypto Engine support Date: Fri, 4 Nov 2022 17:51:10 +0800 Message-ID: <20221104095112.27348-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, T_SPF_TEMPERROR,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