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>
18 lines
398 B
Plaintext
18 lines
398 B
Plaintext
# Gecko GPIO configuration options
|
|
|
|
# Copyright (c) 2017 Christian Taedcke
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig GPIO_GECKO
|
|
bool "Gecko GPIO driver"
|
|
default y
|
|
depends on DT_HAS_SILABS_GECKO_GPIO_PORT_ENABLED
|
|
select SOC_GECKO_GPIO
|
|
help
|
|
Enable the Gecko gpio driver.
|
|
|
|
config GPIO_GECKO_COMMON_INIT_PRIORITY
|
|
int "Common initialization priority"
|
|
depends on GPIO_GECKO
|
|
default 39
|