Linux-Hwmon Archive on lore.kernel.org
 help / Atom feed
* [PATCH v3 0/2] hwmon (ina3221) Add single-shot mode support
@ 2019-01-17 23:12 Nicolin Chen
  2019-01-17 23:12 ` [PATCH v3 1/2] dt-bindings: hwmon: ina3221: Add ti,single-shot property Nicolin Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nicolin Chen @ 2019-01-17 23:12 UTC (permalink / raw)
  To: jdelvare, linux
  Cc: robh+dt, mark.rutland, linux-hwmon, devicetree, linux-kernel

By default, ina3221, as a hardware monitor, continuously measures
the inputs and generates corresponding data. However, for battery
powered devices, this mode might be power consuming.

This series of patches add a feature of changing default operating
mode to its single-shot mode via DT.

Changelog
v2->v3:
 * Added "Reviewed-by" from Rob to PATCH-1
 * Cleaned-up PATCH-2
v1->v2:
 * Cleaned-up PATCH-2

Nicolin Chen (2):
  dt-bindings: hwmon: ina3221: Add ti,single-shot property
  hwmon: (ina3221) Implement ti,single-shot DT property

 .../devicetree/bindings/hwmon/ina3221.txt     | 10 ++++++++++
 drivers/hwmon/ina3221.c                       | 19 +++++++++++++++++++
 2 files changed, 29 insertions(+)

-- 
2.17.1


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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 23:12 [PATCH v3 0/2] hwmon (ina3221) Add single-shot mode support Nicolin Chen
2019-01-17 23:12 ` [PATCH v3 1/2] dt-bindings: hwmon: ina3221: Add ti,single-shot property Nicolin Chen
2019-01-17 23:12 ` [PATCH v3 2/2] hwmon: (ina3221) Implement ti,single-shot DT property Nicolin Chen
2019-01-17 23:36 ` [PATCH v3 0/2] hwmon (ina3221) Add single-shot mode support Guenter Roeck

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org linux-hwmon@archiver.kernel.org
	public-inbox-index linux-hwmon


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/ public-inbox