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