Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1558341lqp; Mon, 15 Apr 2024 09:44:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8FPD0gZOxWWEDyyb3mybbPPpPd3UfoR2lTYRPOfofZdzDEX52RiCNVs37OdPJPy1aiEkrQBKXlUQPQS/ED4PxLXtNoZORRe5NaGrh9Q== X-Google-Smtp-Source: AGHT+IE00+R4meg3jgzqUAoZuJpUMPrXSfldTxKxG/oO0dmteh1sKUSot7q3WFpGmgArIdTvFht0 X-Received: by 2002:a05:6214:4c:b0:69b:29b2:9ae9 with SMTP id c12-20020a056214004c00b0069b29b29ae9mr9548096qvr.64.1713199483653; Mon, 15 Apr 2024 09:44:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713199482; cv=pass; d=google.com; s=arc-20160816; b=gAHiY67mVVs0CbZjMfpF5BPlMnIxtowBByX2l8GAfZiTfuti8tH/gm0ewIoUF32TGS TzBqTifDTN18YIblqwjIat24sfGSvw8GCf1Twpj1DVreqcmqxtAftuEBhIJSfXKdfLje 3iVWc7xn86CBZDgMlnEeQ2bXEIfvgN9/B2ovdCNtxmYhIXz/eoBoCITqknIU4U1RAnA+ FtY3vMpb4n0GR36JSb8mMzHHt1AQeMiycM4JSPBVzuXPit/OjiswJGSa6Y+dVJuCSjcJ B4/7yfk9CjE07DOWgyAe3VTcDfgua/pbLYtD3CvWq15yUrpK2HuXumudTVrgXKNBVTSJ qq3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6qN3KyVkEIN8E2XsbN9UehzXjfUukCsK/5p/r+v/NC4=; fh=JupZfP0Zmddtand964Jh+kCJ8aiG2UNHPMGolK1A/zA=; b=QTdMyp/KpBdwJx4DxcqJT7JYj72rhfxBqwaoTyu56NfHPJNB2N4Zsmaery3l7ZVHA3 pS7yLJ+WysrrAWf1nbE/LttvC/3aVbardbl1btgD20Gr2ANZPugBQCAVlNi06AEuI9cF 26nSRKbGqX1FLd2EeU17VD1p40QPFUA88pE9mQwszlp4ewW7n1Fn8d1K8XeRCj+byrWj JTZKQ1FHFWQPzmQZPIc4EW4CLfZLlZAtwztsOMv2N3kvUQ84dLLXZ/e9SsqtlgFURH50 9G3B6baJOvLO7u1ERKxLSqM4G1koi39gzeLvGTHKSn58CrYI9wS41usBj0gGTsYb0017 RlCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TiImsyMO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x2-20020ad44582000000b0069b7c8e400asi2482403qvu.109.2024.04.15.09.44.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 09:44:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TiImsyMO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9FC091C220AC for ; Mon, 15 Apr 2024 16:44:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B4B682481; Mon, 15 Apr 2024 16:44:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TiImsyMO" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 207EE1FDD; Mon, 15 Apr 2024 16:44:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713199478; cv=none; b=m7wKyh4N6tJJ0qSV+uuOArA2AOxBuJmZ5Z3wyTinqjcYsVxaipidL6H67hivrZiUJeRrKLLqDHIjeh+jtPK8Fc99wb6UnSWNAbTQxp0e2HhWNAzRRVLdCJtoH8YguKnJ7BPb9PHtcUPo1C/Ceo+Uz3CUNrv67nrQD6KM2LJ34yY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713199478; c=relaxed/simple; bh=/PeuD96WIZJSMjilmlalAw5Sh612uVNegKTxOfnIhCk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HHXQvW2MpWHh8jxTA0vndaUQVzDxMHk2lR1qGxg35GhBWSPElPUQflGOnj9XIzeFsvHWW2LTpXftkn5dDfVheYXvT4SGzBIEciHY/oxadzG2dEgQjTtqABrMAcYccGAfjyWt1hVNDgpBcamyjUWDpcekLss2+0afX9cJYuWZhvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TiImsyMO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 421BDC113CC; Mon, 15 Apr 2024 16:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713199477; bh=/PeuD96WIZJSMjilmlalAw5Sh612uVNegKTxOfnIhCk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TiImsyMOvAhGFvPt+0Jnit7mkby93vTkBGiG2SQPOxSDq/k70rItcAceLzyahP2aU 3Ym5JdHSA1n8l0qmqKaMQtRLw4QMjXmtIZ8kOdNEYy/BVy+qjoztuXOSYRm7gIUrtG dTo+UAlj4CXPF+Fn7I0C3v+ibIBax2NbysBOXbFObAqU6CAl38iC0k2amsjV8UDAf1 AtjsttY8BUTr1wqpcgC7JWHZcHsHkIjBYhd7N3OS3vMBKvXPRV2J93X88ELOAfaITJ JNDe6d0CIwoeF0G6D1bDho5YGE3CkKXtvtEzz4m6pImy9C8WaAG8AESfT97Em4iCGD XVdZ+wUwEds6A== Date: Mon, 15 Apr 2024 17:44:32 +0100 From: Conor Dooley To: Alexey Romanov Cc: neil.armstrong@linaro.org, clabbe@baylibre.com, herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, vadim.fedorenko@linux.dev, linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@salutedevices.com Subject: Re: [PATCH v7 19/23] dt-bindings: crypto: meson: support new SoC's Message-ID: <20240415-armrest-chokehold-e5027ecd4ef6@spud> References: <20240411133832.2896463-1-avromanov@salutedevices.com> <20240411133832.2896463-20-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AauLJy3HD9QY9WGP" Content-Disposition: inline In-Reply-To: <20240411133832.2896463-20-avromanov@salutedevices.com> --AauLJy3HD9QY9WGP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2024 at 04:38:28PM +0300, Alexey Romanov wrote: > Now crypto module available at G12A/G12B/S4/A1/SM1/AXG. >=20 > 1. Add new compatibles: > - amlogic,g12a-crypto > - amlogic,axg-crypto > - amlogic,a1-crypto > - amlogic,s4-crypto (uses a1-crypto as fallback) The commit message should mention why most of these devices are not compatible with eachother (be that different algorithms available etc) Thanks, Conor. >=20 > 2. Add power-domains in schema, which is required only for A1. >=20 > Signed-off-by: Alexey Romanov > --- > .../bindings/crypto/amlogic,gxl-crypto.yaml | 24 +++++++++++++++++-- > 1 file changed, 22 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.= yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > index d3af7b4d5f39..23743701952a 100644 > --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > @@ -11,8 +11,16 @@ maintainers: > =20 > 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 > =20 > reg: > maxItems: 1 > @@ -21,11 +29,23 @@ properties: > items: > - description: Interrupt for flow 0 > =20 > + power-domains: > + maxItems: 1 > + > required: > - compatible > - reg > - interrupts > =20 > +allOf: > + - if: > + properties: > + compatible: > + const: amlogic,a1-crypto > + then: > + required: > + - power-domains > + > additionalProperties: false > =20 > examples: > --=20 > 2.34.1 >=20 --AauLJy3HD9QY9WGP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZh1ZcAAKCRB4tDGHoIJi 0tO6AP9x7P3GKoxerzltNOawstZRE73mkiQXZ84qfhSGloZOggEA38mkqZEFSXOe SDYdmAePKbFVRq3BsEG85zqyyN9JyAE= =TCep -----END PGP SIGNATURE----- --AauLJy3HD9QY9WGP--