zephyr/drivers/dac/Kconfig
Rafael Aldo Hernández Luna 2e30bbca00 drivers: dac: Added dac driver for samd5x
Added driver and binding file for samd5x dac peripheral, the already
implemented dac_sam0.c lacks the configuration registers for this
microcontroller family and is fixed to only have one dac channel output,
also, the code gets too bulky when adding the samd5x dac configuration
using preprocessor directives that’s why I moved the implementation to its
own file.

Added dac to the supported list of same54_xpro.yaml, fixed Kconfig.samd5x
help spacing, added board defines to test_dac.c and test it out with
twister script on board.

Signed-off-by: Rafael Aldo Hernández Luna <aldo.hernandez@daikincomfort.com>
2025-07-19 09:54:41 +02:00

73 lines
1.3 KiB
Plaintext

# DAC configuration options
# Copyright (c) 2020 Libre Solar Technologies GmbH
# SPDX-License-Identifier: Apache-2.0
#
# DAC options
#
menuconfig DAC
bool "Digital-to-Analog Converter (DAC) drivers"
help
Enable DAC (Digital to Analog Converter) driver configuration.
if DAC
module = DAC
module-str = DAC
source "subsys/logging/Kconfig.template.log_config"
config DAC_SHELL
bool "DAC shell"
depends on SHELL
help
Enable DAC related shell commands.
config DAC_INIT_PRIORITY
int "DAC init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
DAC driver device initialization priority.
source "drivers/dac/Kconfig.mcux"
source "drivers/dac/Kconfig.stm32"
source "drivers/dac/Kconfig.sam"
source "drivers/dac/Kconfig.sam0"
source "drivers/dac/Kconfig.dac161s997"
source "drivers/dac/Kconfig.dacx0501"
source "drivers/dac/Kconfig.dacx0508"
source "drivers/dac/Kconfig.dacx3608"
source "drivers/dac/Kconfig.ltc166x"
source "drivers/dac/Kconfig.mcp4725"
source "drivers/dac/Kconfig.mcp4728"
source "drivers/dac/Kconfig.gd32"
source "drivers/dac/Kconfig.esp32"
source "drivers/dac/Kconfig.ad56xx"
source "drivers/dac/Kconfig.ad559x"
source "drivers/dac/Kconfig.ad569x"
source "drivers/dac/Kconfig.test"
source "drivers/dac/Kconfig.max22017"
source "drivers/dac/Kconfig.renesas_ra"
source "drivers/dac/Kconfig.samd5x"
endif # DAC