zephyr/drivers/gpio/Kconfig.intel
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

23 lines
614 B
Plaintext

# Intel SoC GPIO configuration options
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_INTEL_APL
bool "Intel Apollo Lake SoC GPIO"
select HAS_DTS_GPIO
help
Enable driver for Intel Apollo Lake SoC GPIO
config GPIO_INTEL_APL_CHECK_PERMS
bool "Check permissions before manipulating GPIO"
default y
depends on GPIO_INTEL_APL
help
This option enables the checks to make sure the GPIO
pin can be manipulated. Only if the pin is owned by
the host software and its functioning as GPIO, then
the driver allows manipulating the pin.
Say y if unsure.