Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754713AbcLBD07 (ORCPT ); Thu, 1 Dec 2016 22:26:59 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:16701 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751227AbcLBD05 (ORCPT ); Thu, 1 Dec 2016 22:26:57 -0500 From: Ryder Lee To: Herbert Xu , "David S. Miller" , Matthias Brugger CC: , , , , , Sean Wang , Ryder Lee Subject: [PATCH 0/2] Add MediaTek crypto acclelrator driver Date: Fri, 2 Dec 2016 11:26:43 +0800 Message-ID: <1480649205-52695-1-git-send-email-ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1389 Lines: 31 This adds support for the MediaTek hardware accelerator on mt7623 SoC. This driver currently implement: - SHA1 and SHA2 family(HMAC) hash alogrithms. - AES block cipher in CBC/ECB mode with 128/196/256 bits keys. Ryder Lee (2): Add crypto driver support for some MediaTek chips crypto: mediatek - add DT bindings documentation .../devicetree/bindings/crypto/mediatek-crypto.txt | 32 + drivers/crypto/Kconfig | 17 + drivers/crypto/Makefile | 1 + drivers/crypto/mediatek/Makefile | 2 + drivers/crypto/mediatek/mtk-aes.c | 734 +++++++++++ drivers/crypto/mediatek/mtk-platform.c | 575 ++++++++ drivers/crypto/mediatek/mtk-platform.h | 230 ++++ drivers/crypto/mediatek/mtk-regs.h | 194 +++ drivers/crypto/mediatek/mtk-sha.c | 1384 ++++++++++++++++++++ 9 files changed, 3169 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/mediatek-crypto.txt create mode 100644 drivers/crypto/mediatek/Makefile create mode 100644 drivers/crypto/mediatek/mtk-aes.c create mode 100644 drivers/crypto/mediatek/mtk-platform.c create mode 100644 drivers/crypto/mediatek/mtk-platform.h create mode 100644 drivers/crypto/mediatek/mtk-regs.h create mode 100644 drivers/crypto/mediatek/mtk-sha.c -- 1.9.1