|
|
Subscribe / Log in / New account

Add support for INA3221 Triple Current/Voltage Monitors

From:  "Andrew F. Davis" <afd@ti.com>
To:  Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Jonathan Corbet <corbet@lwn.net>
Subject:  [PATCH v3 0/2] Add support for INA3221 Triple Current/Voltage Monitors
Date:  Mon, 25 Apr 2016 14:39:20 -0500
Message-ID:  <1461613162-1606-1-git-send-email-afd@ti.com>
Cc:  <linux-hwmon@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Andrew F. Davis" <afd@ti.com>
Archive‑link:  Article

Hello all,

This series adds support for the INA3221 Triple Current/Voltage Monitor.

Changes from v2:
 - changed alarms to work on current
 - added of_match_table
 - other small fixups/typos

Changes from v1:
 - rearranged and renumbered sysfs enteries
 - added reading alert bits to sysfs
 - removed internal power calculation
 - added DT setting of shunt resistors
 - various other minor fixups

Thanks,
Andrew

Andrew F. Davis (2):
  hwmon: Define binding for the INA3221 hwmon driver
  hwmon: Add support for INA3221 Triple Current/Voltage Monitors

 .../devicetree/bindings/hwmon/ina3221.txt          |  19 +
 Documentation/hwmon/ina3221                        |  35 ++
 drivers/hwmon/Kconfig                              |  11 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/ina3221.c                            | 423 +++++++++++++++++++++
 5 files changed, 489 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ina3221.txt
 create mode 100644 Documentation/hwmon/ina3221
 create mode 100644 drivers/hwmon/ina3221.c

-- 
2.8.1



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds