From: sashiko-bot@kernel.org
To: "Ricardo Pardini" <ricardo@pardini.net>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Add Mekotronics R58X-Pro
Date: Sat, 05 Dec 2026 19:07:25 +0000 [thread overview]
Message-ID: <sashiko-outbox-251848@kernel.org> (raw)
In-Reply-To: <20261205-rk3588-mekotronics-r58x-pro-v3-3-1cef1cdf1e13@pardini.net>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: rockchip: volume dial GPIO_ACTIVE_HIGH conflicts
with pull-up
--
commit 49d629b9695c09b31ae24febed5d6a65da5cdfb7
Author: Ricardo Pardini <ricardo@pardini.net>
arm64: dts: rockchip: Add Mekotronics R58X-Pro
This commit adds the devicetree for the Mekotronics R58X-Pro mini PC based on
the Rockchip RK3588 SoC and registers it in the Rockchip Makefile.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-mekotronics-r58x-pro.dts b/arch/arm64/boot/dts/rockchip/rk3588-mekotronics-r58x-pro.dts
> new file mode 100644
> index 0000000000000..fa7366ba18dd5
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-mekotronics-r58x-pro.dts
> @@ -0,0 +1,1286 @@
[ ... ]
> + gpio-keys {
> + compatible = "gpio-keys";
> + pinctrl-names = "default";
> + pinctrl-0 = <&dial_pins>;
> +
> + key-volume-down {
> + gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
> + label = "Volume Down";
> + linux,code = <KEY_VOLUMEDOWN>;
> + };
> +
> + key-volume-up {
> + gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
> + label = "Volume Up";
> + linux,code = <KEY_VOLUMEUP>;
> + };
> + };
[Severity: Medium]
Do key-volume-down and key-volume-up have inverted polarity relative to
dial_pins?
dial_pins configures both gpio3 RK_PC6 and gpio3 RK_PD0 with &pcfg_pull_up,
holding the lines high at rest. With GPIO_ACTIVE_HIGH, gpio-keys will report
KEY_VOLUMEDOWN and KEY_VOLUMEUP as continuously pressed on idle open switches
and emit inverted events on actuation.
If these are normally-open switches to ground, both GPIOs should use
GPIO_ACTIVE_LOW; if they are driven active-high, dial_pins should use
&pcfg_pull_down or &pcfg_pull_none instead.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-rk3588-mekotronics-r58x-pro-v3-0-1cef1cdf1e13@pardini.net?part=3
prev parent reply other threads:[~2026-12-05 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 18:47 [PATCH v3 0/3] arm64: dts: rockchip: Add Mekotronics R58X-Pro Ricardo Pardini via B4 Relay
2026-12-05 18:47 ` [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add Mekotronics Ricardo Pardini via B4 Relay
2026-12-05 18:47 ` [PATCH v3 2/3] dt-bindings: arm: rockchip: Add Mekotronics R58X-Pro Ricardo Pardini via B4 Relay
2026-12-05 18:47 ` [PATCH v3 3/3] arm64: dts: " Ricardo Pardini via B4 Relay
2026-12-05 19:07 ` 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=sashiko-outbox-251848@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ricardo@pardini.net \
--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