Message ID | 20240110201216.18016-17-avromanov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1031862dyi; Wed, 10 Jan 2024 12:16:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEy6SVOObr1kilEpJEYAWUANJGFI9WaMWYupxEJpvoe4VR7KdYuzY38S6SvShNq/f///lqa X-Received: by 2002:a05:622a:1013:b0:429:a8dc:a5dc with SMTP id d19-20020a05622a101300b00429a8dca5dcmr126154qte.69.1704917797916; Wed, 10 Jan 2024 12:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704917797; cv=none; d=google.com; s=arc-20160816; b=QcCM99QxFSjRuLizBOCW2q3m7PNI4B/vjEO9TPEVrJeEFIf0es5BJfTbCUnR4EV+/W b4Jr67rybsmSR7bReeohjtyHOFDsgoDrcWjtFwcbUvO7MnH1wUjttzk2gnBRjgcvvAqL Khbt7yJEsj5DTdswAYdUFw2qQuoz3R9tET7Dd4k411gSmhxZFEWSuaM84iwnlwHEZIc5 oNkRwROU3VC8cxZWb6Qo0QtFTDC5fdpOKYFcsACwKlnRLXOu+wL6t2aib/8rATdVNe43 7PUTtZDXl/wk5i2wjX2t6g0iFmyGhrxcvgMkW7n+rEp2eVZBmHGRTeucP/ri0UlSxN1t Qg2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=K9d/JSiPkaJOlH+Fdh+1L+pY8W3GUKddLlHhz7TICqc=; fh=0p1Kpk55kVc6lC+al+CDnSnq4czU1u1X+MgcW9lnQNo=; b=Pj569BccfAA8h11O+Nd7IyxpDGfqETh1/dvIjxhrcYX3SP028venNOUMlTujmGzt6W vkw1mANQyxTxNM5wfla9ZmvBO6wH8D0b683USfMSfw6pLQz5OyexL2bWeFKOahi0K/Wn /VoUkPaqEYhOmaxZ/ern8nGeXftYrwffL4KC84Kkyr4DgchQqzaO7ugyYIYBTc4mEGNG g3Ig1ZSrwDJrWPX8A6/XzTkCIzMqeKSFzlwj95LfZ/Fm4pedlQhgZFoF+cm0So/FGEWc DnrACJy6NB2O69frbppQ75964VgXbiM35Fp3o8fy1bQJeuJxNsPXup+PEh9KJ/xYNEbL 53QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=uryCIqdv; spf=pass (google.com: domain of linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f32-20020a05622a1a2000b00427f564a88dsi4846280qtb.782.2024.01.10.12.16.37 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:16:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=uryCIqdv; spf=pass (google.com: domain of linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22708-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com 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 B33161C2295B for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 20:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8452D56462; Wed, 10 Jan 2024 20:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="uryCIqdv" Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (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 E5E064EB28; Wed, 10 Jan 2024 20:12:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id CEFB7120024; Wed, 10 Jan 2024 23:12:40 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru CEFB7120024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1704917560; bh=K9d/JSiPkaJOlH+Fdh+1L+pY8W3GUKddLlHhz7TICqc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=uryCIqdv7zuROv1BckwM/HaZbvAwLuJFkQDkRUPaTdOKy6fHjw7Y4m3AIg7SyPyam gmxhBY76MfrfYvsWIMkQYptipP8rf2EQgvj1w/vR8hZTa7hdu5QH7Kd+JaDzEjf6iD 3BXhrRoICPv8uqTcpmiIgrByZgBrdwvAq2sgBwrR8Z5rsYztOAgVwEY6EVkaU62aWt tSRW4XLlnel/b7duSQjSvrAHIP/ys2Wz60J3DUjXhRd7EbVs9F5T91VMAXM5HULOgI j5SAReiSsDyYK1ag5dcha6bjXYcsXhtsXDYhTXfSS13gFdm6aeVYCviEyxupcjBkmt VhF88vxN02iwQ== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Wed, 10 Jan 2024 23:12:40 +0300 (MSK) Received: from localhost.localdomain (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 10 Jan 2024 23:12:40 +0300 From: Alexey Romanov <avromanov@salutedevices.com> To: <narmstrong@baylibre.com>, <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>, <artin.blumenstingl@googlemail.com> CC: <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>, Alexey Romanov <avromanov@salutedevices.com> Subject: [PATCH v1 16/24] dt-bindings: crypto: meson: add new compatibles Date: Wed, 10 Jan 2024 23:11:32 +0300 Message-ID: <20240110201216.18016-17-avromanov@salutedevices.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240110201216.18016-1-avromanov@salutedevices.com> References: <20240110201216.18016-1-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 182544 [Jan 10 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: avromanov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1;127.0.0.199:7.1.2;smtp.sberdevices.ru:5.0.1,7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/01/10 17:01:00 #23071477 X-KSMG-AntiVirus-Status: Clean, skipped X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787735884979003588 X-GMAIL-MSGID: 1787735884979003588 |
Series |
Support more Amlogic SoC families in crypto driver
|
|
Commit Message
Alexey Romanov
Jan. 10, 2024, 8:11 p.m. UTC
Now we can use crypto driver at G12A/G12B/S4/A1/SM1/AXG.
Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
---
.../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 2 ++
1 file changed, 2 insertions(+)
Comments
On Wed, 10 Jan 2024 23:11:32 +0300, Alexey Romanov wrote: > Now we can use crypto driver at G12A/G12B/S4/A1/SM1/AXG. > > Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> > --- > .../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 2 ++ > 1 file changed, 2 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.example.dtb: crypto-engine@c883e000: compatible: ['amlogic,gxl-crypto'] is too short from schema $id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240110201216.18016-17-avromanov@salutedevices.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On Wed, Jan 10, 2024 at 11:11:32PM +0300, Alexey Romanov wrote: > Now we can use crypto driver at G12A/G12B/S4/A1/SM1/AXG. > > Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> > --- > .../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > index 948e11ebe4ee..317003505510 100644 > --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > @@ -13,6 +13,8 @@ properties: > compatible: > items: > - const: amlogic,gxl-crypto > + - const: amlogic,g12a-crypto > + - const: amlogic,axg-crypto You need an 'enum'. > > reg: > maxItems: 1 > -- > 2.30.1 >
Hi, On 10/01/2024 21:11, Alexey Romanov wrote: > Now we can use crypto driver at G12A/G12B/S4/A1/SM1/AXG. > > Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> > --- > .../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > index 948e11ebe4ee..317003505510 100644 > --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > @@ -13,6 +13,8 @@ properties: > compatible: > items: > - const: amlogic,gxl-crypto > + - const: amlogic,g12a-crypto > + - const: amlogic,axg-crypto Please add amlogic,s4-crypto and amlogic,a1-crypto using amlogic,g12a-crypto as fallback, it's a requirement for dt bindings to have per-soc compatibles now. Thanks, Neil > > reg: > maxItems: 1
diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml index 948e11ebe4ee..317003505510 100644 --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml @@ -13,6 +13,8 @@ properties: compatible: items: - const: amlogic,gxl-crypto + - const: amlogic,g12a-crypto + - const: amlogic,axg-crypto reg: maxItems: 1