2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-04-19 00:53:02 +08:00
|
|
|
if ARCH_SUNXI
|
|
|
|
|
2016-01-23 23:32:09 +08:00
|
|
|
config PINCTRL_SUNXI
|
2014-05-22 22:47:12 +08:00
|
|
|
bool
|
2014-04-19 00:53:02 +08:00
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
2017-03-01 03:08:15 +08:00
|
|
|
select GPIOLIB
|
2014-04-19 00:53:02 +08:00
|
|
|
|
2018-11-25 15:43:14 +08:00
|
|
|
config PINCTRL_SUNIV_F1C100S
|
|
|
|
def_bool MACH_SUNIV
|
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-04-26 23:06:57 +08:00
|
|
|
config PINCTRL_SUN4I_A10
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A10, A20 and R40 PIO"
|
|
|
|
default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-04-26 23:06:57 +08:00
|
|
|
|
2017-01-09 05:31:16 +08:00
|
|
|
config PINCTRL_SUN5I
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO"
|
|
|
|
default MACH_SUN5I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-04-26 23:06:57 +08:00
|
|
|
|
|
|
|
config PINCTRL_SUN6I_A31
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A31 PIO"
|
|
|
|
default MACH_SUN6I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-04-26 23:06:57 +08:00
|
|
|
|
|
|
|
config PINCTRL_SUN6I_A31_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A31 R-PIO"
|
|
|
|
default MACH_SUN6I
|
2014-05-24 02:50:43 +08:00
|
|
|
depends on RESET_CONTROLLER
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-04-26 23:06:57 +08:00
|
|
|
|
2014-06-17 22:52:51 +08:00
|
|
|
config PINCTRL_SUN8I_A23
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A23 PIO"
|
|
|
|
default MACH_SUN8I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-06-17 22:52:51 +08:00
|
|
|
|
2015-06-02 17:08:40 +08:00
|
|
|
config PINCTRL_SUN8I_A33
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A33 PIO"
|
|
|
|
default MACH_SUN8I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2015-06-02 17:08:40 +08:00
|
|
|
|
2015-09-22 23:38:55 +08:00
|
|
|
config PINCTRL_SUN8I_A83T
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A83T PIO"
|
|
|
|
default MACH_SUN8I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2015-09-22 23:38:55 +08:00
|
|
|
|
2017-06-03 22:44:26 +08:00
|
|
|
config PINCTRL_SUN8I_A83T_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A83T R-PIO"
|
|
|
|
default MACH_SUN8I
|
2017-06-03 22:44:26 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-06-17 22:52:52 +08:00
|
|
|
config PINCTRL_SUN8I_A23_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A23 and A33 R-PIO"
|
|
|
|
default MACH_SUN8I
|
2014-06-17 22:52:52 +08:00
|
|
|
depends on RESET_CONTROLLER
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-06-17 22:52:52 +08:00
|
|
|
|
2015-12-05 05:24:41 +08:00
|
|
|
config PINCTRL_SUN8I_H3
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner H3 PIO"
|
|
|
|
default MACH_SUN8I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2015-12-05 05:24:41 +08:00
|
|
|
|
2016-02-03 05:21:51 +08:00
|
|
|
config PINCTRL_SUN8I_H3_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner H3 and H5 R-PIO"
|
|
|
|
default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
|
2017-03-02 02:01:07 +08:00
|
|
|
select PINCTRL_SUNXI
|
2016-02-03 05:21:51 +08:00
|
|
|
|
2017-01-03 23:16:27 +08:00
|
|
|
config PINCTRL_SUN8I_V3S
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner V3s PIO"
|
|
|
|
default MACH_SUN8I
|
2017-01-03 23:16:27 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-10-29 05:41:27 +08:00
|
|
|
config PINCTRL_SUN9I_A80
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A80 PIO"
|
|
|
|
default MACH_SUN9I
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2014-10-29 05:41:27 +08:00
|
|
|
|
2015-12-17 00:39:42 +08:00
|
|
|
config PINCTRL_SUN9I_A80_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A80 R-PIO"
|
|
|
|
default MACH_SUN9I
|
2015-12-17 00:39:42 +08:00
|
|
|
depends on RESET_CONTROLLER
|
2016-01-23 23:32:09 +08:00
|
|
|
select PINCTRL_SUNXI
|
2015-12-17 00:39:42 +08:00
|
|
|
|
2016-03-08 17:37:59 +08:00
|
|
|
config PINCTRL_SUN50I_A64
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A64 PIO"
|
|
|
|
default ARM64 && ARCH_SUNXI
|
2016-03-08 17:37:59 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2017-03-02 02:09:30 +08:00
|
|
|
config PINCTRL_SUN50I_A64_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner A64 R-PIO"
|
|
|
|
default ARM64 && ARCH_SUNXI
|
2017-03-02 02:09:30 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2017-01-26 23:48:51 +08:00
|
|
|
config PINCTRL_SUN50I_H5
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner H5 PIO"
|
|
|
|
default ARM64 && ARCH_SUNXI
|
2017-01-26 23:48:51 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2018-03-16 22:02:10 +08:00
|
|
|
config PINCTRL_SUN50I_H6
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner H6 PIO"
|
|
|
|
default ARM64 && ARCH_SUNXI
|
2018-03-16 22:02:10 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2018-05-04 02:38:43 +08:00
|
|
|
config PINCTRL_SUN50I_H6_R
|
2019-03-19 22:42:03 +08:00
|
|
|
bool "Support for the Allwinner H6 R-PIO"
|
|
|
|
default ARM64 && ARCH_SUNXI
|
2018-05-04 02:38:43 +08:00
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-04-19 00:53:02 +08:00
|
|
|
endif
|