From: sashiko-bot@kernel.org
To: "Chukun Pan" <amadeus@jmu.edu.cn>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add Radxa E54C
Date: Sat, 08 Aug 2026 08:12:43 +0000 [thread overview]
Message-ID: <20260808081244.0C9E81F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260808080018.1492239-3-amadeus@jmu.edu.cn>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `keyup-threshold-microvolt` property for the ADC keys is erroneously set to `18000` (18 mV) instead of `1800000` (1.8 V), causing the Maskrom button to fail to register presses reliably.
--
--- Patch [2]: [PATCH 2/2] arm64: dts: rockchip: Add Radxa E54C ---
commit 7258a447ec127579f19e2447b1743c6bd29f64a2
Author: Chukun Pan <amadeus@jmu.edu.cn>
arm64: dts: rockchip: Add Radxa E54C
This commit adds device tree support for the Radxa E54C, a network computer
based on the Rockchip RK3582 SoC. It configures the hardware interfaces
including USB, HDMI, ethernet switch, keys, and various regulators.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e54c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e54c.dts
> new file mode 100644
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e54c.dts
[ ... ]
> + keys-0 {
> + compatible = "adc-keys";
> + io-channels = <&saradc 0>;
> + io-channel-names = "buttons";
> + keyup-threshold-microvolt = <18000>;
[Severity: Medium]
Is this keyup threshold missing two trailing zeros?
It is currently set to 18000 (18 mV) instead of 1800000 (1.8 V). Because switch
contact resistance and minor ground bounce can easily produce >9 mV when the
Maskrom button is held down, won't the adc-keys driver incorrectly consider
the button released?
> + poll-interval = <100>;
> +
> + button-0 {
> + label = "Maskrom";
> + linux,code = <KEY_VENDOR>;
> + press-threshold-microvolt = <0>;
> + };
> + };
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260808080018.1492239-1-amadeus@jmu.edu.cn?part=2
next prev parent reply other threads:[~2026-08-08 8:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-08 8:00 [PATCH 0/2] arm64: dts: rockchip: Add Radxa E54C Chukun Pan
2026-08-08 8:00 ` [PATCH 1/2] dt-bindings: arm: " Chukun Pan
2026-08-12 22:35 ` Rob Herring (Arm)
2026-08-08 8:00 ` [PATCH 2/2] arm64: dts: " Chukun Pan
2026-08-08 8:12 ` sashiko-bot [this message]
2026-08-12 21:52 ` Andrew Lunn
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=20260808081244.0C9E81F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=amadeus@jmu.edu.cn \
--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