[PATCH v2 00/14] hwmon: (ina2xx) Cleanup and convert to use with_info API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clean up driver and convert to use with_info API to simplify driver
maintenance. Add support for reporting current limits.

v2:
- Added Reviewed-by: tags
- Fixed typos in commit description
- Dropped unrelated cosmetic changes
- Set .use_single_write and .use_single_read flags in regmap
  configuration
- Set latch bit only once when initializing the chip
- Added support for current limit attributes
- Use shunt voltage register to calculate current

----------------------------------------------------------------
Guenter Roeck (14):
      hwmon: (ina2xx) Reorder include files to alphabetic order
      hwmon: (ina2xx) Replace platform data with device properties
      hwmon: (ina2xx) Use bit operations
      hwmon: (ina2xx) Mark regmap_config as const
      hwmon: (ina2xx) Use local regmap pointer if used more than once
      hwmon: (ina2xx) Re-initialize chip using regmap functions
      hwmon: (ina2xx) Fix various overflow issues
      hwmon: (ina2xx) Consolidate chip initialization code
      hwmon: (ina2xx) Set alert latch
      hwmon: (ina2xx) Move ina2xx_get_value()
      hwmon: (ina2xx) Convert to use with_info hwmon API
      hwmon: (ina2xx) Pass register to alert limit write functions
      hwmon: (ina2xx) Add support for current limits
      hwmon: (ina2xx) Use shunt voltage to calculate current

 Documentation/hwmon/ina2xx.rst |   4 +
 drivers/hwmon/ina2xx.c         | 895 ++++++++++++++++++++++++-----------------
 2 files changed, 531 insertions(+), 368 deletions(-)




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux