11This is a place for planning the ongoing long-term work in the GPIO
22subsystem.
33
4+ ===============================================================================
45
56GPIO descriptors
67
@@ -48,6 +49,7 @@ Work items:
4849 numberspace accessors from <linux/gpio.h> and eventually delete
4950 <linux/gpio.h> altogether.
5051
52+ -------------------------------------------------------------------------------
5153
5254Get rid of <linux/of_gpio.h>
5355
@@ -75,6 +77,7 @@ Work items:
7577- Delete <linux/of_gpio.h> when all the above is complete and everything
7678 uses <linux/gpio/consumer.h> or <linux/gpio/driver.h> instead.
7779
80+ -------------------------------------------------------------------------------
7881
7982Get rid of <linux/gpio/legacy-of-mm-gpiochip.h>
8083
@@ -85,6 +88,7 @@ Work items:
8588 to_of_mm_gpio_chip(), of_mm_gpiochip_add_data(), of_mm_gpiochip_remove(),
8689 CONFIG_OF_GPIO_MM_GPIOCHIP from the kernel.
8790
91+ -------------------------------------------------------------------------------
8892
8993Collect drivers
9094
@@ -99,6 +103,7 @@ At the same time it makes sense to get rid of code duplication in existing or
99103new coming drivers. For example, gpio-ml-ioh should be incorporated into
100104gpio-pch.
101105
106+ -------------------------------------------------------------------------------
102107
103108Generic MMIO GPIO
104109
@@ -119,13 +124,15 @@ Work items:
119124 helpers (x86 inb()/outb()) and convert port-mapped I/O drivers to use
120125 this with dry-coding and sending to maintainers to test
121126
127+ -------------------------------------------------------------------------------
122128
123129Generic regmap GPIO
124130
125131In the very similar way to Generic MMIO GPIO convert the users which can
126132take advantage of using regmap over direct IO accessors. Note, even in
127133MMIO case the regmap MMIO with gpio-regmap.c is preferable over gpio-mmio.c.
128134
135+ -------------------------------------------------------------------------------
129136
130137GPIOLIB irqchip
131138
@@ -135,6 +142,7 @@ try to cover any generic kind of irqchip cascaded from a GPIO.
135142- Look over and identify any remaining easily converted drivers and
136143 dry-code conversions to gpiolib irqchip for maintainers to test
137144
145+ -------------------------------------------------------------------------------
138146
139147Moving over to immutable irq_chip structures
140148
0 commit comments