openwrt/target/linux/generic/hack-6.18/927-crypto-eip93-add-mediatek-mtk-eip93-compatible-string.patch
Mieczyslaw Nalewaj 354a26b094 crypto: eip93: use in-tree driver for kernel 6.18
This patch set introduces support for using the in-tree (mainline)
EIP93 crypto driver for kernel 6.18 and later, along with additional
improvements and fixes:
 - Conditional Kconfig/Makefile handling for crypto-hw-eip93 to enable use of the mainline driver with kernel 6.18+.
 - Patch 926: Use software AES fallback for small requests in the EIP93 driver.
 - Patch 927: Add `mediatek,mtk-eip93` compatible string for upstream kernel device trees.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21078
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-28 11:51:10 +01:00

21 lines
747 B
Diff

From: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Date: Tue, 13 Jan 2026 10:31:12 +0100
Subject: [PATCH] crypto: eip93: add mediatek,mtk-eip93 compatible string
Add mediatek,mtk-eip93 compatible string for compatibility
with kernel 6.12 dts files.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
---
--- a/drivers/crypto/inside-secure/eip93/eip93-main.c
+++ b/drivers/crypto/inside-secure/eip93/eip93-main.c
@@ -489,6 +489,7 @@ static void eip93_crypto_remove(struct p
}
static const struct of_device_id eip93_crypto_of_match[] = {
+ { .compatible = "mediatek,mtk-eip93", },
{ .compatible = "inside-secure,safexcel-eip93i", },
{ .compatible = "inside-secure,safexcel-eip93ie", },
{ .compatible = "inside-secure,safexcel-eip93is", },