From: sashiko-bot@kernel.org
To: "Ryan Chen" <ryan_chen@aspeedtech.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v30 1/5] dt-bindings: i2c: Split AST2600 binding into a new YAML
Date: Thu, 28 May 2026 07:57:19 +0000 [thread overview]
Message-ID: <20260528075719.BDC961F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260528-upstream_i2c-v30-1-5d4f9adc3530@aspeedtech.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message claims the binding requires two `reg` regions, but the schema specifies `minItems: 1`, making the second region optional.
--
commit 1bb6224b110a8990b3c95cd44d683d1ba249d994
Author: Ryan Chen <ryan_chen@aspeedtech.com>
dt-bindings: i2c: Split AST2600 binding into a new YAML
This commit separates the AST2600 I2C controller bindings from the older
AST2400/AST2500 schemas into a dedicated file. It also updates the schema
to enforce AST2600-specific constraints like interrupts, clock frequencies,
and register regions.
> diff --git a/Documentation/devicetree/bindings/i2c/aspeed,ast2600-i2c.yaml b/Documentation/devicetree/bindings/i2c/aspeed,ast2600-i2c.yaml
> new file mode 100644
> index 0000000000000..abc614315dffb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/aspeed,ast2600-i2c.yaml
[ ... ]
> +properties:
> + compatible:
> + enum:
> + - aspeed,ast2600-i2c-bus
> +
> + reg:
> + minItems: 1
[Severity: Medium]
The commit message states that this binding adjusts AST2600-specific
requirements to "require two reg regions (controller register block + buffer
block)".
Should minItems be set to 2 here to enforce that requirement? Setting it
to 1 makes the second region optional, which allows device tree nodes with
only a single reg region to silently pass schema validation.
> + items:
> + - description: controller registers
> + - description: controller buffer space
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260528-upstream_i2c-v30-0-5d4f9adc3530@aspeedtech.com?part=1
next prev parent reply other threads:[~2026-05-28 7:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 7:41 [PATCH v30 0/5] Add ASPEED AST2600 I2C controller driver Ryan Chen
2026-05-28 7:41 ` [PATCH v30 1/5] dt-bindings: i2c: Split AST2600 binding into a new YAML Ryan Chen
2026-05-28 7:57 ` sashiko-bot [this message]
2026-05-29 7:15 ` Ryan Chen
2026-05-28 7:41 ` [PATCH v30 2/5] i2c: aspeed: Read clock-frequency via i2c_parse_fw_timings() Ryan Chen
2026-05-28 8:15 ` sashiko-bot
2026-05-29 7:26 ` Ryan Chen
2026-05-28 7:41 ` [PATCH v30 3/5] dt-bindings: i2c: ast2600-i2c.yaml: Add global-regs properties Ryan Chen
2026-05-28 7:41 ` [PATCH v30 4/5] i2c: ast2600: Add controller driver for AST2600 new register set Ryan Chen
2026-05-28 9:08 ` sashiko-bot
2026-05-28 18:29 ` William A. Kennington III
2026-05-29 2:25 ` Ryan Chen
2026-05-28 7:41 ` [PATCH v30 5/5] i2c: ast2600: Add target mode support Ryan Chen
2026-05-28 9:46 ` 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=20260528075719.BDC961F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=ryan_chen@aspeedtech.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox