Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* [PULL] 3rd set of new devices, cleanups and late breaking minor fixes for IIO in the 5.8 cycle.
@ 2020-05-22 16:59 Jonathan Cameron
  2020-05-23  8:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Cameron @ 2020-05-22 16:59 UTC (permalink / raw)
  To: gregkh, linux-iio


he following changes since commit cef077e6aa4c7dbe2f23e1201cf705f9540ec467:

  Merge tag 'iio-for-5.8b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next (2020-05-15 16:03:28 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-for-5.8c

for you to fetch changes up to 13e945631c2ffb946c0af342812a3cd39227de6e:

  iio:chemical:pms7003: Fix timestamp alignment and prevent data leak. (2020-05-22 17:31:05 +0100)

----------------------------------------------------------------
Third set of IIO new device support, cleanups etc for the 5.8 cycle.

A rather late final set to pick up a couple of new drivers, a bunch
of cleanup and some fixes that can wait for the merge window.

In particularly I'd like to highlight the great core and driver
cleanup work that the Alex and the team at Analog devices are currently
doing.  Should see lots more of that in the next cycle give what is
currently under review.

This pull also has the first few fixes squashing a class of alignment
and small kernel data leak bugs that Lars-Peter Clausen picked up
on in a review.  Quite a few more of those to come.  They've been
there a long time so we aren't rushing the reviews.

New device support
* atlas ezo
  - new driver supporting this range of chemical and similar sensors
    with the odd interface of ascii strings over i2c.
* bma180
  - bma023, bma150 and smb380 support.  Note these are currently also
    supported by a driver in input which we will hopefully remove
    (eventually). There are Kconfig protections to avoid a clash
    in the meantime.
* vcnl3020
  - new driver for this proximity sensor.

Core change
* during buffer updates, change the current state variable before
  we actually call pre and post enable callbacks so drivers can know
  where we are going.  Note this is a precursor to only exposing
  one enable callback to drivers.  The (false) logic behind having two
  such callbacks has long been fixed, but only now is the mess getting
  cleaned up.

Features
* exynos adc.
  - add reporting of channels scale values.

Cleanups and minor fixes.
* core
  - drop now unused attrcount_orig variable.
* ad5360, ad5446, ad5449, ad5755, ad5761, ad5764, ad5380, ad5421,
  ad5592, ad5686 and vf610_dac
  - remove direct use of iio_dev->mlock from all these drivers.
    Its semantics used to be poorly defined, but now it is for core
    use only.  Removing it's use in drivers has been a long process
    of which this is the latest step!
* exynos_adc
  - drop a pointless check on the phy as the driver doesn't access it.
* ping
  - avoid a dance from iio_priv and iio_priv_to_dev back again by
    just passing the iio_dev into the functions.
* pms7003
  - alignment and potential data leak fix.
* sps30
  - alignment bug fix.

----------------------------------------------------------------
Alexandru Ardelean (2):
      iio: buffer: remove attrcount_orig var from sysfs creation
      iio: proximity: ping: pass reference to IIO device as param to ping_read()

Fabrice Gasnier (1):
      iio: adc: stm32-adc: fix a wrong error message when probing interrupts

Ivan Mikhaylov (2):
      dt-bindings: proximity: provide vcnl3020 device tree binding document
      iio: proximity: Add driver support for vcnl3020 proximity sensor

Jonathan Bakker (9):
      iio: accel: bma180: Prepare for different reset values
      iio: accel: Make bma180 conflict with input's bma150
      dt-bindings: iio: accel: Add bma150 family compatibles to bma180
      dt-bindings: iio: accel: Add required regulators to bma180
      iio: accel: bma180: Add support for bma023
      iio: accel: bma180: Rename center_temp to temp_offset
      iio: accel: Add bma150/smb380 support to bma180
      iio: adc: Add scaling support to exynos adc driver
      iio: light: gp2ap002: Take runtime PM reference on light read

Jonathan Cameron (2):
      iio:chemical:sps30: Fix timestamp alignment
      iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.

Krzysztof Kozlowski (1):
      iio: adc: exynos: Simplify Exynos7-specific init

Lars-Peter Clausen (1):
      iio: __iio_update_buffers: Update mode before preenable/after postdisable

