gpio: Add TODO item for regmap helper

Message ID 20191122132738.8857-1-linus.walleij@linaro.org
State Accepted
Commit 41c4616bb81ff9b2efd981453f2c5d8f57d0c0b8
Headers show
Series
  • gpio: Add TODO item for regmap helper
Related show

Commit Message

Linus Walleij Nov. 22, 2019, 1:27 p.m.
Add a TODO item for a generic MMIO regmap helper.

Suggested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/TODO | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.23.0

Comments

Bartosz Golaszewski Nov. 22, 2019, 1:40 p.m. | #1
pt., 22 lis 2019 o 14:27 Linus Walleij <linus.walleij@linaro.org> napisaƂ(a):
>

> Add a TODO item for a generic MMIO regmap helper.

>

> Suggested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  drivers/gpio/TODO | 4 ++++

>  1 file changed, 4 insertions(+)

>

> diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO

> index 9c048f10c9ad..76f8c7ff18ff 100644

> --- a/drivers/gpio/TODO

> +++ b/drivers/gpio/TODO

> @@ -80,6 +80,10 @@ Work items:

>  - Look over and identify any remaining easily converted drivers and

>    dry-code conversions to MMIO GPIO for maintainers to test

>

> +- Expand the MMIO GPIO or write a new library for regmap-based I/O

> +  helpers for GPIO drivers on regmap that simply use offsets

> +  0..n in some register to drive GPIO lines

> +

>  - Expand the MMIO GPIO or write a new library for port-mapped I/O

>    helpers (x86 inb()/outb()) and convert port-mapped I/O drivers to use

>    this with dry-coding and sending to maintainers to test

> --

> 2.23.0

>


Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Patch

diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO
index 9c048f10c9ad..76f8c7ff18ff 100644
--- a/drivers/gpio/TODO
+++ b/drivers/gpio/TODO
@@ -80,6 +80,10 @@  Work items:
 - Look over and identify any remaining easily converted drivers and
   dry-code conversions to MMIO GPIO for maintainers to test
 
+- Expand the MMIO GPIO or write a new library for regmap-based I/O
+  helpers for GPIO drivers on regmap that simply use offsets
+  0..n in some register to drive GPIO lines
+
 - Expand the MMIO GPIO or write a new library for port-mapped I/O
   helpers (x86 inb()/outb()) and convert port-mapped I/O drivers to use
   this with dry-coding and sending to maintainers to test