All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javier Carrasco <javier.carrasco.cruz@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>,
	 Lars-Peter Clausen <lars@metafoo.de>,
	Li peiyu <579lpy@gmail.com>,  Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	 linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
	 devicetree@vger.kernel.org,
	 Javier Carrasco <javier.carrasco.cruz@gmail.com>
Subject: [PATCH 0/4] iio: humidity: hdc3020: add power and reset management
Date: Tue, 20 Feb 2024 22:14:54 +0100	[thread overview]
Message-ID: <20240220-hdc3020-pm-v1-0-d8e60dbe79e9@gmail.com> (raw)

This series adds power management for the hdc3020 humidity and
temperature sensor as well as control over the reset signal the device
provides.

The hdc3020 carries out measurements automatically, which is not
necessary in low-power modes. Furthermore, if the low-power
configuration turns off the device, proper initialization is required to
account for the setup times and initial status register value.

This device provides an active low reset signal that must be handled if
connected. This signal can be used by the driver to keep the device
under minimal power consumption during low-power modes if the power
supply stays active.

This series requires the last additions to the driver to handle events
[1] as well as the fix to include the entries in the Makefile and
Kconfig files [2]. There is still no branch where everything is
included. Therefore, iio/testing has been used as basis and the fix has
been added to the series as it has been applied to iio/fixes-togreg to
make code testing and validation possible.

[1] https://lore.kernel.org/linux-iio/20240214085350.19382-1-dima.fedrau@gmail.com/
[2] https://lore.kernel.org/linux-iio/20240121135123.71506-1-jic23@kernel.org/

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (3):
      iio: humidity: hdc3020: add power management
      dt-bindings: iio: humidity: hdc3020: add reset-gpios
      iio: humidity: hdc3020: add reset management

Jonathan Cameron (1):
      iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry

 .../bindings/iio/humidity/ti,hdc3020.yaml          |  5 ++
 MAINTAINERS                                        |  8 ++
 drivers/iio/humidity/Kconfig                       | 12 +++
 drivers/iio/humidity/Makefile                      |  1 +
 drivers/iio/humidity/hdc3020.c                     | 97 ++++++++++++++++++----
 5 files changed, 107 insertions(+), 16 deletions(-)
---
base-commit: 3cc5ebd3a2d6247aeba81873d6b040d5d87f7db1
change-id: 20240217-hdc3020-pm-177983de3cab

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


             reply	other threads:[~2024-02-20 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 21:14 Javier Carrasco [this message]
2024-02-20 21:14 ` [PATCH 1/4] iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry Javier Carrasco
2024-02-20 21:14 ` [PATCH 2/4] iio: humidity: hdc3020: add power management Javier Carrasco
2024-02-24 18:22   ` Jonathan Cameron
2024-02-20 21:14 ` [PATCH 3/4] dt-bindings: iio: humidity: hdc3020: add reset-gpios Javier Carrasco
2024-02-21  7:56   ` Krzysztof Kozlowski
2024-02-20 21:14 ` [PATCH 4/4] iio: humidity: hdc3020: add reset management Javier Carrasco
2024-02-24 18:25   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240220-hdc3020-pm-v1-0-d8e60dbe79e9@gmail.com \
    --to=javier.carrasco.cruz@gmail.com \
    --cc=579lpy@gmail.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.