[PATCH 1/2] powerpc/powernv: Add OPAL interfaces for accessing and modifying system LED states
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Mar 20 08:35:11 AEDT 2015
Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> From: Anshuman Khandual <khandual at linux.vnet.ibm.com>
>
> 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 at linux.vnet.ibm.com>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
I also just merged the skiboot side of these calls.
Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>
Tested-by: Stewart Smith <stewart at linux.vnet.ibm.com>
(well, it boots, interacts with firmware. I didn't go and look at the
LEDs themselves).
More information about the Linuxppc-dev
mailing list