2019-11-01 20:45:29 +08:00
|
|
|
# Intel SoC GPIO configuration options
|
|
|
|
|
2018-09-20 01:15:12 +08:00
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-05-07 01:21:19 +08:00
|
|
|
config GPIO_INTEL
|
|
|
|
bool "Intel Soc GPIO"
|
2022-07-21 01:07:47 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_INTEL_GPIO_ENABLED
|
2018-09-20 01:15:12 +08:00
|
|
|
help
|
2021-05-07 01:21:19 +08:00
|
|
|
Enable driver for Intel SoC GPIO
|
2018-09-20 01:15:12 +08:00
|
|
|
|
2021-05-07 01:21:19 +08:00
|
|
|
config GPIO_INTEL_CHECK_PERMS
|
2018-09-20 01:15:12 +08:00
|
|
|
bool "Check permissions before manipulating GPIO"
|
|
|
|
default y
|
2021-05-07 01:21:19 +08:00
|
|
|
depends on GPIO_INTEL
|
2018-09-20 01:15:12 +08:00
|
|
|
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.
|