Skip to content

Commit e72394e

Browse files
pcercueiLinus Walleij
authored andcommitted
pinctrl: ingenic: Merge GPIO functionality
Merge the code of the gpio-ingenic driver into the pinctrl-ingenic driver. The reason behind this, is that the same hardware block handles both pin config / muxing and GPIO. ingenic_gpio_probe() have been marked as __init, but for the most part, the code is the exact same as what it was in the gpio-ingenic driver. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 4717b11 commit e72394e

2 files changed

Lines changed: 331 additions & 8 deletions

File tree

‎drivers/pinctrl/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ config PINCTRL_INGENIC
315315
select GENERIC_PINCONF
316316
select GENERIC_PINCTRL_GROUPS
317317
select GENERIC_PINMUX_FUNCTIONS
318+
select GPIOLIB
319+
select GPIOLIB_IRQCHIP
318320
select REGMAP_MMIO
319321

320322
config PINCTRL_RK805

0 commit comments

Comments
 (0)