957e263120
Update gpio drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
24 lines
602 B
Plaintext
24 lines
602 B
Plaintext
# Intel SoC GPIO configuration options
|
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_INTEL
|
|
bool "Intel Soc GPIO"
|
|
default y
|
|
depends on DT_HAS_INTEL_GPIO_ENABLED
|
|
help
|
|
Enable driver for Intel SoC GPIO
|
|
|
|
config GPIO_INTEL_CHECK_PERMS
|
|
bool "Check permissions before manipulating GPIO"
|
|
default y
|
|
depends on GPIO_INTEL
|
|
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.
|