[PATCH v4 0/3] i.MX6: CAAM engine support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux