linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] gpio: Add Generic regmap GPIO conversion to the TODO list
@ 2022-11-03 20:28 Andy Shevchenko
  2022-11-07  8:42 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-11-03 20:28 UTC (permalink / raw)
  To: Andy Shevchenko, Marc Zyngier, linux-gpio, linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski

It's actually preferable to use Generic regmap GPIO over other
simple approaches. Add a TODO item for that.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/TODO | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO
index f87ff3fa8a53..76560744587a 100644
--- a/drivers/gpio/TODO
+++ b/drivers/gpio/TODO
@@ -124,6 +124,13 @@ Work items:
   this with dry-coding and sending to maintainers to test
 
 
+Generic regmap GPIO
+
+In the very similar way to Generic MMIO GPIO convert the users which can
+take advantage of using regmap over direct IO accessors. Note, even in
+MMIO case the regmap MMIO with gpio-regmap.c is preferable over gpio-mmio.c.
+
+
 GPIOLIB irqchip
 
 The GPIOLIB irqchip is a helper irqchip for "simple cases" that should
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 1/1] gpio: Add Generic regmap GPIO conversion to the TODO list
  2022-11-03 20:28 [PATCH v1 1/1] gpio: Add Generic regmap GPIO conversion to the TODO list Andy Shevchenko
@ 2022-11-07  8:42 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2022-11-07  8:42 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Marc Zyngier, linux-gpio, linux-kernel, Linus Walleij

On Thu, Nov 3, 2022 at 9:28 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> It's actually preferable to use Generic regmap GPIO over other
> simple approaches. Add a TODO item for that.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/gpio/TODO | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO
> index f87ff3fa8a53..76560744587a 100644
> --- a/drivers/gpio/TODO
> +++ b/drivers/gpio/TODO
> @@ -124,6 +124,13 @@ Work items:
>    this with dry-coding and sending to maintainers to test
>
>
> +Generic regmap GPIO
> +
> +In the very similar way to Generic MMIO GPIO convert the users which can
> +take advantage of using regmap over direct IO accessors. Note, even in
> +MMIO case the regmap MMIO with gpio-regmap.c is preferable over gpio-mmio.c.
> +
> +
>  GPIOLIB irqchip
>
>  The GPIOLIB irqchip is a helper irqchip for "simple cases" that should
> --
> 2.35.1
>

Makes sense, applied.

Bartosz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-07  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 20:28 [PATCH v1 1/1] gpio: Add Generic regmap GPIO conversion to the TODO list Andy Shevchenko
2022-11-07  8:42 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).