linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040
@ 2020-01-30 13:42 Guido Günther
  2020-01-30 13:42 ` [PATCH v2 1/2] iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAW Guido Günther
  2020-01-30 13:42 ` [PATCH v2 2/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040 Guido Günther
  0 siblings, 2 replies; 5+ messages in thread
From: Guido Günther @ 2020-01-30 13:42 UTC (permalink / raw)
  To: Tomas Novotny, Jonathan Cameron, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald-Stadler,
	Angus Ainslie (Purism),
	Guido Günther, Marco Felsch, Thomas Gleixner, linux-iio,
	linux-kernel

This is modelled after the vcnl4035 driver. For the vcnl40{0,1,2}0 we
don't do anything since they use on demand measurement.

Patch is against next-20200130.

Changes from v2
---------------
- Based on review feedback Tomas Novotny
  https://lore.kernel.org/linux-iio/20200120182853.37a724fa@tomas.local.tbs-biometrics.cz/
  Drop long wait in vcnl4000_runtime_resume but rather
  use vcnl4200_{al,ps}.last_measurement to make sure
  we wait long enough.

Guido Günther (2):
  iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAW
  iio: vncl4000: Enable runtime pm for vcnl4200/4040

 drivers/iio/light/vcnl4000.c | 150 ++++++++++++++++++++++++++++++-----
 1 file changed, 132 insertions(+), 18 deletions(-)

-- 
2.23.0


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

end of thread, other threads:[~2020-02-02 21:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 13:42 [PATCH v2 0/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040 Guido Günther
2020-01-30 13:42 ` [PATCH v2 1/2] iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAW Guido Günther
2020-01-30 13:42 ` [PATCH v2 2/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040 Guido Günther
2020-02-02  9:34   ` Jonathan Cameron
2020-02-02 17:58     ` Guido Günther

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