Thread (34 messages) 34 messages, 7 authors, 2025-11-18

Re: [PATCH v2 06/10] gpio: provide gpiod_is_shared()

From: Bartosz Golaszewski <hidden>
Date: 2025-11-12 08:06:27
Also in: linux-arm-msm, linux-gpio, linux-hardening, linux-sound, lkml

On Tue, Nov 11, 2025 at 11:44 AM Linus Walleij [off-list ref] wrote:
On Wed, Oct 22, 2025 at 3:11 PM Bartosz Golaszewski [off-list ref] wrote:
quoted
From: Bartosz Golaszewski <redacted>

Provide an interface allowing consumers to check if a GPIO descriptor
represents a GPIO that can potentially be shared by multiple consumers
at the same time. This is exposed to allow subsystems that already
work around the limitations of the current non-exclusive GPIO handling
in some ways, to gradually convert to relying on the new shared GPIO
feature of GPIOLIB.

Extend the gpiolib-shared module to mark the GPIO shared proxy
descriptors with a flag checked by the new interface.

Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Linus Walleij <redacted>
I think you wanted to leave this under v3?

Bart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help