[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230823104010.79107-1-balamanikandan.gunasundar@microchip.com>
Date: Wed, 23 Aug 2023 16:10:07 +0530
From: Balamanikandan Gunasundar
<balamanikandan.gunasundar@...rochip.com>
To: <linus.walleij@...aro.org>, <dmitry.torokhov@...il.com>,
<ulf.hansson@...aro.org>, <linux-kernel@...r.kernel.org>,
<linux-mmc@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<ludovic.desroches@...rochip.com>, <nicolas.ferre@...rochip.com>,
<alexandre.belloni@...tlin.com>
CC: <hari.prasathge@...rochip.com>,
<balamanikandan.gunasundar@...rochip.com>
Subject: [PATCH v5 0/3] mmc: atmel-mci: Convert to gpio descriptors
Replace legacy gpio apis with gpio descriptors. Handle card detection gpio
polarity in gpiolib
v5:
- Rebase to latest next branch of
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
- Move handling active_high inversion logic to gpiolib instead of reading
the raw value of gpio and inverting it manually.
- Use PTR_ERR_OR_ZERO instead of IS_ERR. To avoid ignoring valid errors as
suggested by Dmitry Torokhov
- Use gpiod_get_value_cansleep() instead of gpiod_get_value()
v4:
- Rebase on top of next branch
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
v3:
- [PATCH v3 1/2] mmc: atmel-mci: Convert to gpio descriptors
Convert devm_gpiod_get_from_of_node() into devm_fwnode_gpiod_get()
v2:
- [PATCH 1/2] mmc: atmel-mci: Convert to gpio descriptors
Remove "#include <linux/gpio.h>" as it is not necessary
- [PATCH 2/2] mmc: atmel-mci: move atmel MCI header file
Move linux/atmel-mci.h into drivers/mmc/host/atmel-mci.c as it is
used only by one file
Balamanikandan Gunasundar (3):
mmc: atmel-mci: Convert to gpio descriptors
mmc: atmel-mci: move atmel MCI header file
mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolib
drivers/gpio/gpiolib-of.c | 7 ++
drivers/mmc/host/atmel-mci.c | 133 +++++++++++++++++++++--------------
include/linux/atmel-mci.h | 46 ------------
3 files changed, 89 insertions(+), 97 deletions(-)
delete mode 100644 include/linux/atmel-mci.h
--
2.25.1
Powered by blists - more mailing lists