gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h
authorArnd Bergmann <arnd@arndb.de>
Tue, 7 Feb 2023 14:29:47 +0000 (16:29 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 10:33:01 +0000 (12:33 +0200)
commita99cc66807d6c854a7f65f962766c530c91be149
treeecd226cd915ec5fc426f00efd303abe1f575463b
parenta8e59744e16b9ae18fab773a0fd3b23cdf21ad75
gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h

This is a rarely used feature that has nothing to do with the
client-side of_gpio.h.

Split it out with a separate header file and Kconfig option
so it can be removed on its own timeline aside from removing
the of_gpio consumer interfaces.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
15 files changed:
arch/powerpc/platforms/44x/Kconfig
arch/powerpc/platforms/4xx/gpio.c
arch/powerpc/platforms/8xx/Kconfig
arch/powerpc/platforms/8xx/cpm1.c
arch/powerpc/platforms/Kconfig
arch/powerpc/sysdev/cpm_common.c
drivers/gpio/Kconfig
drivers/gpio/TODO
drivers/gpio/gpio-altera.c
drivers/gpio/gpio-mm-lantiq.c
drivers/gpio/gpio-mpc5200.c
drivers/gpio/gpiolib-of.c
drivers/soc/fsl/qe/gpio.c
include/linux/gpio/legacy-of-mm-gpiochip.h [new file with mode: 0644]
include/linux/of_gpio.h