Skip to content

Commit

Permalink
staging: iio: meter: new driver for ADE7753/6 devices
Browse files Browse the repository at this point in the history
This also kicks off the new meter subsection.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Barry Song authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent 0152a05 commit 09434ef
Show file tree
Hide file tree
Showing 7 changed files with 1,285 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/iio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ source "drivers/staging/iio/gyro/Kconfig"
source "drivers/staging/iio/imu/Kconfig"
source "drivers/staging/iio/light/Kconfig"
source "drivers/staging/iio/magnetometer/Kconfig"

source "drivers/staging/iio/meter/Kconfig"
source "drivers/staging/iio/trigger/Kconfig"

endif # IIO
3 changes: 2 additions & 1 deletion drivers/staging/iio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ obj-y += dds/
obj-y += gyro/
obj-y += imu/
obj-y += light/
obj-y += trigger/
obj-y += magnetometer/
obj-y += meter/
obj-y += trigger/
11 changes: 11 additions & 0 deletions drivers/staging/iio/meter/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# IIO meter drivers configuration
#
comment "Active energy metering IC"

config ADE7753
tristate "Analog Devices ADE7753/6 Single-Phase Multifunction Metering IC Driver"
depends on SPI
help
Say yes here to build support for Analog Devices ADE7753 Single-Phase Multifunction
Metering IC with di/dt Sensor Interface.
5 changes: 5 additions & 0 deletions drivers/staging/iio/meter/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Makefile for metering ic drivers
#

obj-$(CONFIG_ADE7753) += ade7753.o
Loading

0 comments on commit 09434ef

Please sign in to comment.