From: sashiko-bot@kernel.org
To: "Kendall Willis" <k-willis@ti.com>
Cc: devicetree@vger.kernel.org, dmitry.torokhov@gmail.com,
robh@kernel.org, linux-input@vger.kernel.org,
conor+dt@kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: input: gpio-keys: add pinctrl states
Date: Thu, 01 Oct 2026 15:59:49 +0000 [thread overview]
Message-ID: <20261001155950.44EDE1F00898@smtp.kernel.org> (raw)
In-Reply-To: <20261001-upstream-gpio-wakeup-v3-1-6f3bcde367a3@ti.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: gpio-keys: pinctrl-names constraint breaks at91-kizbox3-hs.dts
--
commit 907856f3f65db782a0530ddca90b6bdcafcea767
Author: Kendall Willis <k-willis@ti.com>
dt-bindings: input: gpio-keys: add pinctrl states
This commit documents pinctrl properties on the gpio-keys device node. It
adds the default pinctrl state and a wakeup state to configure pins for
system suspend if GPIO is a wakeup source.
> diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
> index cc78c21529213..a0712fba45845 100644
> --- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
> +++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
> @@ -22,6 +22,22 @@ properties:
>
> poll-interval: true
>
> + pinctrl-0:
> + description: Default pinctrl state
> +
> + pinctrl-1:
> + description: Wakeup pinctrl state
> +
> + pinctrl-names:
> + description:
> + When present should contain at least "default" describing the default pin
> + states. The "wakeup" state describes the pin state used to wakeup the system
> + when wakeup is enabled and the system is suspended.
> + minItems: 1
> + items:
> + - const: default
> + - const: wakeup
[Severity: Medium]
Will this implicit maxItems constraint break validation for existing in-tree
device trees?
Looking at arch/arm/boot/dts/microchip/at91-kizbox3-hs.dts, there is an
existing gpio-keys node that defines 5 items in pinctrl-names:
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default" , "default", "default",
"default", "default";
pinctrl-0 = <&pinctrl_key_gpio_default>;
pinctrl-1 = <&pinctrl_pio_rf &pinctrl_pio_wifi>;
...
}
Since the schema update limits the items list to exactly two specific
entries ("default" and "wakeup"), this will introduce a make dtbs_check
validation regression for the existing board. Should the schema accommodate
this existing usage, or should the board be updated in the same series?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261001-upstream-gpio-wakeup-v3-0-6f3bcde367a3@ti.com?part=1
next prev parent reply other threads:[~2026-10-01 15:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 15:50 [PATCH v3 0/2] Input: gpio-keys - support wakeup pinctrl state Kendall Willis
2026-10-01 15:50 ` [PATCH v3 1/2] dt-bindings: input: gpio-keys: add pinctrl states Kendall Willis
2026-10-01 15:59 ` sashiko-bot [this message]
2026-10-01 16:11 ` Kendall Willis
2026-10-01 20:01 ` Rob Herring (Arm)
2026-10-01 15:50 ` [PATCH v3 2/2] Input: gpio-keys - support wakeup pinctrl state on suspend Kendall Willis
2026-10-01 16:02 ` sashiko-bot
2026-10-01 16:12 ` Kendall Willis
2026-10-03 5:26 ` Dmitry Torokhov
2026-10-05 20:42 ` Kendall Willis
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=20261001155950.44EDE1F00898@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=k-willis@ti.com \
--cc=linux-input@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.