zephyr/drivers/dac/Kconfig.mcp4728
Kumar Gala 18a1db193d drivers: dac: Update Kconfig for 'select I2C/SPI'
* Move to using 'select I2C/SPI' instead of 'depends on'
  (see commit df81fef944 for
   more details)

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-12 16:18:35 +02:00

22 lines
408 B
Plaintext

# Copyright 2021 Grinn
#
# SPDX-License-Identifier: Apache-2.0
config DAC_MCP4728
bool "Microchip MCP4728 DAC driver"
default y
select I2C
depends on DT_HAS_MICROCHIP_MCP4728_ENABLED
help
Enable driver for the Microchip MCP4728.
if DAC_MCP4728
config DAC_MCP4728_INIT_PRIORITY
int "Init priority"
default 80
help
Microchip MCP4728 device driver initialization priority.
endif # DAC_MCP4728