mbox series

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

Message ID 20230825095157.76073-1-balamanikandan.gunasundar@microchip.com (mailing list archive)
Headers show
Series mmc: atmel-mci: Convert to gpio descriptors | expand

Message

Balamanikandan Gunasundar Aug. 25, 2023, 9:51 a.m. UTC
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

Comments

Ulf Hansson Aug. 25, 2023, 12:09 p.m. UTC | #1
On Fri, 25 Aug 2023 at 11:53, Balamanikandan Gunasundar
<balamanikandan.gunasundar@microchip.com> wrote:
>
> 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
>

Applied for next, thanks!

Kind regards
Uffe