c40ec11ab4
Update dac 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: Martin Jäger <martin@libre.solar>
27 lines
615 B
Plaintext
27 lines
615 B
Plaintext
# DAC configuration options
|
|
|
|
# Copyright (c) 2020 Henrik Brix Andersen <henrik@brixandersen.dk>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config DAC_MCUX_DAC
|
|
bool "NXP Kinetis MCUX DAC driver"
|
|
default y
|
|
depends on DT_HAS_NXP_KINETIS_DAC_ENABLED
|
|
help
|
|
Enable the driver for the NXP Kinetis MCUX DAC.
|
|
|
|
config DAC_MCUX_DAC32
|
|
bool "NXP Kinetis MCUX DAC32 driver"
|
|
default y
|
|
depends on DT_HAS_NXP_KINETIS_DAC32_ENABLED
|
|
select PINCTRL
|
|
help
|
|
Enable the driver for the NXP Kinetis MCUX DAC32.
|
|
|
|
config DAC_MCUX_DAC32_TESTOUT
|
|
bool "DAC test output"
|
|
depends on DAC_MCUX_DAC32
|
|
help
|
|
Enable the DAC test output.
|