Re: [PATCH v4 2/2] gpio: add gpio-line-mux driver
From: Peter Rosin
Date: Wed Nov 05 2025 - 09:19:24 EST
Hi!
2025-11-05 at 14:24, Bartosz Golaszewski wrote:
> On Wed, Nov 5, 2025 at 2:23 PM Jonas Jelonek <jelonek.jonas@xxxxxxxxx> wrote:
>>
>> Hi Bartosz,
>>
>> On 05.11.25 14:15, Bartosz Golaszewski wrote:
>>> Hi Jonas!
>>>
>>> This looks good, I'm ready to queue it but I'm afraid the consumer
>>> label "shared" will logically conflict with the work I'm doing on the
>>> shared GPIO support[1] as the shared GPIOs will appear as proxy
>>> devices containing the name "shared". Do you see any problem with
>>> changing the label to "gpio-mux"? I can even change it myself when
>>> applying.
>>
>> Another name is fine for me if it conflicts with your work, as long as the name is obvious
>> enough. Not sure about "gpio-mux" though. Maybe "muxed-gpio"?. Just let me know
>> what you think and if I should adjust it or you do.
>
> Yes, "muxed-gpio" is good. I can change it myself when applying.
>
> Bartosz
Isn't that the name in the device tree?
Is
muxed-gpio-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
really satisfactory? Can you really make that change as you apply
w/o a re-review of the binding?
Or, are we talking about
glm->shared_gpio = devm_gpiod_get(dev, "muxed", GPIOD_ASIS);
and
muxed-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
?
Cheers,
Peter