Thread (2 messages) 2 messages, 1 author, 2021-04-14
STALE1900d
Revisions (6)
  1. v2 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v3 [diff vs current]
  5. v3 current
  6. v3 [diff vs current]

[PATCH RESEND v3 0/3] MediaTek eMMC inline encryption support

From: Peng Zhou <hidden>
Date: 2021-04-14 08:14:57
Also in: linux-mmc

Hello,

Mediatek eMMC hardware IP has Inline Crypto Engine (ICE),
we support inline encryption now.

For Inline Crypto Engine (ICE), see:
- https://lore.kernel.org/linux-arm-msm/
20210126001456.382989-2-ebiggers@kernel.org/T/

This patchset supports Mediatek eMMC inline encryption which meets the
upcoming version of the eMMC specification such as v5.1 or v5.2.

Patch 1-2, add crypto property and crypto clock, patch 3, document the
device tree description about crypto clock.

Please noted that there is a special way of on/off crypto hardware IP
in our SoCs, the enable bit must be controlled under ARM highest
security level, that means must in ARM trusted firmware(ATF).

Changed in v3:
- Removed "mmc: Mediatek: enable crypto hardware engine" patch temporarily.
Needs finding a better way for enable crypto hardware IP through ATF, so
remove "mmc: Mediatek: enable crypto hardware engine" patch temporarily,
we could enable it in ATF directly when boot up which will be a workaround
solution. Discussing about this, see: https://lore.kernel.org/linux-mmc/
YE%2Fnfu8vRETYN9dO@gmail.com/T/#t
- We will put the above mentioned patch in a single patch


Peng Zhou (3):
  mmc: Mediatek: add Inline Crypto Engine support
  arm64: dts: Mediatek: MT6779: add mmc node with ICE setting
  dt-bingdings: mmc: Mediatek: add ICE clock

 Documentation/devicetree/bindings/mmc/mtk-sd.yaml |  6 ++++--
 arch/arm64/boot/dts/mediatek/mt6779.dtsi          | 14 ++++++++++++++
 drivers/mmc/host/mtk-sd.c                         | 15 ++++++++++++++-
 3 files changed, 32 insertions(+), 3 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help