From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aUDX0-0007Xm-8I for barebox@lists.infradead.org; Fri, 12 Feb 2016 13:13:07 +0000 From: Steffen Trumtrar Date: Fri, 12 Feb 2016 14:12:35 +0100 Message-Id: <1455282758-312-1-git-send-email-s.trumtrar@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v4 0/3] i.MX6: CAAM engine support To: barebox@lists.infradead.org Cc: Steffen Trumtrar Hi! This series adds basic support for the i.MX6 Cryptographic Acceleration and Assurance Module (CAAM). The CAAM supports multiple hashing/encryption engines, this series only supports the included hardware random number generator. Changes since v3: - remove jobring config option - the CAAM driver doesn't do anything useful without them anyway, so always build the jr.c and probe the subdevices in ctrl.c instead of just registering the devices. - probe the RNG in ctrl.c - the RNG is a subdevice of the CAAM. Call the probe function manually if driver is enabled. - merge old patch 4/5 into new 3/3 - get rid of superfluous old patch 5/5 Tested with a riotboard. Regards, Steffen Steffen Trumtrar (3): include: linux: add circular buffers ARM: imx6: add caam clks crypto: add i.MX6 CAAM support arch/arm/mach-imx/clk-imx6.c | 4 + drivers/Kconfig | 1 + drivers/Makefile | 1 + drivers/crypto/Kconfig | 10 + drivers/crypto/Makefile | 1 + drivers/crypto/caam/Kconfig | 34 + drivers/crypto/caam/Makefile | 5 + drivers/crypto/caam/caamrng.c | 291 +++++++ drivers/crypto/caam/ctrl.c | 601 +++++++++++++ drivers/crypto/caam/ctrl.h | 13 + drivers/crypto/caam/desc.h | 1665 +++++++++++++++++++++++++++++++++++++ drivers/crypto/caam/desc_constr.h | 390 +++++++++ drivers/crypto/caam/error.c | 257 ++++++ drivers/crypto/caam/error.h | 11 + drivers/crypto/caam/intern.h | 97 +++ drivers/crypto/caam/jr.c | 348 ++++++++ drivers/crypto/caam/jr.h | 18 + drivers/crypto/caam/regs.h | 895 ++++++++++++++++++++ include/linux/circ_buf.h | 36 + 19 files changed, 4678 insertions(+) create mode 100644 drivers/crypto/Kconfig create mode 100644 drivers/crypto/Makefile create mode 100644 drivers/crypto/caam/Kconfig create mode 100644 drivers/crypto/caam/Makefile create mode 100644 drivers/crypto/caam/caamrng.c create mode 100644 drivers/crypto/caam/ctrl.c create mode 100644 drivers/crypto/caam/ctrl.h create mode 100644 drivers/crypto/caam/desc.h create mode 100644 drivers/crypto/caam/desc_constr.h create mode 100644 drivers/crypto/caam/error.c create mode 100644 drivers/crypto/caam/error.h create mode 100644 drivers/crypto/caam/intern.h create mode 100644 drivers/crypto/caam/jr.c create mode 100644 drivers/crypto/caam/jr.h create mode 100644 drivers/crypto/caam/regs.h create mode 100644 include/linux/circ_buf.h -- 2.7.0.rc3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox