1# Copyright (c) 2023 Grinn
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig MFD_AD559X
5	bool "Analog AD559x I2C/SPI configurable ADC/DAC/GPIO chip"
6	default y
7	depends on DT_HAS_ADI_AD559X_ENABLED
8	help
9	  Enable driver for Analog AD5592 or Analog AD5593.
10
11if MFD_AD559X
12
13config MFD_AD559X_BUS_I2C
14	bool "Analog AD559x I2C bus support"
15	default y
16	depends on $(dt_compat_on_bus,$(DT_COMPAT_ADI_AD559X),i2c)
17	depends on I2C
18
19config MFD_AD559X_BUS_SPI
20	bool "Analog AD559x SPI bus support"
21	default y
22	depends on $(dt_compat_on_bus,$(DT_COMPAT_ADI_AD559X),spi)
23	depends on SPI
24
25endif # MFD_AD559X
26