From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B617606A6A8 for ; Wed, 2 Dec 2026 10:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=t0nbpPrD; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=0CDwktfE DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=jFyLToH/3D6CUid09wBTnUHyEqrcZAPa+dg54/NhEqM=; b=t0nbpPrDNULmD9N1CL8lqEaHxQ gQ98M3cFYjwGBQwEfGSwIIgc1KtywadHg5lAthG+izOSxTP/aO9KGDsN3kDi/tCrXn4MOnrCZbMDL onKXVbtxSa9lnF+WKwDaHoO52s1QfjSOrBNBkfLihTFyGYpkVuPAojkFyKxUhSB+2tmW6r0sJr4iU jYh8eXJCV4mobOcXInBt6TBBoPPEFC+PxwXG4YXku1RoA88HWS0s3jOWR6sgkWnXL0QirR4jE7uHn Om4Cesb/h6Nx277e1/tybbIbuJ59oeV0gbjFptm9adpEaJSNdbAzb26AtKzGNN204UAVg3oR4Yf6k +PI0na6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhFL-0000000B0bv-34cY; Wed, 02 Dec 2026 10:07:31 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhFI-0000000B0Wm-2dMn for linux-amlogic@lists.infradead.org; Wed, 02 Dec 2026 10:07:29 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-4a5024b3c28so7713175f8f.0 for ; Wed, 02 Dec 2026 02:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796206047; x=1796810847; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xnIclJCg1dODuaL5Rb9LtavMvY/G7TkpSjjLxXARS/8=; b=0CDwktfEmU4Lb9UjXhFaluG/N1UjUvdG3pBx3UUkY+bJs+3d6blCIKv6k9PLKTNUb1 N/cZdWOlMns9JQ0x4IwcFuX5kcQNvPuwtfQaZtfKkVsElJ5IK8iH0oiuHPjPSjtfzOA/ CKUuhjIZ5QWIdXKYyNQy1OUO5b4O5xZyRn7Kbb+TflFSQXoVIBhKs9buP2cQkOZXuuCH sHXD5yLKSet/rEH7BiKfBoF+ArWyPH+8N9ALgYHajvs6ZRgsYrB2bbsJ4m1Qpmln6Q+g LkxzezZYLSeQdCRG9OAZT166kz+q2p1VPlQAy7d2/g/ecvP8K2jUD8asgTapT4q5VWXu PXuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796206047; x=1796810847; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=xnIclJCg1dODuaL5Rb9LtavM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pIiNhyqE5S/MHQRc2lTLECcEa/uuQX6pliHrKfbr0/UfQK41Hp83/H6FE9PYnQov2730 GL/jhFqosulvdDkqRvY9M5GHttZl4/24EeJMDo9S13At1yxXZNTcBSHuivF3rCheCZ4rsZOMgGP qwcjTiZ0tvQoJkfgvdHKXipKNZGSYqIlQYG36xW8Hn+QvrPyhYMvIsNYMhQoKPYqUK4= X-Received: by 2002:a5d:5f92:0:b0:498:364d:7509 with SMTP id ffacd0b85a97d-4aa590a4fd2mr88592864f8f.24.1796206046574; Wed, 02 Dec 2026 02:07:26 -0800 (PST) Received: from localhost.localdomain ([79.117.198.103]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fe75sm87617495f8f.24.2026.12.02.02.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:07:25 -0800 (PST) From: Jose Nieto To: Corentin Labbe , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexey Romanov , Jose Nieto Subject: [PATCH v15 02/35] dt-bindings: crypto: amlogic,gxl-crypto: support new SoC's Date: Wed, 2 Dec 2026 11:06:41 +0100 Message-ID: <20261202100714.115460-3-jnieto.alaber@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261202100714.115460-1-jnieto.alaber@gmail.com> References: <20261202100714.115460-1-jnieto.alaber@gmail.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_020728_706110_A5F7C21C X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Alexey Romanov Now crypto module available at G12A/G12B/S4/A1/SM1/AXG. 1. Add new compatibles: - amlogic,g12a-crypto - amlogic,axg-crypto - amlogic,a1-crypto - amlogic,s4-crypto (uses a1-crypto as fallback) Difference between this compatibles: * Different registers offset and the number of setup descriptors. * GXL doesn't support hashing like the others. * G12A/B and A1/S4 crypto HW don't support 192 AES key. * GXL, G12A/B and AXG require a reverse IV key before processing. 2. Add power-domains in schema, which is required only for A1. This is specific vendor design: in old SoC's power domain for crypto HW was not configurable, but in A1-series it is configurable. Signed-off-by: Alexey Romanov Reviewed-by: Rob Herring (Arm) Signed-off-by: Jose Nieto --- .../bindings/crypto/amlogic,gxl-crypto.yaml | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml index fdc39797a2a9..106a9d1fed69 100644 --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml @@ -11,8 +11,16 @@ maintainers: properties: compatible: - items: - - const: amlogic,gxl-crypto + oneOf: + - items: + - enum: + - amlogic,s4-crypto + - const: amlogic,a1-crypto + - enum: + - amlogic,gxl-crypto + - amlogic,axg-crypto + - amlogic,g12a-crypto + - amlogic,a1-crypto reg: maxItems: 1 @@ -24,12 +32,24 @@ properties: clocks: maxItems: 1 + power-domains: + maxItems: 1 + required: - compatible - reg - interrupts - clocks +allOf: + - if: + properties: + compatible: + const: amlogic,a1-crypto + then: + required: + - power-domains + additionalProperties: false examples: -- 2.47.3 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic