linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] iio: stx104: Add IIO support for the ADC channels
@ 2016-07-25 17:53 William Breathitt Gray
  2016-07-25 17:54 ` [PATCH v4 1/1] " William Breathitt Gray
  0 siblings, 1 reply; 5+ messages in thread
From: William Breathitt Gray @ 2016-07-25 17:53 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw
  Cc: linux-iio, linux-kernel, William Breathitt Gray

Changes in v4:
  - Replace "DAC" with "IIO" in the MAINTAINERS file entry for the STX104 since
    this driver now supports the ADC functionality rather than simply the DAC
Changes in v3:
  - Squash move patch as unneeded thanks to "git format-patch -M"
  - Fix multiline comment syntax for value conversion math explanation
  - Select between two const iio_chan_spec structures in order to support
    differential input channels configuration correctly for multiple devices
Changes in v2:
  - IIO_CHAN_INFO_RAW mask used for analog input channels
  - STX104_ prefix added to IN_CHAN_OFFSET define
  - STX104_MAX_NUM_CHAN define removed as unnecessary
  - Whitespace added to pad comment about ADC sample capture and completion wait
  - Switch statement in write_raw callback refactored to return 0
  - Comma added to last element initialization of stx104_info
  - Comment added to warn why stx104_channels is not const
  - Comment added to explain GPIO offset in gpio_get_direction callback
  - ARRAY_SIZE macro utilized to get number of channels in stx104_channels
  - Replace devm_iio_device_register with iio_device_register call and
    respective iio_device_unregister call
  - Perform GPIO chip registration before iio_device_register to prevent race
    condition

The first patch of version 2 of this patchset ("iio: stx104: Unregister IIO
device on remove callback") has been removed from this patchset since it was
picked up in the iio.git fixes-togreg-post-rc1 branch.

The move patch of version 2 of this patchset has been squashed with the ADC
support implementation code since the "git format-patch -M" command has been
used to clarify the rename of the stx104.c file from the dac directory to the
adc directory.

William Breathitt Gray (1):
  iio: stx104: Add IIO support for the ADC channels

 MAINTAINERS                       |   4 +-
 drivers/iio/adc/Kconfig           |  15 ++++
 drivers/iio/adc/Makefile          |   1 +
 drivers/iio/{dac => adc}/stx104.c | 157 ++++++++++++++++++++++++++++++++------
 drivers/iio/dac/Kconfig           |  10 ---
 drivers/iio/dac/Makefile          |   1 -
 6 files changed, 151 insertions(+), 37 deletions(-)
 rename drivers/iio/{dac => adc}/stx104.c (59%)

-- 
2.7.3

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

end of thread, other threads:[~2016-08-23 18:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25 17:53 [PATCH v4 0/1] iio: stx104: Add IIO support for the ADC channels William Breathitt Gray
2016-07-25 17:54 ` [PATCH v4 1/1] " William Breathitt Gray
2016-08-21 19:39   ` Jonathan Cameron
2016-08-22 13:24     ` William Breathitt Gray
2016-08-23 18:12       ` 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).