Thread (3 messages) 3 messages, 3 authors, 2021-12-03

Re: [PATCH] gpio/rockchip: lock GPIOs used as interrupts

From: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Date: 2021-12-02 16:45:59
Also in: linux-gpio, linux-rockchip, lkml

On Donnerstag, 2. Dezember 2021 16:50:21 CET John Keeping wrote:
Use the standard gpiochip request/release resource functions so that any
GPIOs used as interrupts are properly locked.  This allows libgpiod to
correctly show these GPIOs as in-use.

Signed-off-by: John Keeping <redacted>
Tested-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>

Applied this on my Quartz64 Model A (RK3566) where I currently am
having a play with some SPI devices. Now gpioinfo correctly shows
the interrupt pin as being in use.

Before:
         line   3:      unnamed       unused   input  active-high 

After:
         line   3:      unnamed  "interrupt"   input  active-high [used]

Regards,
Nicolas Frattaroli




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help