* [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices
2026-02-17 8:14 [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Prathamesh Shete
@ 2026-02-17 8:14 ` Prathamesh Shete
2026-02-17 9:34 ` Jon Hunter
2026-02-17 10:06 ` Thierry Reding
2026-02-17 9:34 ` [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Jon Hunter
` (3 subsequent siblings)
4 siblings, 2 replies; 10+ messages in thread
From: Prathamesh Shete @ 2026-02-17 8:14 UTC (permalink / raw)
To: linusw, brgl, thierry.reding, jonathanh, linux-gpio, linux-tegra,
linux-kernel
Cc: pshete
On Tegra platforms, multiple SoC instances may be present with each
defining the same GPIO name. For such devices, this results in
duplicate GPIO names.
When the device has a valid NUMA node, prepend the NUMA node ID
to the GPIO name prefix. The node ID identifies each socket,
ensuring GPIO line names remain distinct across multiple sockets.
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
---
Changes in v2:
* Split the v1 patch into two; this one to support multi-socket devices.
---
drivers/gpio/gpio-tegra186.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index f04cc240b5ec..fb26402b6c47 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -857,7 +857,7 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
struct device_node *np;
struct resource *res;
char **names;
- int err;
+ int node, err;
gpio = devm_kzalloc(&pdev->dev, sizeof(*gpio), GFP_KERNEL);
if (!gpio)
@@ -937,13 +937,23 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
if (!names)
return -ENOMEM;
+ node = dev_to_node(&pdev->dev);
+
for (i = 0, offset = 0; i < gpio->soc->num_ports; i++) {
const struct tegra_gpio_port *port = &gpio->soc->ports[i];
char *name;
for (j = 0; j < port->pins; j++) {
- name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%sP%s.%02x",
- gpio->soc->prefix ?: "", port->name, j);
+ if (node >= 0)
+ name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL,
+ "%d-%sP%s.%02x", node,
+ gpio->soc->prefix ?: "",
+ port->name, j);
+ else
+ name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL,
+ "%sP%s.%02x",
+ gpio->soc->prefix ?: "",
+ port->name, j);
if (!name)
return -ENOMEM;
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices
2026-02-17 8:14 ` [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices Prathamesh Shete
@ 2026-02-17 9:34 ` Jon Hunter
2026-02-17 10:06 ` Thierry Reding
1 sibling, 0 replies; 10+ messages in thread
From: Jon Hunter @ 2026-02-17 9:34 UTC (permalink / raw)
To: Prathamesh Shete, linusw, brgl, thierry.reding, linux-gpio,
linux-tegra, linux-kernel
On 17/02/2026 08:14, Prathamesh Shete wrote:
> On Tegra platforms, multiple SoC instances may be present with each
> defining the same GPIO name. For such devices, this results in
> duplicate GPIO names.
>
> When the device has a valid NUMA node, prepend the NUMA node ID
> to the GPIO name prefix. The node ID identifies each socket,
> ensuring GPIO line names remain distinct across multiple sockets.
>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
> Changes in v2:
> * Split the v1 patch into two; this one to support multi-socket devices.
> ---
> drivers/gpio/gpio-tegra186.c | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
> index f04cc240b5ec..fb26402b6c47 100644
> --- a/drivers/gpio/gpio-tegra186.c
> +++ b/drivers/gpio/gpio-tegra186.c
> @@ -857,7 +857,7 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
> struct device_node *np;
> struct resource *res;
> char **names;
> - int err;
> + int node, err;
>
> gpio = devm_kzalloc(&pdev->dev, sizeof(*gpio), GFP_KERNEL);
> if (!gpio)
> @@ -937,13 +937,23 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
> if (!names)
> return -ENOMEM;
>
> + node = dev_to_node(&pdev->dev);
> +
> for (i = 0, offset = 0; i < gpio->soc->num_ports; i++) {
> const struct tegra_gpio_port *port = &gpio->soc->ports[i];
> char *name;
>
> for (j = 0; j < port->pins; j++) {
> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%sP%s.%02x",
> - gpio->soc->prefix ?: "", port->name, j);
> + if (node >= 0)
> + name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL,
> + "%d-%sP%s.%02x", node,
> + gpio->soc->prefix ?: "",
> + port->name, j);
> + else
> + name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL,
> + "%sP%s.%02x",
> + gpio->soc->prefix ?: "",
> + port->name, j);
> if (!name)
> return -ENOMEM;
>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Thanks!
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices
2026-02-17 8:14 ` [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices Prathamesh Shete
2026-02-17 9:34 ` Jon Hunter
@ 2026-02-17 10:06 ` Thierry Reding
1 sibling, 0 replies; 10+ messages in thread
From: Thierry Reding @ 2026-02-17 10:06 UTC (permalink / raw)
To: Prathamesh Shete
Cc: linusw, brgl, thierry.reding, jonathanh, linux-gpio, linux-tegra,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
On Tue, Feb 17, 2026 at 08:14:31AM +0000, Prathamesh Shete wrote:
> On Tegra platforms, multiple SoC instances may be present with each
> defining the same GPIO name. For such devices, this results in
> duplicate GPIO names.
>
> When the device has a valid NUMA node, prepend the NUMA node ID
> to the GPIO name prefix. The node ID identifies each socket,
> ensuring GPIO line names remain distinct across multiple sockets.
>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
> Changes in v2:
> * Split the v1 patch into two; this one to support multi-socket devices.
> ---
> drivers/gpio/gpio-tegra186.c | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 8:14 [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Prathamesh Shete
2026-02-17 8:14 ` [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices Prathamesh Shete
@ 2026-02-17 9:34 ` Jon Hunter
2026-02-17 10:04 ` Thierry Reding
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Jon Hunter @ 2026-02-17 9:34 UTC (permalink / raw)
To: Prathamesh Shete, linusw, brgl, thierry.reding, linux-gpio,
linux-tegra, linux-kernel
On 17/02/2026 08:14, Prathamesh Shete wrote:
> Introduce TEGRA_GPIO_PREFIX() to define the Tegra SoC GPIO name
> prefix in one place. Use it for the Tegra410 COMPUTE and SYSTEM
> controllers so the prefix is "COMPUTE-" and "SYSTEM-" respectively.
>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
> Changes in v2:
> * Split the v1 patch into two; this one to simplify prefix handling.
> ---
> drivers/gpio/gpio-tegra186.c | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
> index 9c874f07be75..f04cc240b5ec 100644
> --- a/drivers/gpio/gpio-tegra186.c
> +++ b/drivers/gpio/gpio-tegra186.c
> @@ -942,12 +942,8 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
> char *name;
>
> for (j = 0; j < port->pins; j++) {
> - if (gpio->soc->prefix)
> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%s-P%s.%02x",
> - gpio->soc->prefix, port->name, j);
> - else
> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "P%s.%02x",
> - port->name, j);
> + name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%sP%s.%02x",
> + gpio->soc->prefix ?: "", port->name, j);
> if (!name)
> return -ENOMEM;
>
> @@ -1373,6 +1369,9 @@ static const struct tegra_gpio_soc tegra256_main_soc = {
> .has_vm_support = true,
> };
>
> +/* Macro to define GPIO name prefix with separator */
> +#define TEGRA_GPIO_PREFIX(_x) _x "-"
> +
> #define TEGRA410_COMPUTE_GPIO_PORT(_name, _bank, _port, _pins) \
> TEGRA_GPIO_PORT(TEGRA410_COMPUTE, _name, _bank, _port, _pins)
>
> @@ -1388,7 +1387,7 @@ static const struct tegra_gpio_soc tegra410_compute_soc = {
> .num_ports = ARRAY_SIZE(tegra410_compute_ports),
> .ports = tegra410_compute_ports,
> .name = "tegra410-gpio-compute",
> - .prefix = "COMPUTE",
> + .prefix = TEGRA_GPIO_PREFIX("COMPUTE"),
> .num_irqs_per_bank = 8,
> .instance = 0,
> };
> @@ -1418,7 +1417,7 @@ static const struct tegra_gpio_soc tegra410_system_soc = {
> .num_ports = ARRAY_SIZE(tegra410_system_ports),
> .ports = tegra410_system_ports,
> .name = "tegra410-gpio-system",
> - .prefix = "SYSTEM",
> + .prefix = TEGRA_GPIO_PREFIX("SYSTEM"),
> .num_irqs_per_bank = 8,
> .instance = 0,
> };
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Thanks!
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 8:14 [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Prathamesh Shete
2026-02-17 8:14 ` [PATCH v2 2/2] gpio: tegra186: Support multi-socket devices Prathamesh Shete
2026-02-17 9:34 ` [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Jon Hunter
@ 2026-02-17 10:04 ` Thierry Reding
2026-02-17 12:17 ` Bartosz Golaszewski
2026-02-23 9:57 ` Bartosz Golaszewski
4 siblings, 0 replies; 10+ messages in thread
From: Thierry Reding @ 2026-02-17 10:04 UTC (permalink / raw)
To: Prathamesh Shete
Cc: linusw, brgl, thierry.reding, jonathanh, linux-gpio, linux-tegra,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
On Tue, Feb 17, 2026 at 08:14:30AM +0000, Prathamesh Shete wrote:
> Introduce TEGRA_GPIO_PREFIX() to define the Tegra SoC GPIO name
> prefix in one place. Use it for the Tegra410 COMPUTE and SYSTEM
> controllers so the prefix is "COMPUTE-" and "SYSTEM-" respectively.
>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
> Changes in v2:
> * Split the v1 patch into two; this one to simplify prefix handling.
> ---
> drivers/gpio/gpio-tegra186.c | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 8:14 [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Prathamesh Shete
` (2 preceding siblings ...)
2026-02-17 10:04 ` Thierry Reding
@ 2026-02-17 12:17 ` Bartosz Golaszewski
2026-02-17 13:29 ` Jon Hunter
2026-02-23 9:57 ` Bartosz Golaszewski
4 siblings, 1 reply; 10+ messages in thread
From: Bartosz Golaszewski @ 2026-02-17 12:17 UTC (permalink / raw)
To: Prathamesh Shete
Cc: linusw, brgl, thierry.reding, jonathanh, linux-gpio, linux-tegra,
linux-kernel
On Tue, 17 Feb 2026 09:14:30 +0100, Prathamesh Shete <pshete@nvidia.com> said:
> Introduce TEGRA_GPIO_PREFIX() to define the Tegra SoC GPIO name
> prefix in one place. Use it for the Tegra410 COMPUTE and SYSTEM
> controllers so the prefix is "COMPUTE-" and "SYSTEM-" respectively.
>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
> Changes in v2:
> * Split the v1 patch into two; this one to simplify prefix handling.
> ---
> drivers/gpio/gpio-tegra186.c | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
> index 9c874f07be75..f04cc240b5ec 100644
> --- a/drivers/gpio/gpio-tegra186.c
> +++ b/drivers/gpio/gpio-tegra186.c
> @@ -942,12 +942,8 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
> char *name;
>
> for (j = 0; j < port->pins; j++) {
> - if (gpio->soc->prefix)
> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%s-P%s.%02x",
> - gpio->soc->prefix, port->name, j);
> - else
> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "P%s.%02x",
> - port->name, j);
> + name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%sP%s.%02x",
> + gpio->soc->prefix ?: "", port->name, j);
> if (!name)
> return -ENOMEM;
>
> @@ -1373,6 +1369,9 @@ static const struct tegra_gpio_soc tegra256_main_soc = {
> .has_vm_support = true,
> };
>
> +/* Macro to define GPIO name prefix with separator */
> +#define TEGRA_GPIO_PREFIX(_x) _x "-"
> +
> #define TEGRA410_COMPUTE_GPIO_PORT(_name, _bank, _port, _pins) \
> TEGRA_GPIO_PORT(TEGRA410_COMPUTE, _name, _bank, _port, _pins)
>
> @@ -1388,7 +1387,7 @@ static const struct tegra_gpio_soc tegra410_compute_soc = {
> .num_ports = ARRAY_SIZE(tegra410_compute_ports),
> .ports = tegra410_compute_ports,
> .name = "tegra410-gpio-compute",
> - .prefix = "COMPUTE",
> + .prefix = TEGRA_GPIO_PREFIX("COMPUTE"),
> .num_irqs_per_bank = 8,
> .instance = 0,
> };
> @@ -1418,7 +1417,7 @@ static const struct tegra_gpio_soc tegra410_system_soc = {
> .num_ports = ARRAY_SIZE(tegra410_system_ports),
> .ports = tegra410_system_ports,
> .name = "tegra410-gpio-system",
> - .prefix = "SYSTEM",
> + .prefix = TEGRA_GPIO_PREFIX("SYSTEM"),
> .num_irqs_per_bank = 8,
> .instance = 0,
> };
> --
> 2.43.0
>
>
I'm perfectly fine with patch 2/2 but this one is giving me a hard time. What
are we really gaining other than some questionable obfuscation? Keeping the
dash in the format string makes more sense to me and if we ever reuse the
prefix, we'll need to remember about it trimming it. I would drop this patch
and keep just 2/2.
Bartosz
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 12:17 ` Bartosz Golaszewski
@ 2026-02-17 13:29 ` Jon Hunter
2026-02-17 14:06 ` Bartosz Golaszewski
0 siblings, 1 reply; 10+ messages in thread
From: Jon Hunter @ 2026-02-17 13:29 UTC (permalink / raw)
To: Bartosz Golaszewski, Prathamesh Shete
Cc: linusw, thierry.reding, linux-gpio, linux-tegra, linux-kernel
On 17/02/2026 12:17, Bartosz Golaszewski wrote:
> On Tue, 17 Feb 2026 09:14:30 +0100, Prathamesh Shete <pshete@nvidia.com> said:
>> Introduce TEGRA_GPIO_PREFIX() to define the Tegra SoC GPIO name
>> prefix in one place. Use it for the Tegra410 COMPUTE and SYSTEM
>> controllers so the prefix is "COMPUTE-" and "SYSTEM-" respectively.
>>
>> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
>> ---
>> Changes in v2:
>> * Split the v1 patch into two; this one to simplify prefix handling.
>> ---
>> drivers/gpio/gpio-tegra186.c | 15 +++++++--------
>> 1 file changed, 7 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
>> index 9c874f07be75..f04cc240b5ec 100644
>> --- a/drivers/gpio/gpio-tegra186.c
>> +++ b/drivers/gpio/gpio-tegra186.c
>> @@ -942,12 +942,8 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
>> char *name;
>>
>> for (j = 0; j < port->pins; j++) {
>> - if (gpio->soc->prefix)
>> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%s-P%s.%02x",
>> - gpio->soc->prefix, port->name, j);
>> - else
>> - name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "P%s.%02x",
>> - port->name, j);
>> + name = devm_kasprintf(gpio->gpio.parent, GFP_KERNEL, "%sP%s.%02x",
>> + gpio->soc->prefix ?: "", port->name, j);
>> if (!name)
>> return -ENOMEM;
>>
>> @@ -1373,6 +1369,9 @@ static const struct tegra_gpio_soc tegra256_main_soc = {
>> .has_vm_support = true,
>> };
>>
>> +/* Macro to define GPIO name prefix with separator */
>> +#define TEGRA_GPIO_PREFIX(_x) _x "-"
>> +
>> #define TEGRA410_COMPUTE_GPIO_PORT(_name, _bank, _port, _pins) \
>> TEGRA_GPIO_PORT(TEGRA410_COMPUTE, _name, _bank, _port, _pins)
>>
>> @@ -1388,7 +1387,7 @@ static const struct tegra_gpio_soc tegra410_compute_soc = {
>> .num_ports = ARRAY_SIZE(tegra410_compute_ports),
>> .ports = tegra410_compute_ports,
>> .name = "tegra410-gpio-compute",
>> - .prefix = "COMPUTE",
>> + .prefix = TEGRA_GPIO_PREFIX("COMPUTE"),
>> .num_irqs_per_bank = 8,
>> .instance = 0,
>> };
>> @@ -1418,7 +1417,7 @@ static const struct tegra_gpio_soc tegra410_system_soc = {
>> .num_ports = ARRAY_SIZE(tegra410_system_ports),
>> .ports = tegra410_system_ports,
>> .name = "tegra410-gpio-system",
>> - .prefix = "SYSTEM",
>> + .prefix = TEGRA_GPIO_PREFIX("SYSTEM"),
>> .num_irqs_per_bank = 8,
>> .instance = 0,
>> };
>> --
>> 2.43.0
>>
>>
>
> I'm perfectly fine with patch 2/2 but this one is giving me a hard time. What
> are we really gaining other than some questionable obfuscation? Keeping the
> dash in the format string makes more sense to me and if we ever reuse the
> prefix, we'll need to remember about it trimming it. I would drop this patch
> and keep just 2/2.
What we are gaining is by adding the '-' to the prefix directly in the
tegra_gpio_soc structure, is that we no longer need the if-else clause
in the code to add the dash if the prefix is valid. And this allows us
to use the ternary operator instead.
If we drop this patch, then after patch 2/2, we will end up with nested
if-else clauses to handle the prefix and multi-socket cases.
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 13:29 ` Jon Hunter
@ 2026-02-17 14:06 ` Bartosz Golaszewski
0 siblings, 0 replies; 10+ messages in thread
From: Bartosz Golaszewski @ 2026-02-17 14:06 UTC (permalink / raw)
To: Jon Hunter
Cc: Prathamesh Shete, linusw, thierry.reding, linux-gpio, linux-tegra,
linux-kernel
On Tue, Feb 17, 2026 at 2:29 PM Jon Hunter <jonathanh@nvidia.com> wrote:
>
> >
> > I'm perfectly fine with patch 2/2 but this one is giving me a hard time. What
> > are we really gaining other than some questionable obfuscation? Keeping the
> > dash in the format string makes more sense to me and if we ever reuse the
> > prefix, we'll need to remember about it trimming it. I would drop this patch
> > and keep just 2/2.
>
> What we are gaining is by adding the '-' to the prefix directly in the
> tegra_gpio_soc structure, is that we no longer need the if-else clause
> in the code to add the dash if the prefix is valid. And this allows us
> to use the ternary operator instead.
>
> If we drop this patch, then after patch 2/2, we will end up with nested
> if-else clauses to handle the prefix and multi-socket cases.
>
I see. Ok, will pick this up after v7.0-rc1.
Bart
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling
2026-02-17 8:14 [PATCH v2 1/2] gpio: tegra186: Simplify GPIO line name prefix handling Prathamesh Shete
` (3 preceding siblings ...)
2026-02-17 12:17 ` Bartosz Golaszewski
@ 2026-02-23 9:57 ` Bartosz Golaszewski
4 siblings, 0 replies; 10+ messages in thread
From: Bartosz Golaszewski @ 2026-02-23 9:57 UTC (permalink / raw)
To: linusw, brgl, thierry.reding, jonathanh, linux-gpio, linux-tegra,
linux-kernel, Prathamesh Shete
Cc: Bartosz Golaszewski
On Tue, 17 Feb 2026 08:14:30 +0000, Prathamesh Shete wrote:
> Introduce TEGRA_GPIO_PREFIX() to define the Tegra SoC GPIO name
> prefix in one place. Use it for the Tegra410 COMPUTE and SYSTEM
> controllers so the prefix is "COMPUTE-" and "SYSTEM-" respectively.
>
>
Applied, thanks!
[1/2] gpio: tegra186: Simplify GPIO line name prefix handling
https://git.kernel.org/brgl/c/2423e336d94868f0d2fcd81a87b90c5ea59736e0
[2/2] gpio: tegra186: Support multi-socket devices
https://git.kernel.org/brgl/c/2c299030c6813eaa9ef95773c64d65c50fa706ac
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 10+ messages in thread