[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190529071112.16849-1-andrew.smirnov@gmail.com>
Date: Wed, 29 May 2019 00:11:10 -0700
From: Andrey Smirnov <andrew.smirnov@...il.com>
To: linux-pm@...r.kernel.org
Cc: Andrey Smirnov <andrew.smirnov@...il.com>,
Chris Healy <cphealy@...il.com>,
Lucas Stach <l.stach@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Guenter Roeck <linux@...ck-us.net>,
Sebastian Reichel <sre@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] HWMON compatibility layer for power supplies
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
Powered by blists - more mailing lists