From: sashiko-bot@kernel.org
To: "Dmitry Yashin" <dmt.yashin@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/4] arm64: dts: rockchip: add Forlinx OK3568-C
Date: Wed, 30 Sep 2026 09:55:38 +0000 [thread overview]
Message-ID: <20260930095539.297011F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260930-ok3568-c-v1-3-a0ffd55f5c95@gmail.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] dts: missing device-wakeup, interrupt, and reset properties in bluetooth node
- [Medium] dts: orphaned modem_5g_reset pinctrl leaves 5G modem reset unhandled
- [Medium] dts: orphaned wifi_host_wake pinctrl disables out-of-band WiFi wake
--
commit ebd497a35c265bc281369082ab62727d0e435e1b
Author: Dmitry Yashin <dmt.yashin@gmail.com>
arm64: dts: rockchip: add Forlinx OK3568-C
This commit adds support for the Forlinx OK3568-C board, which is the
carrier board for the FET3568-C System on Module. It maps the peripherals
and components for the board including connectivity modules like 5G, WiFi,
and Bluetooth.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3568-ok3568-c.dts b/arch/arm64/boot/dts/rockchip/rk3568-ok3568-c.dts
> new file mode 100644
> index 0000000000000..d292df546d419
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3568-ok3568-c.dts
[ ... ]
> +&pinctrl {
[ ... ]
> + modem {
> + modem_5g_pwr: modem-5g-pwr {
> + rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
> + };
> +
> + modem_5g_reset: modem-5g-reset {
> + rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
> + };
[Severity: Medium]
The modem_5g_reset pinctrl node is defined here but does not appear to be
referenced in any pinctrl-0 property or assigned to a device node,
regulator, or gpio-hog.
Without being actively driven, could this prevent the 5G modem from
initializing and enumerating properly if it requires this reset signal?
[ ... ]
> + wifi {
> + wifi_reg_on: wifi-reg-on {
> + rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
> + };
> +
> + wifi_host_wake: wifi-host-wake {
> + rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
> + };
> + };
> +};
[Severity: Medium]
Similar to the modem reset, the wifi_host_wake pinctrl group configures
a GPIO for handling out-of-band host wake interrupts from the WiFi
module, but it is completely isolated. It isn't referenced by the
sdmmc2 node's pinctrl-0, and the corresponding interrupts property is
missing.
Does this missing configuration break Wake-on-WLAN and sleep power
management for the WiFi module during system suspend?
[ ... ]
> +/* BT part of the AW-CM358SM connected with UART */
> +&uart8 {
> + dma-names = "tx", "rx";
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn &uart8m0_rtsn>;
> + uart-has-rtscts;
> + status = "okay";
> +
> + bluetooth {
> + compatible = "nxp,88w8987-bt";
> + pinctrl-names = "default";
> + pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>;
> + vcc-supply = <&vcc1v8>;
> + wakeup-source;
> + };
> +};
[Severity: Medium]
While pinctrl-0 sets up the hardware pins as GPIOs, the corresponding DT
properties (device-wakeup-gpios, interrupts, reset-gpios) required by
the nxp,88w8987-bt binding are missing from this node.
Without device-wakeup-gpios and the wakeup interrupt, will the
btnxpuart driver be unable to perform power management signaling and
break sleep/wake functionality? Also, without a driver managing the
bt_reg_on GPIO, could the chip remain in reset and fail to initialize?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260930-ok3568-c-v1-0-a0ffd55f5c95@gmail.com?part=3
next prev parent reply other threads:[~2026-09-30 9:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 9:29 [PATCH 0/4] arm64: dts: rockchip: add Forlinx OK3568-C Dmitry Yashin
2026-09-30 9:29 ` Dmitry Yashin
2026-09-30 9:29 ` [PATCH 1/4] dt-bindings: arm: rockchip: add Forlinx FET3568-C Dmitry Yashin
2026-09-30 9:29 ` Dmitry Yashin
2026-10-01 8:32 ` Krzysztof Kozlowski
2026-10-01 8:32 ` Krzysztof Kozlowski
2026-09-30 9:29 ` [PATCH 2/4] arm64: dts: " Dmitry Yashin
2026-09-30 9:29 ` Dmitry Yashin
2026-09-30 9:46 ` sashiko-bot
2026-09-30 9:29 ` [PATCH 3/4] arm64: dts: rockchip: add Forlinx OK3568-C Dmitry Yashin
2026-09-30 9:29 ` Dmitry Yashin
2026-09-30 9:55 ` sashiko-bot [this message]
2026-09-30 19:19 ` Andrew Lunn
2026-09-30 19:19 ` Andrew Lunn
2026-09-30 9:29 ` [PATCH 4/4] arm64: dts: rockchip: add FIT-PCIE-SATA overlay Dmitry Yashin
2026-09-30 9:29 ` Dmitry Yashin
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=20260930095539.297011F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmt.yashin@gmail.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.