powerpc/powernv: Enable fetching of platform sensor data
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Fri, 7 Mar 2014 05:33:27 +0000 (11:03 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 23 Mar 2014 22:48:21 +0000 (09:48 +1100)
commit7224adbbb80329d1a3ec5aa98213b50365fcd246
tree0872fcc25c32930ba7d8427a58486ee5f2588ce6
parent4029cd66545f0a45258eda5313b7559bfeaaaae4
powerpc/powernv: Enable fetching of platform sensor data

This patch enables fetching of various platform sensor data through
OPAL and expects a sensor handle from the driver to pass to OPAL.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-sensor.c [new file with mode: 0644]
arch/powerpc/platforms/powernv/opal-wrappers.S