From: sashiko-bot@kernel.org
To: "Aleksandrs Vinarskis" <alex@vinarskis.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 3/3] arm64: dts: qcom: x1e80100-dell-xps13-9345: introduce EC
Date: Sat, 01 Aug 2026 18:43:07 +0000 [thread overview]
Message-ID: <20260801184308.1A6001F00ADB@smtp.kernel.org> (raw)
In-Reply-To: <20260801-dell-xps-9345-ec-v3-3-9f4bdb5a5dad@vinarskis.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The device tree patch extends and references a non-existent label `pmk8550_vadc`, which will cause a fatal `dtc` compilation error.
- [Low] The patch uses undefined function-like macros (e.g., `ADC5_GEN3_AMUX3_GPIO_100K_PU(1)`), which will cause a syntax error during device tree compilation.
--
--- Patch [3]: [PATCH v3 3/3] arm64: dts: qcom: x1e80100-dell-xps13-9345: introduce EC ---
commit e7703c5dfab63d67ae0d89c48a05547baa5abd7f
Author: Aleksandrs Vinarskis <alex@vinarskis.com>
arm64: dts: qcom: x1e80100-dell-xps13-9345: introduce EC
Describe embedded controller, its interrupt and required thermal zones.
Add EC's reset GPIO to reserved range, as triggering it during device
operation leads to unrecoverable and unusable state.
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
> index ce7b10ea89b6d..8d8d8014049bb 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
[ ... ]
> @@ -759,8 +759,32 @@ retimer_ss0_con_sbu_out: endpoint {
[ ... ]
> + embedded-controller@3b {
> + compatible = "dell,xps13-9345-ec";
> + reg = <0x3b>;
> +
> + interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;
> +
> + pinctrl-0 = <&ec_int_n_default>;
> + pinctrl-names = "default";
> +
> + io-channels = <&pmk8550_vadc ADC5_GEN3_AMUX3_GPIO_100K_PU(1)>,
[Severity: Low]
Does this file include the node definitions and bindings for pmk8550_vadc?
The pmk8550_vadc phandle does not appear to be defined in this file or its
typical includes, which will cause a dtc compilation error when the device
tree is built.
Additionally, is ADC5_GEN3_AMUX3_GPIO_100K_PU intended to be used as a
function-like macro taking an argument here?
The dt-bindings headers usually define this as a parameterless macro.
Supplying an argument like (1) will cause a preprocessor error during the
device tree compilation.
> + <&pmk8550_vadc ADC5_GEN3_AMUX4_GPIO_100K_PU(1)>,
[ ... ]
> @@ -1025,6 +1049,57 @@ rtmr0_1p8_reg_en: rtmr0-1p8-reg-en-state {
> };
> };
>
> +&pmk8550_vadc {
> + sys_therm0: channel@14c {
> + reg = <ADC5_GEN3_AMUX3_GPIO_100K_PU(1)>;
[Severity: Low]
Will appending to pmk8550_vadc work if the base node does not exist?
Similar to the io-channels property in the embedded-controller block,
attempting to append properties to an undefined pmk8550_vadc node will
result in a path not found error from the device tree compiler.
The reg assignment also uses the same function-like macro syntax which
will trigger a preprocessor failure.
> + qcom,hw-settle-time = <200>;
> + qcom,ratiometric;
> + label = "lpddr5_therm";
> + };
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260801-dell-xps-9345-ec-v3-0-9f4bdb5a5dad@vinarskis.com?part=3
next prev parent reply other threads:[~2026-08-01 18:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-01 18:22 [PATCH v3 0/3] Introduce EC driver for Snapdragon X1E based Dell XPS 13 9345 Aleksandrs Vinarskis
2026-08-01 18:22 ` [PATCH v3 1/3] dt-bindings: platform: introduce EC for " Aleksandrs Vinarskis
2026-08-01 18:32 ` sashiko-bot
2026-08-01 18:48 ` Aleksandrs Vinarskis
2026-08-01 18:22 ` [PATCH v3 2/3] platform: arm64: dell-xps-ec: new driver Aleksandrs Vinarskis
2026-08-01 18:34 ` sashiko-bot
2026-08-01 21:15 ` Bryan O'Donoghue
2026-08-09 13:22 ` Aleksandrs Vinarskis
2026-08-01 18:22 ` [PATCH v3 3/3] arm64: dts: qcom: x1e80100-dell-xps13-9345: introduce EC Aleksandrs Vinarskis
2026-08-01 18:43 ` sashiko-bot [this message]
2026-08-01 18:49 ` Aleksandrs Vinarskis
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=20260801184308.1A6001F00ADB@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alex@vinarskis.com \
--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 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.