[PATCH v3 0/3] hwmon: Add attributes to enable/disable sensors

From: Shilpasri G Bhat
Date: Thu Jul 05 2018 - 09:52:39 EST


This patch series adds new attribute to enable or disable a sensor in
runtime.

v2 : https://lkml.org/lkml/2018/7/4/263
v1 : https://lkml.org/lkml/2018/3/22/214

Shilpasri G Bhat (3):
powernv:opal-sensor-groups: Add support to enable sensor groups
hwmon: ibmpowernv: Add attributes to enable/disable sensor groups
hwmon: Document the sensor enable attribute and update ibmpowernv

Documentation/hwmon/ibmpowernv | 35 +++-
Documentation/hwmon/sysfs-interface | 82 +++++++++
arch/powerpc/include/asm/opal-api.h | 1 +
arch/powerpc/include/asm/opal.h | 2 +
.../powerpc/platforms/powernv/opal-sensor-groups.c | 28 ++++
arch/powerpc/platforms/powernv/opal-wrappers.S | 1 +
drivers/hwmon/ibmpowernv.c | 184 +++++++++++++++++----
7 files changed, 302 insertions(+), 31 deletions(-)

--
1.8.3.1