From: sashiko-bot@kernel.org
To: "Vyacheslav Yurkov" <V.Yurkov.EXT@bruker.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: bus: Add binding for Altera AXI Timeout Bridge
Date: Sat, 03 Oct 2026 20:26:12 +0000 [thread overview]
Message-ID: <20261003202612.609B11F0089B@smtp.kernel.org> (raw)
In-Reply-To: <20261003-feature-timeout-ip-v1-1-8837c311d571@bruker.com>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [Medium] dt-bindings: invalid compatible string format altera-timeout-bridge
- [Medium] dt-bindings: erroneous required interrupt-parent breaks inheritance
- [Low] dt-bindings: example node name uses underscores instead of hyphens
- [Low] dt-bindings: unaligned 15-byte reg size in example
--
commit 2cd126fb35ab7ef8e7fe6463a8fed9d0a99d2108
Author: Vyacheslav Yurkov <V.Yurkov.EXT@bruker.com>
dt-bindings: bus: Add binding for Altera AXI Timeout Bridge
This commit adds a device tree binding for the Altera timeout bridge, which
connects an Avalon bus to the HPS and provides an address space for child
devices.
> diff --git a/Documentation/devicetree/bindings/bus/altera-timeout-bridge.yaml b/Documentation/devicetree/bindings/bus/altera-timeout-bridge.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/bus/altera-timeout-bridge.yaml
> @@ -0,0 +1,82 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/bus/altera-timeout-bridge.yaml#
[Severity: Medium]
Does this $id field inherit an incorrectly formatted prefix and missing comma
from the filename? The compatible string issues mentioned below seem to have
propagated to both the filename and this path reference.
[ ... ]
> +properties:
> + compatible:
> + items:
> + - const: altera-timeout-bridge
[Severity: Medium]
Does this compatible string violate the standard device tree specification
that mandates the '<vendor>,<device>' format? The standard vendor prefix
for Altera is 'altr', not 'altera', and the missing comma separator breaks
standard pattern matching.
[ ... ]
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - interrupt-parent
[Severity: Medium]
Should 'interrupt-parent' be explicitly required here? By explicitly listing
it as a required property, the schema mandates that every instantiated node
must define it. Does this violate standard Device Tree structural inheritance,
where interrupt routing is inherited from parent nodes?
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + intc: interrupt-controller {
> + interrupt-controller;
> + #interrupt-cells = <3>;
> + };
> +
> + timeout_bridge_hps@10000 {
[Severity: Low]
This isn't a functional bug, but the example node name uses underscores
instead of hyphens. Could this trigger dtc W=1 warnings by violating standard
Device Tree naming conventions?
> + compatible = "altera-timeout-bridge", "simple-bus";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + reg = <0x10000 0xF>;
[Severity: Low]
Is this 15-byte window size intentional? MMIO regions are universally aligned
to word (4-byte) boundaries, meaning a 15-byte window truncates the final
32-bit register space (ending at 15 instead of 16). Could this be a typo
for 0x10?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261003-feature-timeout-ip-v1-0-8837c311d571@bruker.com?part=1
next prev parent reply other threads:[~2026-10-03 20:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-03 20:19 [PATCH 0/2] Add Altera timeout bridge driver Vyacheslav Yurkov via B4 Relay
2026-10-03 20:19 ` [PATCH 1/2] dt-bindings: bus: Add binding for Altera AXI Timeout Bridge Vyacheslav Yurkov via B4 Relay
2026-10-03 20:26 ` sashiko-bot [this message]
2026-10-03 21:18 ` Krzysztof Kozlowski
2026-10-05 13:30 ` Rob Herring (Arm)
2026-10-03 20:19 ` [PATCH 2/2] bus: add Altera timeout bridge driver Vyacheslav Yurkov via B4 Relay
2026-10-03 20:29 ` sashiko-bot
2026-10-03 21:24 ` Krzysztof Kozlowski
2026-10-04 20:01 ` kernel test robot
2026-10-06 9:55 ` kernel test robot
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=20261003202612.609B11F0089B@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=V.Yurkov.EXT@bruker.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox