linux/drivers
Shilpasri G Bhat e0da99123f hwmon: (ibmpowernv) Add attributes to enable/disable sensor groups
OPAL firmware provides the facility for some groups of sensors to be
enabled/disabled at runtime to give the user the option of using the
system resources for collecting these sensors or not.

For example, on POWER9 systems, the On Chip Controller (OCC) gathers
various system and chip level sensors and maintains their values in
main memory.

This patch provides support for enabling/disabling the sensor groups
like power, temperature, current and voltage.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
[stewart@linux.vnet.ibm.com: Commit message]
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-07-31 19:56:45 +10:00
..
accessibility
acpi acpi: Add helper for deactivating memory region 2018-06-25 21:30:12 +08:00
amba
android
ata
atm
auxdisplay
base PM / Domains: Rename opp_node to np 2018-06-25 09:41:37 +02:00
bcma
block for-linus-20180629 2018-06-30 10:47:46 -07:00
bluetooth
bus
cdrom
char Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
clk
clocksource Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-06-24 19:16:42 +08:00
connector
cpufreq cpufreq: powernv: Remove global pstate ramp-down timer in POWER9 2018-07-09 18:06:02 +10:00
cpuidle powernv/cpuidle: Use parsed device tree values for cpuidle_init 2018-07-31 19:56:44 +10:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-06-24 06:31:54 +08:00
dax dax: check for QUEUE_FLAG_DAX in bdev_dax_supported() 2018-06-28 16:06:08 -04:00
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware efi/libstub/tpm: Initialize efi_physical_addr_t vars to zero for mixed mode 2018-06-22 10:58:27 +02:00
fmc
fpga
fsi
gpio
gpu for-linus-20180629 2018-06-30 10:47:46 -07:00
hid
hsi
hv
hwmon hwmon: (ibmpowernv) Add attributes to enable/disable sensor groups 2018-07-31 19:56:45 +10:00
hwspinlock
hwtracing
i2c i2c: gpio: initialize SCL to HIGH again 2018-06-29 08:23:12 +02:00
ide
idle
iio iio: imu: inv_mpu6050: Fix probe() failure on older ACPI based machines 2018-06-24 14:50:52 +01:00
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-06-27 09:16:53 -07:00
iommu
ipack
irqchip irqchip/gic-v3-its: Fix reprogramming of redistributors on CPU hotplug 2018-06-22 14:22:02 +02:00
isdn Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
leds
lightnvm for-linus-20180623 2018-06-24 06:33:54 +08:00
macintosh macintosh/via-pmu: Disambiguate interrupt statistics 2018-07-31 19:56:43 +10:00
mailbox
mcb
md dm: prevent DAX mounts if not supported 2018-06-28 16:06:14 -04:00
media
memory
memstick
message
mfd
misc cxl: Fix wrong comparison in cxl_adapter_context_get() 2018-07-19 21:58:11 +10:00
mmc
mtd mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally 2018-06-22 18:47:56 +02:00
mux
net Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
nfc NFC: pn533: Fix wrong GFP flag usage 2018-06-25 21:36:45 +08:00
ntb
nubus
nvdimm pmem: only set QUEUE_FLAG_DAX for fsdax mode 2018-06-28 16:05:59 -04:00
nvme nvme-rdma: fix possible double free of controller async event buffer 2018-06-28 16:29:54 +02:00
nvmem
of
opp
oprofile
parisc
parport
pci PCI: controller: Move PCI_DOMAINS selection to arch Kconfig 2018-06-26 15:37:37 -05:00
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20180627 2018-06-27 09:42:16 -07:00
sfi
sh
siox
slimbus
sn
soc Qualcomm Fixes for v4.18-rc2 2018-06-26 10:42:31 -07:00
soundwire
spi
spmi
ssb
staging Staging/IIO fixes for 4.18-rc3 2018-07-01 12:20:20 -07:00
target
tc
tee
thermal
thunderbolt
tty tty: hvc: remove unexplained "just in case" spin delay 2018-07-24 22:09:58 +10:00
uio
usb powerpc/ps3: Set driver coherent_dma_mask 2018-07-20 12:50:37 +10:00
uwb
vfio powerpc/powernv/ioda: Allocate indirect TCE levels on demand 2018-07-16 22:53:11 +10:00
vhost vhost_net: validate sock before trying to put its fd 2018-06-23 10:23:49 +09:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen: fixes for 4.18-rc2 2018-06-23 20:44:11 +08:00
zorro
Kconfig
Makefile