# DAC configuration options

# Copyright (c) 2020 Cosmed srl
#
# SPDX-License-Identifier: Apache-2.0

# Workaround for not being able to have commas in macro arguments
DT_COMPAT_TI_DACX0501_DAC := ti,dacx0501

config DAC_DACX0501
	bool "TI DACx0501 DAC driver (e.g. DAC80501)"
	depends on I2C
	default $(dt_compat_enabled,$(DT_COMPAT_TI_DACX501_DAC))
	help
	  Enable driver for TI DACx0501 12/14/16-bit DAC (e.g. DAC80501).

if DAC_DACX0501

config DAC_DACX0501_INIT_PRIORITY
    int "Init priority"
    default 80
    help
      DACx0501 DAC device driver initialization priority.


module = DAC_DACX0501
module-str = dacx0501
source "subsys/logging/Kconfig.template.log_config"

endif # DAC_DACX0501
