public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] HWMON compatibility layer for power supplies
@ 2019-05-29  7:11 Andrey Smirnov
  2019-05-29  7:11 ` [PATCH 1/2] power: supply: Add HWMON compatibility layer Andrey Smirnov
  2019-05-29  7:11 ` [PATCH 2/2] power: supply: ucs1002: Add HWMON interface Andrey Smirnov
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Smirnov @ 2019-05-29  7:11 UTC (permalink / raw)
  To: linux-pm
  Cc: Andrey Smirnov, Chris Healy, Lucas Stach, Fabio Estevam,
	Guenter Roeck, Sebastian Reichel, linux-kernel

Everyone:

This small series contains the code I wrote to expose various power
supply sensors via HWMON layer in order to be able to access all of
the sensors in the system with libsensors. Not sure if this is an
something that can be accepted upstream, so I am hoping to get some
quick feedback.

Thanks,
Andrey Smirnov

Andrey Smirnov (2):
  power: supply: Add HWMON compatibility layer
  power: supply: ucs1002: Add HWMON interface

 drivers/power/supply/Kconfig              |  14 +
 drivers/power/supply/Makefile             |   1 +
 drivers/power/supply/power_supply_hwmon.c | 329 ++++++++++++++++++++++
 drivers/power/supply/ucs1002_power.c      |   9 +-
 include/linux/power_supply.h              |  11 +
 5 files changed, 363 insertions(+), 1 deletion(-)
 create mode 100644 drivers/power/supply/power_supply_hwmon.c

-- 
2.21.0


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

end of thread, other threads:[~2019-05-30 20:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-29  7:11 [PATCH 0/2] HWMON compatibility layer for power supplies Andrey Smirnov
2019-05-29  7:11 ` [PATCH 1/2] power: supply: Add HWMON compatibility layer Andrey Smirnov
2019-05-29 12:40   ` Guenter Roeck
2019-05-30 20:08     ` Andrey Smirnov
2019-05-30 20:32       ` Guenter Roeck
2019-05-29  7:11 ` [PATCH 2/2] power: supply: ucs1002: Add HWMON interface Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox