[PATCH v6 0/3] mmc: atmel-mci: Convert to gpio descriptors

From: Balamanikandan Gunasundar
Date: Fri Aug 25 2023 - 05:54:12 EST


v6:
- 0001-mmc-atmel-mci-Convert-to-gpio-descriptors.patch
Remove code duplication while checking if the device is compatible with
atmel,hsmci
- Add Suggested-by tag

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 | 20 +++++-
drivers/mmc/host/atmel-mci.c | 133 +++++++++++++++++++++--------------
include/linux/atmel-mci.h | 46 ------------
3 files changed, 100 insertions(+), 99 deletions(-)
delete mode 100644 include/linux/atmel-mci.h

--
2.25.1