| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Spreadtrum pin control drivers |
|---|
| 3 | 4 | # |
|---|
| 4 | 5 | |
|---|
| 5 | 6 | config PINCTRL_SPRD |
|---|
| 6 | | - bool "Spreadtrum pinctrl driver" |
|---|
| 7 | | - depends on OF |
|---|
| 8 | | - depends on ARCH_SPRD || COMPILE_TEST |
|---|
| 7 | + tristate |
|---|
| 9 | 8 | select PINMUX |
|---|
| 10 | 9 | select PINCONF |
|---|
| 11 | 10 | select GENERIC_PINCONF |
|---|
| .. | .. |
|---|
| 14 | 13 | Say Y here to enable Spreadtrum pinctrl driver |
|---|
| 15 | 14 | |
|---|
| 16 | 15 | config PINCTRL_SPRD_SC9860 |
|---|
| 17 | | - bool "Spreadtrum SC9860 pinctrl driver" |
|---|
| 18 | | - depends on PINCTRL_SPRD |
|---|
| 16 | + tristate "Spreadtrum SC9860 pinctrl driver" |
|---|
| 17 | + depends on OF |
|---|
| 18 | + depends on ARCH_SPRD || COMPILE_TEST |
|---|
| 19 | + select PINCTRL_SPRD |
|---|
| 19 | 20 | help |
|---|
| 20 | 21 | Say Y here to enable Spreadtrum SC9860 pinctrl driver |
|---|