Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / staging / iio / meter / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # IIO meter drivers configuration
4 #
5 menu "Active energy metering IC"
6
7 config ADE7854
8         tristate "Analog Devices ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver"
9         depends on SPI || I2C
10         help
11           Say yes here to build support for Analog Devices ADE7854/58/68/78 Polyphase
12           Multifunction Energy Metering IC Driver.
13
14           To compile this driver as a module, choose M here: the
15           module will be called ade7854.
16
17 config ADE7854_I2C
18         tristate "support I2C bus connection"
19         depends on ADE7854 && I2C
20         default y
21         help
22           Say Y here if you have ADE7854/58/68/78 hooked to an I2C bus.
23
24           To compile this driver as a module, choose M here: the
25           module will be called ade7854-i2c.
26
27 config ADE7854_SPI
28         tristate "support SPI bus connection"
29         depends on ADE7854 && SPI
30         default y
31         help
32           Say Y here if you have ADE7854/58/68/78 hooked to a SPI bus.
33
34           To compile this driver as a module, choose M here: the
35           module will be called ade7854-spi.
36
37 endmenu