Message ID | 20230728102442.265820-1-varshini.rajendran@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp434288vqg; Fri, 28 Jul 2023 06:27:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHWsui9+Xwy6gXK/YHUYy2GmRzBV97Q3a5R+43ajpNmgFHqPjjctAII8CJPNaQj92zVlcgu X-Received: by 2002:a05:6a00:22c7:b0:64c:c5f9:1533 with SMTP id f7-20020a056a0022c700b0064cc5f91533mr2044118pfj.33.1690550873050; Fri, 28 Jul 2023 06:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690550873; cv=none; d=google.com; s=arc-20160816; b=sUvmdSoz8AkwOy0mKufzbcgeWyHINDy9WwzXBBJe4l0RLXeiCdyzgRR80qpoRhHU28 2Q6eyd+KKjkBcyNft8BFPcfDLhaQZizSn7OdYWWn5waHv+9GUr+cxueUQieWPoed6pph GV4DWGu22jPLPcLqYLKHr8/ASzDtkOdpQE80evqmzIqRplyOzyjnIh0JnO0RSHupkaJ+ aHd3cYpmUTT8n6vFb4LB+iRDsZ8uj9Ijb62WXw0UVhLivzgJbG/ps7tbj5TlB1D1+rJT x5r/AkJwDZE8zkmFja+MQNBgDZYMx689ntWWGerRjAt+4efF4AQI2P+rDqXXiV7GhEFX tvhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kUdMdzPoWRWHMq94rUSKENF3sy6HV2bOYZT8Baa8S+A=; fh=gGBmVXeutx2kZj2q+WZdevoLOb9he9G4xNwKP/Ul4Jo=; b=izsyMmALzqIgtl2UeMoX77K08j2E6GXD6qn0A1rxRsB4WmenoB4wg7bjBRsz/HT3HF 2dbLWigcu1IcBkgh4tnb6n+mzYllZ9jvDJns/WeOd3oomwvVkieFPaK38OUUiG0MdX7u Ykm3HlLY1FNdlRu3j2GRhPlpJOkD4lGzvd3GPQ0ob6jcpc34/xYrWJDFDXOGE6HDAlOc flz2cwmanEBgpGuk2AR8Qxg7EKZF+UNtlffTlkJOXuF/w4xl0Ey4Pp1hag+rxQHnNrSz 6ft13AWSd2Pv2ppwjlWxKoPPX7mitnT8Ax00v+AF8KIEW4rx2oRmDHWJZB0QuhZbzncN I1yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="GfsbQC/r"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds10-20020a056a004aca00b006870a9e03e1si1508481pfb.47.2023.07.28.06.27.38; Fri, 28 Jul 2023 06:27:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="GfsbQC/r"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234573AbjG1K0Y (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Fri, 28 Jul 2023 06:26:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235836AbjG1KZu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Jul 2023 06:25:50 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B5E03ABD; Fri, 28 Jul 2023 03:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539925; x=1722075925; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0bWiq7B4vJ55DoLBtkBNi4eKcSYsW8jCGPwXuAU6VZs=; b=GfsbQC/rz1nEcLGlI3Y4nf/lhInbgJb4UtAwCLDe//cOy/CEtxXSPKLU t9nxTr3MSFDMKHzKFsHOpuGpaqlnaDKe9DUlCXFA3ZyOEx4DHHt1PdBon NAPfMcMMmKcSA+aveVqjpeSLdRG6Kr7ldRccN9liaSC8D2HeSOP0QXXUG roEeyQI+p1ePObwfgt+F/svFwgvOFcBYJP3aCRSe9DtbeIKfak8tSqTc5 ZoEEUW2PieslaAZ9OMKtdBesh9InGGIpy5mPzDH2j+ZyptuZlxM2OmteA Gj7vOBE1419EH9tgEO8CR4HcJaK4Ocqs/jPc7MUoEkbG4SXCqTisHZo0z g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622875" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Jul 2023 03:24:52 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:24:50 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:45 -0700 From: Varshini Rajendran <varshini.rajendran@microchip.com> To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <claudiu.beznea@microchip.com>, <tudor.ambarus@linaro.org>, <linux-crypto@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <varshini.rajendran@microchip.com> Subject: [PATCH v3 11/50] dt-bindings: crypto: add sam9x7 in Atmel TDES Date: Fri, 28 Jul 2023 15:54:42 +0530 Message-ID: <20230728102442.265820-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772664881259370492 X-GMAIL-MSGID: 1772671072112346258 |
Series |
[v3,01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible
|
|
Commit Message
Varshini Rajendran
July 28, 2023, 10:24 a.m. UTC
Add DT bindings for atmel TDES.
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
.../devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Comments
On 28/07/23 4:47 pm, Tudor Ambarus wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Hi, > > On 7/28/23 11:24, Varshini Rajendran wrote: >> Add DT bindings for atmel TDES. > > NACK. The atmel crypto drivers check the version at runtime and > fill a capabilities structure based on the version identified. > There's a single compatible regardless of the version of the IP > used until now, why do you want to change it? > Hi Tudor, I am aware that there is no change in the crypto IP used. This patch is to add a SoC specific compatible as expected by writing-bindings guideline. Maybe a bit more explanation in the commit description might do the trick. > Please describe what motivated you to write this patch. Some people > can't take seriously a patch if it misses a proper description and > they just ignore it. Maybe it is worth re-reading: > https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes > > Cheers, > ta >> >> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> >> --- >> .../devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml >> index 3d6ed24b1b00..6a441f79efea 100644 >> --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml >> +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml >> @@ -12,7 +12,11 @@ maintainers: >> >> properties: >> compatible: >> - const: atmel,at91sam9g46-tdes >> + oneOf: >> + - const: atmel,at91sam9g46-tdes >> + - items: >> + - const: microchip,sam9x7-tdes >> + - const: atmel,at91sam9g46-tdes >> >> reg: >> maxItems: 1 -- Thanks and Regards, Varshini Rajendran.
On 8/10/23 06:38, Varshini.Rajendran@microchip.com wrote: >> On 7/28/23 11:24, Varshini Rajendran wrote: >>> Add DT bindings for atmel TDES. >> NACK. The atmel crypto drivers check the version at runtime and >> fill a capabilities structure based on the version identified. >> There's a single compatible regardless of the version of the IP >> used until now, why do you want to change it? >> > Hi Tudor, Hi, > > I am aware that there is no change in the crypto IP used. This patch is > to add a SoC specific compatible as expected by writing-bindings > guideline. Maybe a bit more explanation in the commit description might > do the trick. > So you add a compatible that will never be used just to comply with the writing bindings guideline?
diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml index 3d6ed24b1b00..6a441f79efea 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: - const: atmel,at91sam9g46-tdes + oneOf: + - const: atmel,at91sam9g46-tdes + - items: + - const: microchip,sam9x7-tdes + - const: atmel,at91sam9g46-tdes reg: maxItems: 1