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