From: sashiko-bot@kernel.org
To: "Pavitrakumar Managutte" <pavitrakumarm@vayavyalabs.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v17 1/4] dt-bindings: crypto: Document support for SPAcc
Date: Mon, 20 Jul 2026 11:43:33 +0000 [thread overview]
Message-ID: <20260720114334.5AEAB1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260720113740.64960-2-pavitrakumarm@vayavyalabs.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The `reg` property size in the device tree example is incorrectly specified as 0x3ffff instead of 0x40000, representing an off-by-one error.
- [Low] The first sentence in the description block is a sentence fragment, and there is a missing space in the title.
--
--- Patch [1]: [PATCH v17 1/4] dt-bindings: crypto: Document support for SPAcc ---
commit 7ed8f2fc8bca4b54b48a471d2592cf36275dd72a
Author: Pavitrakumar Managutte <pavitrakumarm@vayavyalabs.com>
dt-bindings: crypto: Document support for SPAcc
Add DT bindings related to the SPAcc driver for Documentation.
DWC Synopsys Security Protocol Accelerator(SPAcc) Hardware Crypto
Engine is a crypto IP designed by Synopsys.
> diff --git a/Documentation/devicetree/bindings/crypto/snps,dwc-spacc.yaml b/Documentation/devicetree/bindings/crypto/snps,dwc-spacc.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/crypto/snps,dwc-spacc.yaml
[ ... ]
> +$id: http://devicetree.org/schemas/crypto/snps,dwc-spacc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Synopsys DesignWare Security Protocol Accelerator(SPAcc) Crypto Engine
[Severity: Low]
This isn't a bug, but is it intentional to omit the space before the
parenthesis here?
> +
> +maintainers:
> + - Ross Bannerman <rbannerm@synopsys.com>
> +
> +description: |
> + The Synopsys DWC Security Protocol Accelerator (SPAcc), which is a
> + semiconductor IP designed to accelerate cryptographic operations,
> + such as encryption, decryption, and hashing.
[Severity: Low]
This isn't a bug, but this first sentence appears to be a fragment since it
uses a relative "which is" clause without a main verb. Could this be
rephrased for better readability?
[ ... ]
> +additionalProperties: false
> +
> +examples:
> + - |
> + crypto@40000000 {
> + compatible = "snps,nsimosci-hs-spacc";
> + reg = <0x40000000 0x3ffff>;
[Severity: Low]
Does this reg size represent an off-by-one error?
Device tree reg properties take <address length>, rather than
<address max_offset>. If a 256 KB memory region is intended, should this size
be 0x40000 instead of 0x3ffff?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260720113740.64960-1-pavitrakumarm@vayavyalabs.com?part=1
next prev parent reply other threads:[~2026-07-20 11:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 11:37 [PATCH v17 0/4] crypto: spacc - Add SPAcc Crypto Driver Pavitrakumar Managutte
2026-07-20 11:37 ` [PATCH v17 1/4] dt-bindings: crypto: Document support for SPAcc Pavitrakumar Managutte
2026-07-20 11:43 ` sashiko-bot [this message]
2026-07-20 11:37 ` [PATCH v17 2/4] crypto: spacc - Add SPAcc ahash support Pavitrakumar Managutte
2026-07-20 12:09 ` sashiko-bot
2026-07-20 11:37 ` [PATCH v17 3/4] crypto: spacc - Add SPAcc AUTODETECT Support Pavitrakumar Managutte
2026-07-20 14:02 ` sashiko-bot
2026-07-20 11:37 ` [PATCH v17 4/4] crypto: spacc - Add SPAcc Kconfig and Makefile Pavitrakumar Managutte
2026-07-20 11:53 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260720114334.5AEAB1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=pavitrakumarm@vayavyalabs.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.