All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Clover <alex@ironrobin.net>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: sc8280xp-x13s: Add embedded controller
Date: Sat, 26 Sep 2026 20:02:56 +0000	[thread overview]
Message-ID: <20260926200256.A2D8B1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260926195415.5995-4-alex@ironrobin.net>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: forbidden input-enable in TLMM pinctrl
--

commit 3b04b58deccd1a5510d626dacae4e53b304e7984
Author: Clover <alex@ironrobin.net>

arm64: dts: qcom: sc8280xp-x13s: Add embedded controller

This commit enables the embedded controller at address 0x28 on i2c8 with
GPIO103 as its falling-edge event interrupt. It also configures the QUP8 bus,
the GPIO103 input, and the GPIO176 active-high power-state output.

> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> index 218573a97785b..1b875809773da 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts

[ ... ]

> @@ -1571,6 +1590,21 @@ sc-rgb-xshut-n-pins {
>  		};
>  	};
>  
> +	ec_int_n: ec-int-n-state {
> +		pins = "gpio103";
> +		function = "gpio";
> +		input-enable;

[Severity: Low]
Does this property cause a dt-binding schema validation error?

The qcom,tlmm-common.yaml schema explicitly forbids the input-enable property
in the TLMM pinctrl bindings. While PMIC pinctrls allow this property, the
TLMM (Top Level Mode Multiplexer) pinctrl bindings prohibit it, and running
make dtbs_check will fail with a DT binding validation error.

The driver consuming the GPIO establishes the input direction (e.g., via
gpiod_direction_input()) rather than relying on the pinctrl configuration.

> +		/* Preserve firmware pull configuration; no bias override. */
> +	};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260926195415.5995-1-alex@ironrobin.net?part=3

      reply	other threads:[~2026-09-26 20:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26 19:54 [PATCH v2 0/3] Lenovo ThinkPad X13s embedded controller support Clover
2026-09-26 19:54 ` [PATCH v2 1/3] dt-bindings: embedded-controller: Add Lenovo ThinkPad X13s EC Clover
2026-09-27 17:21   ` Krzysztof Kozlowski
2026-09-28  2:53     ` Alex R
2026-09-26 19:54 ` [PATCH v2 2/3] platform: arm64: Add Lenovo ThinkPad X13s EC driver Clover
2026-09-26 20:04   ` sashiko-bot
2026-09-26 19:54 ` [PATCH v2 3/3] arm64: dts: qcom: sc8280xp-x13s: Add embedded controller Clover
2026-09-26 20:02   ` 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=20260926200256.A2D8B1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alex@ironrobin.net \
    --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.