All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Linus Walleij" <linusw@kernel.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 11/20] ARM: dts: ux500: Correct GPIO key descriptions
Date: Fri, 04 Dec 2026 15:25:19 +0000	[thread overview]
Message-ID: <sashiko-outbox-250090@kernel.org> (raw)
In-Reply-To: <20261204-ux500-dts-after-powerdomains-v2-11-989e676de581@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] ARM: dts: ux500: GPIO145_C13 conflict between SSP0 and
  gpio_keys on pre-v60 HREF
--

commit ee327195e3c4539acb9f1d627b502a3da8c410a9
Author: Linus Walleij <linusw@kernel.org>

ARM: dts: ux500: Correct GPIO key descriptions

This commit updates ux500 gpio-keys node names to drop unit addresses,
removes unused address/size cells and vdd-supply properties, and moves
the pre-v60 HREF proximity sensor override after the UIB includes.

[ ... ]

> diff --git a/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts b/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
> index 5dbf6395daa37..f6f1459221695 100644
> --- a/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
> +++ b/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts
> @@ -13,6 +13,14 @@ / {
>  	model = "ST-Ericsson HREF (pre-v60) and ST UIB";
>  	compatible = "st-ericsson,mop500", "st-ericsson,u8500";
>  
> +	gpio_keys {
> +		pinctrl-0 = <&hall_stuib_mode>;
> +
> +		button-139 {
> +			gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
> +		};
> +	};
> +
>  	/* ST6G3244ME level translator for 1.8/2.9 V */
>  	vmmci: regulator-sd {
>  		compatible = "regulator-gpio";
> diff --git a/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts b/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
> index a43d4153ef4c9..d9f6a33d5421f 100644
> --- a/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
> +++ b/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts
> @@ -13,6 +13,14 @@ / {
>  	model = "ST-Ericsson HREF (pre-v60) and TVK1281618 R2 UIB";
>  	compatible = "st-ericsson,mop500", "st-ericsson,u8500";
>  
> +	gpio_keys {
> +		pinctrl-0 = <&hall_tvk_mode>;
> +
> +		button-139 {
> +			gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
> +		};
> +	};
> +
>  	/* ST6G3244ME level translator for 1.8/2.9 V */
>  	vmmci: regulator-sd {
>  		compatible = "regulator-gpio";

[Severity: High]
Does keeping hall_stuib_mode/hall_tvk_mode and the inherited button-145
node conflict with spi@80002000 on GPIO145_C13 on pre-v60 HREF boards?

ste-hrefprev60.dtsi enables spi@80002000 with ssp0_hrefprev60_mode, which
muxes ssp0_a_1 including GPIO145_C13 for SSP0 RXD.  Both hall modes apply
gpio_in_pu to GPIO145_C13, and button-145 requests <&gpio4 17>, which maps
to the same pin.

During pinctrl_bind_pins() for gpio_keys, nmk_pin_config_set() switches
GPIO145_C13 to NMK_GPIO_ALT_GPIO and breaks SSP0 RXD.  Since
nmk_pinmux_ops sets .strict = true, pin_request() also fails with -EINVAL
on button-145, aborting gpio_keys_probe() (including button-139).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-ux500-dts-after-powerdomains-v2-0-989e676de581@kernel.org?part=11

  reply	other threads:[~2026-12-04 15:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 14:28 [PATCH v2 00/20] Clean up Ux500 and Nomadik device trees Linus Walleij
2026-12-04 14:28 ` [PATCH v2 01/20] ARM: dts: ux500: Give memory nodes their unit address Linus Walleij
2026-12-04 14:28 ` [PATCH v2 02/20] ARM: dts: ux500: Put CPU cooling properties in a map node Linus Walleij
2026-12-04 14:28 ` [PATCH v2 03/20] ARM: dts: ux500: Correct HREF thermistor and pin group names Linus Walleij
2026-12-04 14:28 ` [PATCH v2 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes Linus Walleij
2026-12-04 14:28 ` [PATCH v2 05/20] ARM: dts: ux500: Use the standard battery chemistry property Linus Walleij
2026-12-04 14:28 ` [PATCH v2 06/20] ARM: dts: ux500: Correct STUIB magnetometer supply names Linus Walleij
2026-12-04 14:28 ` [PATCH v2 07/20] ARM: dts: ux500: Encode Sharp proximity hysteresis as bytes Linus Walleij
2026-12-04 14:28 ` [PATCH v2 08/20] ARM: dts: ux500: Give DSI panels their unit addresses Linus Walleij
2026-12-04 14:28 ` [PATCH v2 09/20] ARM: dts: ux500: Remove unused IIO channel inheritance on Janice Linus Walleij
2026-12-04 14:28 ` [PATCH v2 10/20] ARM: dts: ux500: Fix SD regulator node validation Linus Walleij
2026-12-04 14:28 ` [PATCH v2 11/20] ARM: dts: ux500: Correct GPIO key descriptions Linus Walleij
2026-12-04 15:25   ` sashiko-bot [this message]
2026-12-04 14:28 ` [PATCH v2 12/20] ARM: dts: ux500: Correct the PL011 functional clock names Linus Walleij
2026-12-04 14:28 ` [PATCH v2 13/20] ARM: dts: ux500: Correct the STMPE interrupt pin property Linus Walleij
2026-12-04 14:28 ` [PATCH v2 14/20] ARM: dts: nomadik: Correct the camera I2C unit address Linus Walleij
2026-12-04 14:28 ` [PATCH v2 15/20] ARM: dts: ste: Use valid I2C bus node names Linus Walleij
2026-12-04 15:48   ` sashiko-bot
2026-12-04 14:29 ` [PATCH v2 16/20] ARM: dts: ux500: Correct memory-mapped controller unit addresses Linus Walleij
2026-12-04 15:59   ` sashiko-bot
2026-12-04 14:29 ` [PATCH v2 17/20] ARM: dts: nomadik: Correct cache controller and clock " Linus Walleij
2026-12-04 14:29 ` [PATCH v2 18/20] ARM: dts: ux500: Move the pin controller out of the simple bus Linus Walleij
2026-12-04 16:18   ` sashiko-bot
2026-12-04 14:29 ` [PATCH v2 19/20] ARM: dts: ux500: Move addressless devices " Linus Walleij
2026-12-04 14:29 ` [PATCH v2 20/20] ARM: dts: ux500: Connect the AB8500 ULP PLL supply Linus Walleij
2026-12-04 16:52   ` sashiko-bot
2026-12-04 21:41     ` Linus Walleij

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-250090@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linusw@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.