[PATCH v2 0/2] hwmon: Add attributes to enable/disable sensors

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Wed Jul 4 19:16:31 AEST 2018


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

v1 : https://lkml.org/lkml/2018/3/22/214

Shilpasri G Bhat (2):
  powernv:opal-sensor-groups: Add support to enable sensor groups
  hwmon: ibmpowernv: Add attributes to enable/disable sensor groups

 Documentation/hwmon/sysfs-interface                |  22 ++
 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                         | 281 ++++++++++++++++++---
 6 files changed, 296 insertions(+), 39 deletions(-)

-- 
1.8.3.1



More information about the Linuxppc-dev mailing list