d181607f4e
This commit introduces a driver for ADC keys, a common circuit design where keys are connected to an ADC input via a resistor ladder. Signed-off-by: Chen Xingyu <hi@xingrz.me>
11 lines
283 B
Plaintext
11 lines
283 B
Plaintext
# Copyright (c) 2024 Chen Xingyu <hi@xingrz.me>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config INPUT_ADC_KEYS
|
|
bool "ADC attached resistor ladder buttons"
|
|
default y
|
|
depends on DT_HAS_ADC_KEYS_ENABLED
|
|
depends on ADC
|
|
help
|
|
Enable support for ADC attached resistor ladder buttons.
|