[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aavab3z2i5hk4wombxcz2uexpcd2djdwgxx4ihf4gisnwbr6mk@npbuiiz7aio5>
Date: Fri, 14 Nov 2025 14:11:09 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Kartik Rajput <kkartik@...dia.com>
Cc: linus.walleij@...aro.org, brgl@...ev.pl, jonathanh@...dia.com,
pshete@...dia.com, nhartman@...dia.com, linux-gpio@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: tegra186: Fix GPIO name collisions for Tegra410
On Thu, Nov 13, 2025 at 10:01:12PM +0530, Kartik Rajput wrote:
> On Tegra410, Compute and System GPIOs have same port names. This
> results in the same GPIO names for both Compute and System GPIOs
> during initialization in `tegra186_gpio_probe()`, which results in
> following warnings:
>
> kernel: gpio gpiochip1: Detected name collision for GPIO name 'PA.00'
> kernel: gpio gpiochip1: Detected name collision for GPIO name 'PA.01'
> kernel: gpio gpiochip1: Detected name collision for GPIO name 'PA.02'
> kernel: gpio gpiochip1: Detected name collision for GPIO name 'PB.00'
> kernel: gpio gpiochip1: Detected name collision for GPIO name 'PB.01'
> ...
>
> Add GPIO name prefix in the SoC data and use it to initialize the GPIO
> name.
>
> Port names remain unchanged for previous SoCs. On Tegra410, Compute
> GPIOs are named COMPUTE-P<PORT>.GPIO, and System GPIOs are named
> SYSTEM-P<PORT>.GPIO.
>
> Fixes: 9631a10083d8 ("gpio: tegra186: Add support for Tegra410")
> Signed-off-by: Kartik Rajput <kkartik@...dia.com>
> ---
> drivers/gpio/gpio-tegra186.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists