Re: [PATCH] gpio: tegra186: Fix GPIO name collisions for Tegra410

From: Thierry Reding

Date: Fri Nov 14 2025 - 08:11:14 EST


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@xxxxxxxxxx>
> ---
> drivers/gpio/gpio-tegra186.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature