Instead of depending on GPIO. This allows to just enable CONFIG_INPUT=y + DT node in the application layer. The same pattern is nowadays followed by most drivers. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
11 lines
238 B
Plaintext
11 lines
238 B
Plaintext
# Copyright (c) 2022 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config INPUT_GPIO_KEYS
|
|
bool "GPIO Keys input driver"
|
|
default y
|
|
depends on DT_HAS_GPIO_KEYS_ENABLED
|
|
select GPIO
|
|
help
|
|
Enable support for GPIO Keys input driver.
|