linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/18] iio: light: Sparse friendly claim of direct mode
@ 2025-03-09 17:06 Jonathan Cameron
  2025-03-09 17:06 ` [PATCH 01/18] iio: light: apds9306: Switch to sparse friendly iio_device_claim/release_direct() Jonathan Cameron
                   ` (18 more replies)
  0 siblings, 19 replies; 31+ messages in thread
From: Jonathan Cameron @ 2025-03-09 17:06 UTC (permalink / raw)
  To: linux-iio, Nuno Sá, Astrid Rost, Matti Vaittinen,
	Per-Daniel Olsson, Javier Carrasco, Subhajit Ghosh
  Cc: Nuno Sá, David Lechner, Jonathan Cameron

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Note that a number of the drivers touched in this series have no
obvious active maintainer, so it would be much appreciated if anyone
has time to take a look! It is a large series so feel free to review
any you have time to look at rather than feeling you need to look
at the whole thing!

This is effectively part 4 of what will probably be around 7 series
focused on moving from iio_device_claim/release_direct_mode() to
iio_device_claim/release_direct(). The new form is more consistent
with conditional locking semantics and sparse markings have been
added that let us detect miss-balance between claim and release.

More details can be found in the cover letter of the first series:
https://lore.kernel.org/all/20250209180624.701140-1-jic23@kernel.org/

This series focuses on the light sensor drivers.

Jonathan Cameron (18):
  iio: light: apds9306: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: gp2ap020a00f: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: isl29125: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: as73211: Use guard() and move mode switch into inner
    write_raw fucntion
  iio: light: as73211: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: ltr501: Factor out IIO_INFO_RAW leg of read_raw()
    callback.
  iio: light: ltr501: Factor out core of write_raw() where direct mode
    claim is held.
  iio: light: ltr501: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: opt4060: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: rohm-bu27034: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: rpr0521: Factor out handling of IIO_INFO_RAW and use
    guard()
  iio: light: rpr0521: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: si1145: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: st_uvis25: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: tcs3414: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: tcs3472: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: vcnl4000: Switch to sparse friendly
    iio_device_claim/release_direct()
  iio: light: vcnl4035: Switch to sparse friendly
    iio_device_claim/release_direct()

 drivers/iio/light/apds9306.c       |   7 +-
 drivers/iio/light/as73211.c        |  42 ++++----
 drivers/iio/light/gp2ap020a00f.c   |   7 +-
 drivers/iio/light/isl29125.c       |   7 +-
 drivers/iio/light/ltr501.c         | 164 +++++++++++++++--------------
 drivers/iio/light/opt4060.c        |   5 +-
 drivers/iio/light/rohm-bu27034.c   |  14 ++-
 drivers/iio/light/rpr0521.c        |  63 ++++++-----
 drivers/iio/light/si1145.c         |  25 ++---
 drivers/iio/light/st_uvis25_core.c |   7 +-
 drivers/iio/light/tcs3414.c        |   9 +-
 drivers/iio/light/tcs3472.c        |   9 +-
 drivers/iio/light/vcnl4000.c       |  78 +++++++-------
 drivers/iio/light/vcnl4035.c       |  42 +++++---
 14 files changed, 245 insertions(+), 234 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-04-02  7:29 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-09 17:06 [PATCH 00/18] iio: light: Sparse friendly claim of direct mode Jonathan Cameron
2025-03-09 17:06 ` [PATCH 01/18] iio: light: apds9306: Switch to sparse friendly iio_device_claim/release_direct() Jonathan Cameron
2025-03-10  6:35   ` Subhajit Ghosh
2025-03-10 20:01     ` Jonathan Cameron
2025-03-15 16:18       ` Subhajit Ghosh
2025-03-09 17:06 ` [PATCH 02/18] iio: light: gp2ap020a00f: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 03/18] iio: light: isl29125: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 04/18] iio: light: as73211: Use guard() and move mode switch into inner write_raw fucntion Jonathan Cameron
2025-03-11 18:55   ` David Lechner
2025-03-09 17:06 ` [PATCH 05/18] iio: light: as73211: Switch to sparse friendly iio_device_claim/release_direct() Jonathan Cameron
2025-03-09 17:06 ` [PATCH 06/18] iio: light: ltr501: Factor out IIO_INFO_RAW leg of read_raw() callback Jonathan Cameron
2025-03-09 17:06 ` [PATCH 07/18] iio: light: ltr501: Factor out core of write_raw() where direct mode claim is held Jonathan Cameron
2025-03-09 17:06 ` [PATCH 08/18] iio: light: ltr501: Switch to sparse friendly iio_device_claim/release_direct() Jonathan Cameron
2025-03-09 17:06 ` [PATCH 09/18] iio: light: opt4060: " Jonathan Cameron
2025-03-18  8:10   ` Per-Daniel Olsson
2025-03-18 17:07     ` Per-Daniel Olsson
2025-03-09 17:06 ` [PATCH 10/18] iio: light: rohm-bu27034: " Jonathan Cameron
2025-03-10  5:21   ` Matti Vaittinen
2025-03-09 17:06 ` [PATCH 11/18] iio: light: rpr0521: Factor out handling of IIO_INFO_RAW and use guard() Jonathan Cameron
2025-03-09 17:06 ` [PATCH 12/18] iio: light: rpr0521: Switch to sparse friendly iio_device_claim/release_direct() Jonathan Cameron
2025-03-09 17:06 ` [PATCH 13/18] iio: light: si1145: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 14/18] iio: light: st_uvis25: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 15/18] iio: light: tcs3414: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 16/18] iio: light: tcs3472: " Jonathan Cameron
2025-03-09 17:06 ` [PATCH 17/18] iio: light: vcnl4000: " Jonathan Cameron
2025-03-11 19:11   ` David Lechner
2025-03-31 11:44     ` Jonathan Cameron
2025-04-02  7:28       ` Astrid Rost
2025-03-18 17:08   ` Per-Daniel Olsson
2025-03-09 17:06 ` [PATCH 18/18] iio: light: vcnl4035: " Jonathan Cameron
2025-03-11 19:16 ` [PATCH 00/18] iio: light: Sparse friendly claim of direct mode David Lechner

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).