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

From: Krzysztof Kozlowski

Date: Tue Mar 03 2026 - 01:44:41 EST


On Tue, Mar 03, 2026 at 12:00:38AM +0100, Aleksander Jan Bajkowski wrote:
> 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@xxxxx>
> ---
> 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:

Drop oneOf, you have only one enum there. This is just enum directly.

Best regards,
Krzysztof