[PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981

Aleksander Jan Bajkowski olek2 at wp.pl
Mon Mar 2 15:00:38 PST 2026


The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
This commit adds a compatible string for MT7981.

Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
---
v2:
- just add compatible strings
---
 .../devicetree/bindings/crypto/inside-secure,safexcel.yaml  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
index 3dc6c5f89d32..6c797b7ce603 100644
--- a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
+++ b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
@@ -18,6 +18,7 @@ properties:
       - items:
           - enum:
               - marvell,armada-3700-crypto
+              - mediatek,mt7981-crypto
               - mediatek,mt7986-crypto
           - const: inside-secure,safexcel-eip97ies
       - const: inside-secure,safexcel-eip197b
@@ -80,7 +81,10 @@ allOf:
         compatible:
           not:
             contains:
-              const: mediatek,mt7986-crypto
+              oneOf:
+                - enum:
+                    - mediatek,mt7981-crypto
+                    - mediatek,mt7986-crypto
     then:
       properties:
         interrupts:
-- 
2.47.3




More information about the Linux-mediatek mailing list