linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iio: srf04: add support for power management
@ 2020-01-20 16:44 Andreas Klinger
  0 siblings, 0 replies; only message in thread
From: Andreas Klinger @ 2020-01-20 16:44 UTC (permalink / raw)
  To: jic23, robh+dt, mark.rutland
  Cc: knaack.h, lars, pmeerw, rpi-receiver, linux-iio, devicetree,
	linux-kernel

This patchset adds support for power management for the srf04 iio driver.
It was suggested by Franz for the purpose of saving energy on battery driven
vehicles.

Changes in v3:
Thanks to Jonathan for reviewing:
- drop CONFIG_PM
- use __maybe_unused for suspend and resume functions

Changes in v2:
Thanks to Rob for pointing out some improvements in dt-binding:
 - add minimum, maximum and default value for startup-time-ms
 - drop schema reference

Andreas Klinger (2):
  dt-bindings: devantech-srf04.yaml: add pm feature
  iio: srf04: add power management feature

 .../iio/proximity/devantech-srf04.yaml        | 18 ++++
 drivers/iio/proximity/srf04.c                 | 96 ++++++++++++++++++-
 2 files changed, 113 insertions(+), 1 deletion(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-20 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20 16:44 [PATCH v3 0/2] iio: srf04: add support for power management Andreas Klinger

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