devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add Tegra Security Engine driver
@ 2024-01-09  9:17 Akhil R
  2024-01-09  9:17 ` [PATCH v3 1/5] dt-bindings: crypto: Add Tegra Security Engine Akhil R
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Akhil R @ 2024-01-09  9:17 UTC (permalink / raw)
  To: herbert, davem, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	thierry.reding, jonathanh, catalin.marinas, will, mperttunen,
	linux-crypto, devicetree, linux-tegra, linux-kernel, krzk
  Cc: Akhil R

Add support for Tegra Security Engine which can accelerates various
crypto algorithms. The Engine has two separate instances within for
AES and HASH algorithms respectively.

The driver registers two crypto engines - one for AES and another for
HASH algorithms and these operate independently and both uses the host1x
bus. Additionally, it provides  hardware-assisted key protection for up to
15 symmetric keys which it can use for the cipher operations.

v2->v3:
* Update compatible in driver and device trees.
* Remove extra new lines and symbols in binding doc.
v1->v2:
* Update probe errors with 'dev_err_probe'.
* Clean up function prototypes and redundant prints.
* Remove readl/writel wrappers.
* Fix test bot warnings.

Akhil R (5):
  dt-bindings: crypto: Add Tegra Security Engine
  gpu: host1x: Add Tegra SE to SID table
  crypto: tegra: Add Tegra Security Engine driver
  arm64: defconfig: Enable Tegra Security Engine
  arm64: tegra: Add Tegra Security Engine DT nodes

 .../crypto/nvidia,tegra234-se-aes.yaml        |   53 +
 .../crypto/nvidia,tegra234-se-hash.yaml       |   53 +
 MAINTAINERS                                   |    5 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      |   16 +
 arch/arm64/configs/defconfig                  |    1 +
 drivers/crypto/Kconfig                        |    8 +
 drivers/crypto/Makefile                       |    1 +
 drivers/crypto/tegra/Makefile                 |    9 +
 drivers/crypto/tegra/tegra-se-aes.c           | 1932 +++++++++++++++++
 drivers/crypto/tegra/tegra-se-hash.c          | 1022 +++++++++
 drivers/crypto/tegra/tegra-se-key.c           |  155 ++
 drivers/crypto/tegra/tegra-se-main.c          |  439 ++++
 drivers/crypto/tegra/tegra-se.h               |  569 +++++
 drivers/gpu/host1x/dev.c                      |   24 +
 14 files changed, 4287 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-aes.yaml
 create mode 100644 Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-hash.yaml
 create mode 100644 drivers/crypto/tegra/Makefile
 create mode 100644 drivers/crypto/tegra/tegra-se-aes.c
 create mode 100644 drivers/crypto/tegra/tegra-se-hash.c
 create mode 100644 drivers/crypto/tegra/tegra-se-key.c
 create mode 100644 drivers/crypto/tegra/tegra-se-main.c
 create mode 100644 drivers/crypto/tegra/tegra-se.h

-- 
2.17.1


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

end of thread, other threads:[~2024-01-16  6:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09  9:17 [PATCH v3 0/5] Add Tegra Security Engine driver Akhil R
2024-01-09  9:17 ` [PATCH v3 1/5] dt-bindings: crypto: Add Tegra Security Engine Akhil R
2024-01-09 15:21   ` Krzysztof Kozlowski
2024-01-11 12:03     ` Akhil R
2024-01-09  9:17 ` [PATCH v3 2/5] gpu: host1x: Add Tegra SE to SID table Akhil R
2024-01-16  6:36   ` Mikko Perttunen
2024-01-09  9:17 ` [PATCH v3 3/5] crypto: tegra: Add Tegra Security Engine driver Akhil R
2024-01-13  4:53   ` kernel test robot
2024-01-09  9:17 ` [PATCH v3 4/5] arm64: defconfig: Enable Tegra Security Engine Akhil R
2024-01-09  9:17 ` [PATCH v3 5/5] arm64: tegra: Add Tegra Security Engine DT nodes Akhil R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).