From: sashiko-bot@kernel.org
To: MoeLeak <i@leak.moe>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org,
krzk+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 2/2] riscv: dts: thead: Enable WiFi on Lichee Pi 4A
Date: Fri, 08 May 2026 20:39:53 +0000 [thread overview]
Message-ID: <20260508203953.C981AC2BCB4@smtp.kernel.org> (raw)
In-Reply-To: <20260508-lichee-pi-4a-wifi-v2-2-7acf63559e62@leak.moe>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The `&sdio1` node specifies `#address-cells = <1>;` and `#size-cells = <0>;` but contains no child nodes.
--
commit 89c378a34273e40ecc4c5313fff87bf9f739222c
Author: MoeLeak <i@leak.moe>
riscv: dts: thead: Enable WiFi on Lichee Pi 4A
This commit enables the RTL8723DS WiFi module on the Lichee Pi 4A. It
configures the SDIO1 controller and sets up the I2C1 bus for the GPIO
expander used to drive the module reset line.
> diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
> index 7cb7d28683bce..af6f25ebbf607 100644
> --- a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
> +++ b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
[ ... ]
> @@ -132,6 +153,32 @@ rx-pins {
> };
> };
>
[ ... ]
> +&sdio1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
This isn't a bug, but since this node does not contain any child nodes,
will including #address-cells and #size-cells trigger the dtc compiler
warning for avoid_unnecessary_addr_size?
Should these properties be removed if no child node is being explicitly
added for the WiFi module?
> + bus-width = <4>;
> + max-frequency = <198000000>;
> + cap-sdio-irq;
> + keep-power-in-suspend;
> + mmc-pwrseq = <&wifi_pwrseq>;
> + non-removable;
> + status = "okay";
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260508-lichee-pi-4a-wifi-v2-0-7acf63559e62@leak.moe?part=2
prev parent reply other threads:[~2026-05-08 20:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 11:44 [PATCH v2 0/2] riscv: dts: thead: Enable Lichee Pi 4A WiFi MoeLeak
2026-05-08 11:44 ` [PATCH v2 1/2] riscv: dts: thead: Add TH1520 I2C1 controller MoeLeak
2026-05-08 11:44 ` [PATCH v2 2/2] riscv: dts: thead: Enable WiFi on Lichee Pi 4A MoeLeak
2026-05-08 20:39 ` sashiko-bot [this message]
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=20260508203953.C981AC2BCB4@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=i@leak.moe \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sashiko@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