mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
gpio: TODO: add a task for removing MMIO-specific fields from gpio_chip
Currently for CONFIG_GPIO_GENERIC=y each struct gpio_chip object contains the fields relevant only for gpio-mmio users. It's not an insignificant number either as it's several pointers and integers. It makes sense to remove these fields from struct gpio_chip into a dedicated structure but this is not trivial due to how the bgpio_init() function is implemented. Add a task for tracking this rework. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250527111353.71540-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
114ab5afdf
commit
97a7ea2b8f
1 changed files with 5 additions and 0 deletions
|
@ -131,6 +131,11 @@ Work items:
|
|||
helpers (x86 inb()/outb()) and convert port-mapped I/O drivers to use
|
||||
this with dry-coding and sending to maintainers to test
|
||||
|
||||
- Move the MMIO GPIO specific fields out of struct gpio_chip into a
|
||||
dedicated structure. Currently every GPIO chip has them if gpio-mmio is
|
||||
enabled in Kconfig even if it itself doesn't register with the helper
|
||||
library.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Generic regmap GPIO
|
||||
|
|
Loading…
Add table
Reference in a new issue