lkml.org 
[lkml]   [2022]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] gpio: thunderx: Marvell GPIO changes.
Date
This patch includes the following changes:

- Using irqsave/irqrestore spinlock variants to avoid any potential
deadlock in case of GPIO as IRQ
- Introducing a new device tree option 'pin-cfg' which can be used to setup
mode of one or several GPIO pins. It can be used to choose pin's
function, filtes, polarity and direction.
- Extending PIN_SEL_MASK to cover for otx2 platform
- In case of level irq, the current handle is not unmasking the GPIO
interrupt, so using handle_level_irq, which will allow next interrupt
to be handled.

All the changes have been internally verified on Marvell otx2 platforms.

Piyush Malgujar (5):
gpio: thunderx: avoid potential deadlock
dt-bindings: gpio: gpio-thunderx: Describe pin-cfg option
gpio: thunderx: Configure GPIO pins at probe
gpio: thunderx: extend PIN_SEL_MASK to cover otx2 platform
gpio: thunderx: change handler for level interrupt

.../bindings/gpio/gpio-thunderx.txt | 4 ++
drivers/gpio/gpio-thunderx.c | 53 +++++++++++++++----
2 files changed, 47 insertions(+), 10 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2022-04-27 16:49    [W:0.138 / U:2.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site