summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal.c
diff options
context:
space:
mode:
authorAnshuman Khandual2015-08-19 18:49:52 +0200
committerMichael Ellerman2015-08-20 10:19:07 +0200
commit8a8d91817aec6b9ca7a289891f9e6f721100ec09 (patch)
tree494f4657cec3cb7a34b42ca5ba6c1ca5231d3cf7 /arch/powerpc/platforms/powernv/opal.c
parentpowerpc/powernv: Fix the log message when disabling VF (diff)
downloadkernel-qcow2-linux-8a8d91817aec6b9ca7a289891f9e6f721100ec09.tar.gz
kernel-qcow2-linux-8a8d91817aec6b9ca7a289891f9e6f721100ec09.tar.xz
kernel-qcow2-linux-8a8d91817aec6b9ca7a289891f9e6f721100ec09.zip
powerpc/powernv: Add OPAL interfaces for accessing and modifying system LED states
This patch registers the following two new OPAL interfaces calls for the platform LED subsystem. With the help of these new OPAL calls, the kernel will be able to get or set the state of various individual LEDs on the system at any given location code which is passed through the LED specific device tree nodes. (1) OPAL_LEDS_GET_INDICATOR opal_leds_get_ind (2) OPAL_LEDS_SET_INDICATOR opal_leds_set_ind Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com> Tested-by: Stewart Smith <stewart@linux.vnet.ibm.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal.c')
0 files changed, 0 insertions, 0 deletions