linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] IIO: Make the value attribute optional for channels
@ 2012-04-10 20:27 Jonathan Cameron
  2012-04-10 20:27 ` [PATCH 01/10] staging:iio: add a value element to the info_mask Jonathan Cameron
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Jonathan Cameron @ 2012-04-10 20:27 UTC (permalink / raw)
  To: linux-iio; +Cc: device-drivers-devel, michael.hennerich, Jonathan Cameron

Dear All,

This came out of a discussion about Michael's variable gain amplifier
driver the other day.  We have devices that have a channel that we
can't actually read, but know other things about. (there are other
cases that we have previously fudged around).

Anyhow, here is the promised series making the value optional.
Has recieved limited testing and I may well have fried someones
driver so please do take a look and test test test!

Dependent on the IIO_CHAN removal series.

Note I'll probably handle this set a little differently from
usual and send the first 9 to Greg asap, but hold the 10th
that actually makes them active until I'm sure there aren't
any drivers going to cross with it and end up broken.

Jonathan



Jonathan Cameron (10):
  staging:iio: add a value element to the info_mask
  staging:iio:accelerometer Add IIO_CHAN_INFO_VALUE entries to all
    drivers.
  staging:iio:adc Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio:dac Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio:gyro Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio:imu Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio:light Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio:magnetometer Add IIO_CHAN_INFO_VALUE entries to all
    drivers.
  staging:iio:resolver Add IIO_CHAN_INFO_VALUE entries to all drivers.
  staging:iio: Make read / write attributes for channel values
    optional.

 drivers/staging/iio/accel/adis16201_core.c |   23 ++++--
 drivers/staging/iio/accel/adis16203_core.c |   15 ++--
 drivers/staging/iio/accel/adis16204_core.c |   15 ++--
 drivers/staging/iio/accel/adis16209_core.c |   22 +++--
 drivers/staging/iio/accel/adis16220_core.c |   13 ++-
 drivers/staging/iio/accel/adis16240_core.c |   16 ++--
 drivers/staging/iio/accel/kxsd9.c          |    4 +-
 drivers/staging/iio/accel/lis3l02dq_core.c |    3 +-
 drivers/staging/iio/accel/sca3000_core.c   |    2 +-
 drivers/staging/iio/adc/ad7192.c           |    9 ++-
 drivers/staging/iio/adc/ad7280a.c          |    7 +-
 drivers/staging/iio/adc/ad7291.c           |    8 +-
 drivers/staging/iio/adc/ad7298_core.c      |    8 +-
 drivers/staging/iio/adc/ad7476_core.c      |    5 +-
 drivers/staging/iio/adc/ad7606_core.c      |   19 ++---
 drivers/staging/iio/adc/ad7780.c           |    8 +-
 drivers/staging/iio/adc/ad7793.c           |   38 ++++++---
 drivers/staging/iio/adc/ad7887_core.c      |    8 +-
 drivers/staging/iio/adc/ad799x_core.c      |   40 ++++++++-
 drivers/staging/iio/adc/lpc32xx_adc.c      |   15 ++--
 drivers/staging/iio/adc/max1363_core.c     |    5 +-
 drivers/staging/iio/dac/ad5064.c           |    7 +-
 drivers/staging/iio/dac/ad5360.c           |    7 +-
 drivers/staging/iio/dac/ad5380.c           |    7 +-
 drivers/staging/iio/dac/ad5421.c           |    7 +-
 drivers/staging/iio/dac/ad5446.c           |    5 +-
 drivers/staging/iio/dac/ad5504.c           |    7 +-
 drivers/staging/iio/dac/ad5624r_spi.c      |    5 +-
 drivers/staging/iio/dac/ad5686.c           |    7 +-
 drivers/staging/iio/dac/ad5764.c           |    7 +-
 drivers/staging/iio/dac/ad5791.c           |    7 +-
 drivers/staging/iio/gyro/adis16060_core.c  |    8 +-
 drivers/staging/iio/gyro/adis16080_core.c  |    6 +-
 drivers/staging/iio/gyro/adis16130_core.c  |    2 +
 drivers/staging/iio/gyro/adis16260_core.c  |   15 ++--
 drivers/staging/iio/gyro/adxrs450_core.c   |   14 ++--
 drivers/staging/iio/iio.h                  |    4 +-
 drivers/staging/iio/imu/adis16400_core.c   |  121 ++++++++++++++++++----------
 drivers/staging/iio/industrialio-core.c    |   34 ++++----
 drivers/staging/iio/light/isl29018.c       |    7 +-
 drivers/staging/iio/light/tsl2563.c        |    9 ++-
 drivers/staging/iio/magnetometer/ak8975.c  |    5 +-
 drivers/staging/iio/magnetometer/hmc5843.c |    5 +-
 drivers/staging/iio/resolver/ad2s1200.c    |    2 +
 drivers/staging/iio/resolver/ad2s1210.c    |    2 +
 drivers/staging/iio/resolver/ad2s90.c      |    1 +
 46 files changed, 388 insertions(+), 196 deletions(-)

-- 
1.7.9.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-11  9:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 20:27 [PATCH 00/10] IIO: Make the value attribute optional for channels Jonathan Cameron
2012-04-10 20:27 ` [PATCH 01/10] staging:iio: add a value element to the info_mask Jonathan Cameron
2012-04-11  8:36   ` Lars-Peter Clausen
2012-04-11  9:02     ` Jonathan Cameron
2012-04-10 20:27 ` [PATCH 02/10] staging:iio:accelerometer Add IIO_CHAN_INFO_VALUE entries to all drivers Jonathan Cameron
2012-04-10 20:27 ` [PATCH 03/10] staging:iio:adc " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 04/10] staging:iio:dac " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 05/10] staging:iio:gyro " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 06/10] staging:iio:imu " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 07/10] staging:iio:light " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 08/10] staging:iio:magnetometer " Jonathan Cameron
2012-04-10 20:27 ` [PATCH 10/10] staging:iio: Make read / write attributes for channel values optional Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).