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
|
|
|
|
2014-04-26 23:06:57 +08:00
|
|
|
config PINCTRL_SUN4I_A10
|
2017-07-22 10:50:54 +08:00
|
|
|
def_bool 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
|
2014-06-29 21:58:19 +08:00
|
|
|
def_bool 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
|
2014-06-29 21:58:19 +08:00
|
|
|
def_bool 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
|
2014-06-29 21:58:19 +08:00
|
|
|
def_bool 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
|
|
|
|
def_bool 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
|
|
|
|
def_bool 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
|
|
|
|
def_bool 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
|
|
|
|
def_bool MACH_SUN8I
|
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-06-17 22:52:52 +08:00
|
|
|
config PINCTRL_SUN8I_A23_R
|
|
|
|
def_bool MACH_SUN8I
|
|
|
|
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
|
|
|
|
def_bool 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
|
2017-03-02 02:01:07 +08:00
|
|
|
def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
|
|
|
|
select PINCTRL_SUNXI
|
2016-02-03 05:21:51 +08:00
|
|
|
|
2017-01-03 23:16:27 +08:00
|
|
|
config PINCTRL_SUN8I_V3S
|
|
|
|
def_bool MACH_SUN8I
|
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-10-29 05:41:27 +08:00
|
|
|
config PINCTRL_SUN9I_A80
|
|
|
|
def_bool 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
|
|
|
|
def_bool MACH_SUN9I
|
|
|
|
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
|
2017-03-02 02:01:07 +08:00
|
|
|
def_bool 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
|
|
|
|
def_bool ARM64 && ARCH_SUNXI
|
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2017-01-26 23:48:51 +08:00
|
|
|
config PINCTRL_SUN50I_H5
|
2017-03-02 02:01:07 +08:00
|
|
|
def_bool 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
|
|
|
|
def_bool ARM64 && ARCH_SUNXI
|
|
|
|
select PINCTRL_SUNXI
|
|
|
|
|
2014-04-19 00:53:02 +08:00
|
|
|
endif
|