Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1917398lqb; Mon, 27 May 2024 01:34:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0jmzLRds9YMUezwBVd1AdvbITseK17NJbj6qVezVh24N0WCi8zv9ji3EyODp1aCWRgRWvYzdGC4pNX6N7rHdsTg8cXiZpK3uFUOoiYA== X-Google-Smtp-Source: AGHT+IHX0KSF+vuxs29wZ7E64L24P2zbdXZUUjGVWCIJCGT/bBvHJd2zvBHP1dk03OYeCxfQcOrc X-Received: by 2002:a05:620a:2688:b0:792:9248:c2e9 with SMTP id af79cd13be357-794ab11f6e4mr1148633485a.48.1716798851743; Mon, 27 May 2024 01:34:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716798851; cv=pass; d=google.com; s=arc-20160816; b=d/9sqZfTxK4GJq96ChC08S9QVgGyFZ2/Wkbjq7NKHn9VqY41UiMyFMUoJdOyrWAsAo GCWSYZh53XahqFY+mGcTrpRTP+bH/L6f3zljIQOzocNsyJIAQiDumVBl8WC0hl/+wJ58 m1TxRI+lQ7CgD5bsPgK3rz4mBJvfkYAkhk6TSOoDWIQTanOOB+VdIOy2/SxovNtt8TcF oVPHrhq2DSGq7jkPxvYMsg79Mfoutnw6CZ4iIbuoiEiJrcLgxfPNDlvGstgaxGiF16D5 BORwO3oqIpy80sLoRD9MHUPl+v5e6D44tiyBfx3rbTl7qpkO+SsJSRk+TOlBuznUA1+8 Xh5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=PkhQ7NV2BiQIlRfEnI28FnJrqApDyLtxZfEoO/rxk6g=; fh=o2k5yuSH1Ffs9BerzIIpxgAcJLgcFIzOpNZRRCEFp2Y=; b=W0yhIjigntcBPcjTQj6EB01MGUoEPvNhI8auzP/842i9KsZ/wm/nR6/YSdPuJOoua4 SMVfO6USIrNK8bIfZDIJ9m0c9KyN8Txbg5Tt4/TZrWoo241xbw14OlooS+MAMGcay/1x uEJ2pj0Pti9+U+gVgoB768EPAnQlXvwv00fzOo3j+IHB68znBR5rkRe5Cr/OTXuCT5H1 mV2qZDvMg5Kn8H+oJzwAFzgKyGWwIKu0gKH9zOYFc9Y8as+vF46VxN06B5E63BrdKbqS zTjYhgik9kqS4qUPUBV5BlpCtPiV7Mm3ipA67iB978Cl8SRvhqicUd+6bvypuCWwPLln ZwOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HFJ+/D7U"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190219-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd4e7ecsi727150585a.566.2024.05.27.01.34.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:34:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190219-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=@linaro.org header.s=google header.b="HFJ+/D7U"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190219-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 69A0E1C20CB8 for ; Mon, 27 May 2024 08:34:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F01385C613; Mon, 27 May 2024 08:34:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HFJ+/D7U" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E0C6D268 for ; Mon, 27 May 2024 08:34:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716798841; cv=none; b=buUU6e/63uMIgl3YX+kq6vgeLD9EZ6IZ2Z7myGE9BIDI+GpWSvexuQmVFZg3cfV1cUZGZXYP0ake9oLwrHRmFxpXATdd4Fh3REg10vox2zlWEK1zjt4cG4SK/j/xdLW5pcPJSz5ceqg4LXcx3W9EMl2F2rUqq6C+9AZcGhFFQ3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716798841; c=relaxed/simple; bh=ovTWx/4tBiWPf8NcW0MDaY5mZicrlGCgmALsauOxQlo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RLekGLZ4949X+z59OKfHCigTVt2xGJV89ls0jcjbtPU74IJe2UQd63N9JvBmSBJyfduA7J8jBiKTcDpoWka7KTDPgKJlJFFZcpMZO/UOBY7sLOsMlgLHDbxXbk0Om/Mxqz6FIUJI+c+TzarR8UoYmc4SYaCgtbNTjEXnm7y9K6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HFJ+/D7U; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a5dcb5a0db4so1039276266b.2 for ; Mon, 27 May 2024 01:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716798838; x=1717403638; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=PkhQ7NV2BiQIlRfEnI28FnJrqApDyLtxZfEoO/rxk6g=; b=HFJ+/D7UaJ5qqhhxTVOToM3uMEqD6XLG+2H+BOkBD0d/54AAK7a48YmrUAUPQ6hgJU NPar6kyBp8/lR/4/HjDp1bIy2wmt8JTE82hY08OouoF7WsGZ8CH5u2tNZweolMIdcEMq OTEOUop3u3gc1g34yp5syu+T1Hh3sGOkWbw5gpdQMmwuA0i9rzlpWt7MuQbCUeJlDtGj rDhyQwRBUutHzXuJ1/XbRy+Zn45cmDw/yaKUQ5bgr1e/Sb7xKXJXbkdgh0hp1zslOJk2 w+RDpda71jfAleE+8/f7ecS9NpRjqooXsf53BcmS4V1vKhBdTaPwCoa9oHeNa/qrrKLN E9UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716798838; x=1717403638; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PkhQ7NV2BiQIlRfEnI28FnJrqApDyLtxZfEoO/rxk6g=; b=Q4+1W6nSPYcVe/5Ki7iDsU+yWhNnXGASTwDkvd0GC7GejFRa+IHnpxSUpkx5996T5N Q7E9iwYEGAetNj2mh7F7j0KvCZG4Tb4cD+7zs2DNl3ttK5hOnqPLyklF/Ofq5z27W+cQ K+vHcbdpO+0WoaXayFL6QtEtZnRUn4bRQhseoe5gwwTIsArtEr3hvQ5oTTgfNNdR5PPa KS/QpCT66Vf9Bo/Xz5Ptm0yOyEVxYLZAMGYcBfzG8OQxqcNQ1SBKeEvRHHvkdUwxgjbU earvYqNytxt71NBpNdWz+uTWNG1vvCpsWYhi6bYyFru4HwSb3jk+/Fd44BxeywQrS3bA u2QQ== X-Forwarded-Encrypted: i=1; AJvYcCVb3XKnoFCTViN3c3HTRdskGHQqZHWg7vw8R3IFwQnNCEx4+VUaonIh2bPq5ziwEIRos1cToP7FuQv+JYOPrstz8dR7r+PzrMoIz8LF X-Gm-Message-State: AOJu0YycYKnEM1jvvYRFMh7rYVyl3ys/6itOjlH+Hspa9NOdcXP5CwBh m9GkywJtnCmJ0yC8RetPIeOeXPm8tjQe2vAdOssk7nTzO4P3xyNBWnBARn9anL8= X-Received: by 2002:a17:906:55ce:b0:a59:c3dd:db2a with SMTP id a640c23a62f3a-a62641aaf08mr525704766b.11.1716798838489; Mon, 27 May 2024 01:33:58 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c817953sm468040166b.42.2024.05.27.01.33.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 May 2024 01:33:57 -0700 (PDT) Message-ID: Date: Mon, 27 May 2024 10:33:55 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/6] dt-bindings: crypto: Add Texas Instruments MCRC64 To: Kamlesh Gurudasani , Conor Dooley Cc: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Catalin Marinas , Will Deacon , Maxime Coquelin , Alexandre Torgue , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com References: <20230719-mcrc-upstream-v2-0-4152b987e4c2@ti.com> <20230719-mcrc-upstream-v2-3-4152b987e4c2@ti.com> <20230811-crestless-gratify-21c9bb422375@spud> <20230811-imminent-fancied-89663c373ab5@spud> <87plt7acgg.fsf@kamlesh.i-did-not-set--mail-host-address--so-tickle-me> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2Xuc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Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <87plt7acgg.fsf@kamlesh.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/05/2024 10:25, Kamlesh Gurudasani wrote: > Conor Dooley writes: > >> On Fri, Aug 11, 2023 at 04:34:33PM +0100, Conor Dooley wrote: >>> On Fri, Aug 11, 2023 at 12:58:50AM +0530, Kamlesh Gurudasani wrote: >>>> Add binding for Texas Instruments MCRC64 >>>> >>>> MCRC64 engine calculates 64-bit cyclic redundancy checks (CRC) >>>> according to the ISO 3309 standard. >>>> >>>> The ISO 3309 64-bit CRC model parameters are as follows: >>>> Generator Polynomial: x^64 + x^4 + x^3 + x + 1 >>>> Polynomial Value: 0x000000000000001B >>>> Initial value: 0x0000000000000000 >>>> Reflected Input: False >>>> Reflected Output: False >>>> Xor Final: 0x0000000000000000 >>>> >>>> Signed-off-by: Kamlesh Gurudasani >>>> --- >>>> Documentation/devicetree/bindings/crypto/ti,mcrc64.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ >>>> MAINTAINERS | 5 +++++ >>>> 2 files changed, 52 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/crypto/ti,mcrc64.yaml b/Documentation/devicetree/bindings/crypto/ti,mcrc64.yaml >>>> new file mode 100644 >>>> index 000000000000..38bc7efebd68 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/crypto/ti,mcrc64.yaml >>>> @@ -0,0 +1,47 @@ >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>>> +%YAML 1.2 >>>> +--- >>>> +$id: http://devicetree.org/schemas/crypto/ti,mcrc64.yaml# >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: Texas Instruments MCRC64 >>>> + >>>> +description: The MCRC64 engine calculates 64-bit cyclic redundancy checks >>> >>> A newline after "description" please. >>> >>>> + (CRC) according to the ISO 3309 standard. >>>> + >>>> +maintainers: >>>> + - Kamlesh Gurudasani >>>> + >>>> +properties: >>>> + compatible: >>>> + const: ti,am62-mcrc64 >>> >>> Is the am62 an SoC or a family of SoCs? I googled a wee bit for am62 & >>> there seems to be an am625 and an am623? >> >> Or is it an am62p5, in which case the compatible should contain >> ti,am62p5 I suppose. Sorry for my confusion here, its not really clear >> me too since I've been seeing many different-but-similar product names >> the last few days. >> >> Thanks, >> Conor. >> > Hi Conor, > > Thanks for the review. > > am62 is family of SOCs. > > All devices under this family, like am623/5/p5 and etc, have MCRC64. > > I have kept the naming convention similar to SA2UL/SA3UL[0]. > > [0] https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml#L18 Usual answer is: no families. There are exceptions, though, so is this case on the exception list? https://elixir.bootlin.com/linux/v6.10-rc1/source/Documentation/devicetree/bindings/writing-bindings.rst#L42 P.S. Your email client added some weird subject prefix - please fix it. Best regards, Krzysztof