zephyr/drivers/gpio/Kconfig.ht16k33
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

25 lines
741 B
Plaintext

# Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
menuconfig GPIO_HT16K33
bool "HT16K33 keyscan driver"
depends on HT16K33_KEYSCAN
help
Enable keyscan driver for HT16K33.
The HT16K33 is a memory mapping, multifunction LED
controller driver. The controller supports matrix key scan
circuit of up to 13x3 keys.
The keyscan functionality is exposed as up to 3 GPIO
controller drivers, each supporting GPIO callbacks for
keyscan event notifications.
config GPIO_HT16K33_INIT_PRIORITY
int "Driver init priority"
default 99
depends on GPIO_HT16K33
help
Device driver initialization priority. This driver must be
initialized after the HT16K33 LED driver.