Matt Ranostay (2):
      dt-bindings: iio: chemical: add CO2 EZO module documentation
      iio: chemical: add atlas-ezo-sensor initial support

Sergiu Cuciurean (11):
      iio: dac: ad5360: Replace indio_dev->mlock with own device lock
      iio: dac: ad5446: Replace indio_dev->mlock with own device lock
      iio: dac: ad5449: Replace indio_dev->mlock with own device lock
      iio: dac: ad5755: Replace indio_dev->mlock with own device lock
      iio: dac: ad5761: Replace indio_dev->mlock with own device lock
      iio: dac: ad5764: Replace indio_dev->mlock with own device lock
      iio: dac: ad5380: Replace indio_dev->mlock with own device lock
      iio: dac: ad5421: Replace indio_dev->mlock with own device lock
      iio: dac: ad5686: Replace indio_dev->mlock with own device lock
      iio: dac: vf610_dac: Replace indio_dev->mlock with own device lock
      iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock

 .../devicetree/bindings/iio/accel/bma180.txt       |   8 +-
 .../bindings/iio/chemical/atlas,sensor.yaml        |   6 +-
 .../bindings/iio/proximity/vishay,vcnl3020.yaml    |  62 +++++
 drivers/iio/accel/Kconfig                          |   8 +-
 drivers/iio/accel/bma180.c                         | 208 +++++++++++++++--
 drivers/iio/adc/exynos_adc.c                       |  17 +-
 drivers/iio/adc/stm32-adc-core.c                   |  34 ++-
 drivers/iio/chemical/Kconfig                       |  11 +
 drivers/iio/chemical/Makefile                      |   1 +
 drivers/iio/chemical/atlas-ezo-sensor.c            | 177 ++++++++++++++
 drivers/iio/chemical/pms7003.c                     |  17 +-
 drivers/iio/chemical/sps30.c                       |   9 +-
 drivers/iio/dac/ad5360.c                           |  17 +-
 drivers/iio/dac/ad5380.c                           |   8 +-
 drivers/iio/dac/ad5421.c                           |  21 +-
 drivers/iio/dac/ad5446.c                           |  12 +-
 drivers/iio/dac/ad5449.c                           |  12 +-
 drivers/iio/dac/ad5592r-base.c                     |  30 +--
 drivers/iio/dac/ad5592r-base.h                     |   1 +
 drivers/iio/dac/ad5686.c                           |  10 +-
 drivers/iio/dac/ad5686.h                           |   2 +
 drivers/iio/dac/ad5755.c                           |  22 +-
 drivers/iio/dac/ad5761.c                           |  12 +-
 drivers/iio/dac/ad5764.c                           |  12 +-
 drivers/iio/dac/vf610_dac.c                        |  11 +-
 drivers/iio/industrialio-buffer.c                  |  14 +-
 drivers/iio/light/gp2ap002.c                       |  19 +-
 drivers/iio/proximity/Kconfig                      |  11 +
 drivers/iio/proximity/Makefile                     |   1 +
 drivers/iio/proximity/ping.c                       |   7 +-
 drivers/iio/proximity/vcnl3020.c                   | 258 +++++++++++++++++++++
 31 files changed, 908 insertions(+), 130 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml
 create mode 100644 drivers/iio/chemical/atlas-ezo-sensor.c
 create mode 100644 drivers/iio/proximity/vcnl3020.c

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

* Re: [PULL] 3rd set of new devices, cleanups and late breaking minor fixes for IIO in the 5.8 cycle.
  2020-05-22 16:59 [PULL] 3rd set of new devices, cleanups and late breaking minor fixes for IIO in the 5.8 cycle Jonathan Cameron
@ 2020-05-23  8:41 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2020-05-23  8:41 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio

On Fri, May 22, 2020 at 05:59:31PM +0100, Jonathan Cameron wrote:
> 
> he following changes since commit cef077e6aa4c7dbe2f23e1201cf705f9540ec467:
> 
>   Merge tag 'iio-for-5.8b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next (2020-05-15 16:03:28 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-for-5.8c

Pulled and pushed out, thanks.

greg k-h

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 16:59 [PULL] 3rd set of new devices, cleanups and late breaking minor fixes for IIO in the 5.8 cycle Jonathan Cameron
2020-05-23  8:41 ` Greg KH

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org
	public-inbox-index linux-iio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git