Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338321
b: refs/heads/master
c: f87f1a2
h: refs/heads/master
i:
  338319: e2df0f4
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Nov 30, 2012
1 parent 434a2bd commit 3863f9c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e786cc26dcc52caba53d17a80888ed0b46d097f8
refs/heads/master: f87f1a2375a51ef8c5048bfce42587dbea1ca627
12 changes: 12 additions & 0 deletions trunk/drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ config AD7791
To compile this driver as a module, choose M here: the module will be
called ad7791.

config AD7793
tristate "Analog Devices AD7793 and similar ADCs driver"
depends on SPI
select AD_SIGMA_DELTA
help
Say yes here to build support for Analog Devices AD7785, AD7792, AD7793,
AD7794 and AD7795 SPI analog to digital converters (ADC).
If unsure, say N (but it's safe to say "Y").

To compile this driver as a module, choose M here: the
module will be called AD7793.

config AD7476
tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
depends on SPI
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/iio/adc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ obj-$(CONFIG_AD7266) += ad7266.o
obj-$(CONFIG_AD7298) += ad7298.o
obj-$(CONFIG_AD7476) += ad7476.o
obj-$(CONFIG_AD7791) += ad7791.o
obj-$(CONFIG_AD7793) += ad7793.o
obj-$(CONFIG_AD7887) += ad7887.o
obj-$(CONFIG_AT91_ADC) += at91_adc.o
obj-$(CONFIG_LP8788_ADC) += lp8788_adc.o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>
#include <linux/iio/adc/ad_sigma_delta.h>

#include "ad7793.h"
#include <linux/platform_data/ad7793.h>

/* Registers */
#define AD7793_REG_COMM 0 /* Communications Register (WO, 8-bit) */
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/staging/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ config AD7780
To compile this driver as a module, choose M here: the
module will be called ad7780.

config AD7793
tristate "Analog Devices AD7793 and similar ADCs driver"
depends on SPI
select AD_SIGMA_DELTA
help
Say yes here to build support for Analog Devices AD7785, AD7792, AD7793,
AD7794 and AD7795 SPI analog to digital converters (ADC).
If unsure, say N (but it's safe to say "Y").

To compile this driver as a module, choose M here: the
module will be called AD7793.

config AD7816
tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver"
depends on SPI
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/iio/adc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ obj-$(CONFIG_AD799X) += ad799x.o

obj-$(CONFIG_AD7291) += ad7291.o
obj-$(CONFIG_AD7780) += ad7780.o
obj-$(CONFIG_AD7793) += ad7793.o
obj-$(CONFIG_AD7816) += ad7816.o
obj-$(CONFIG_AD7192) += ad7192.o
obj-$(CONFIG_ADT7410) += adt7410.o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
*
* Licensed under the GPL-2.
*/
#ifndef IIO_ADC_AD7793_H_
#define IIO_ADC_AD7793_H_

/*
* TODO: struct ad7793_platform_data needs to go into include/linux/iio
*/
#ifndef __LINUX_PLATFORM_DATA_AD7793_H__
#define __LINUX_PLATFORM_DATA_AD7793_H__

/**
* enum ad7793_clock_source - AD7793 clock source selection
Expand Down

0 comments on commit 3863f9c

Please sign in to comment.