From: sashiko-bot@kernel.org
To: "Josua Mayer" <josua@solid-run.com>
Cc: wsa+renesas@sang-engineering.com, conor+dt@kernel.org,
devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v6 3/5] arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb
Date: Mon, 10 Aug 2026 07:26:31 +0000 [thread overview]
Message-ID: <20260810072632.3C2831F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260810-rzg2-sr-boards-v6-3-41faa32cdafb@solid-run.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Lost interrupts for child devices due to edge-triggered parent interrupt configuration on the I2C expander
--
--- Patch [3]: [PATCH v6 3/5] arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb ---
commit 3f1957626f1e1e5ab1e7ddedbfb53c5dea3788e0
Author: Josua Mayer <josua@solid-run.com>
arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb
This commit adds device tree support for the SolidRun RZ/G2L SoM on the
Hummingboard IIoT carrier board, including Ethernet, eMMC, USB, and
configurable mux states for various interfaces.
Link: https://www.solid-run.com/embedded-industrial-iot/renesas-rz-family/rz-g2l-som/
Link: https://www.solid-run.com/embedded-industrial-iot/renesas-rz-family/hummingboard-rz-series-sbcs/hummingboard-rz-g2l-iot-sbc/
> diff --git a/arch/arm64/boot/dts/renesas/rzg2l-hummingboard-iiot-common.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-hummingboard-iiot-common.dtsi
> new file mode 100644
> index 0000000000000..eaec4cca76949
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/rzg2l-hummingboard-iiot-common.dtsi
[ ... ]
> + tca6416_u21: gpio@21 {
> + compatible = "ti,tcal6416";
> + reg = <0x21>;
[ ... ]
> + /* Level triggered irq does not currently work well on RZ/G2L, fall-back to edge */
> + interrupts-extended = <&pinctrl RZG2L_GPIO(4, 0) IRQ_TYPE_EDGE_FALLING>;
[ ... ]
> + light-sensor@44 {
> + compatible = "isil,isl29023";
> + reg = <0x44>;
> + /* IRQ shared between accelerometer, light-sensor and Tamper input (J5007) */
> + interrupts-extended = <&tca6416_u21 7 IRQ_TYPE_LEVEL_LOW>;
> + };
> +
> + accelerometer@53 {
> + compatible = "adi,adxl345";
> + reg = <0x53>;
> + interrupts-extended = <&tca6416_u21 7 IRQ_TYPE_LEVEL_LOW>;
> + /* IRQ shared between accelerometer, light-sensor and Tamper input (J5007) */
> + interrupt-names = "INT1";
> + };
[Severity: Medium]
Will this edge-triggered configuration cause lost interrupts for the child
devices sharing this expander?
The parent expander (tca6416_u21) interrupt is forced to
IRQ_TYPE_EDGE_FALLING. However, child devices like the accelerometer and
light sensor are configured to use IRQ_TYPE_LEVEL_LOW on the shared pin 7.
If one device asserts its interrupt (pulling the shared line low), the
expander will trigger a falling edge to the SoC. If the second device
also asserts its interrupt before the first is cleared, the shared line
remains low even after the first device deasserts it.
Because the SoC parent interrupt is strictly edge-triggered, no second
falling edge is generated in this scenario. Could this leave the interrupt
line stuck low permanently and drop all future interrupts from these sensors?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260810-rzg2-sr-boards-v6-0-41faa32cdafb@solid-run.com?part=3
next prev parent reply other threads:[~2026-08-10 7:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 7:11 [PATCH v6 0/5] arm64: dts: renesas: Add various SolidRun RZ/G2 based boards Josua Mayer
2026-08-10 7:11 ` [PATCH v6 1/5] dt-bindings: soc: " Josua Mayer
2026-08-10 7:11 ` [PATCH v6 2/5] dt-bindings: usb: cypress,hx3: make peer-hub property optional Josua Mayer
2026-08-10 7:11 ` [PATCH v6 3/5] arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb Josua Mayer
2026-08-10 7:26 ` sashiko-bot [this message]
2026-08-10 7:11 ` [PATCH v6 4/5] arm64: dts: renesas: add support for solidrun rzv2l " Josua Mayer
2026-08-10 7:11 ` [PATCH v6 5/5] arm64: dts: renesas: add support for solidrun rzg2lc " Josua Mayer
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=20260810072632.3C2831F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=josua@solid-run.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.com \
/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