diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2017-05-27 12:23:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 18:33:56 +0200 |
commit | 5d8d349618a9464714c07414c5888bfd9416638f (patch) | |
tree | 95b3dd93e1fc7c7de92d2cda56fce4f1b694d969 /drivers/pinctrl/sunxi/Kconfig | |
parent | pinctrl: sunxi: Add SoC ID definitions for A10, A20 and R40 SoCs (diff) | |
download | linux-5d8d349618a9464714c07414c5888bfd9416638f.tar.xz linux-5d8d349618a9464714c07414c5888bfd9416638f.zip |
pinctrl: sunxi: add A20 support to A10 driver
As A20 is designed as a pin-compatible upgrade of A10, their pin
controller are very similar, and can share one driver.
Add A20 support to the A10 driver.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Kconfig')
-rw-r--r-- | drivers/pinctrl/sunxi/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig index 793e6f94fa0b..8224932e77a6 100644 --- a/drivers/pinctrl/sunxi/Kconfig +++ b/drivers/pinctrl/sunxi/Kconfig @@ -7,7 +7,7 @@ config PINCTRL_SUNXI select GPIOLIB config PINCTRL_SUN4I_A10 - def_bool MACH_SUN4I + def_bool MACH_SUN4I || MACH_SUN7I select PINCTRL_SUNXI config PINCTRL_SUN5I @@ -24,7 +24,7 @@ config PINCTRL_SUN6I_A31_R select PINCTRL_SUNXI config PINCTRL_SUN7I_A20 - def_bool MACH_SUN7I + bool select PINCTRL_SUNXI config PINCTRL_SUN8I_A23 |