mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v4 0/3] i.MX6: CAAM engine support
@ 2016-02-12 13:12 Steffen Trumtrar
  2016-02-12 13:12 ` [PATCH v4 1/3] include: linux: add circular buffers Steffen Trumtrar
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2016-02-12 13:12 UTC (permalink / raw)
  To: barebox; +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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-15  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12 13:12 [PATCH v4 0/3] i.MX6: CAAM engine support Steffen Trumtrar
2016-02-12 13:12 ` [PATCH v4 1/3] include: linux: add circular buffers Steffen Trumtrar
2016-02-12 13:12 ` [PATCH v4 2/3] ARM: imx6: add caam clks Steffen Trumtrar
2016-02-12 13:12 ` [PATCH v4 3/3] crypto: add i.MX6 CAAM support Steffen Trumtrar
2016-02-15  6:31 ` [PATCH v4 0/3] i.MX6: CAAM engine support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox