[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200120164433.GA8702@arbad>
Date: Mon, 20 Jan 2020 17:44:34 +0100
From: Andreas Klinger <ak@...klinger.de>
To: jic23@...nel.org, robh+dt@...nel.org, mark.rutland@....com
Cc: knaack.h@....de, lars@...afoo.de, pmeerw@...erw.net,
rpi-receiver@...-steyr.ac.at, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] iio: srf04: add support for power management
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
Powered by blists - more mailing lists