[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220427144620.9105-1-pmalgujar@marvell.com>
Date: Wed, 27 Apr 2022 07:46:15 -0700
From: Piyush Malgujar <pmalgujar@...vell.com>
To: <linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
CC: <linus.walleij@...aro.org>, <brgl@...ev.pl>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <rric@...nel.org>,
<cchavva@...vell.com>, <wsadowski@...vell.com>,
Piyush Malgujar <pmalgujar@...vell.com>
Subject: [PATCH 0/5] gpio: thunderx: Marvell GPIO changes.
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
Powered by blists - more mailing lists