[PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Apr 16 15:07:10 AEST 2015
On 04/16/2015 12:20 AM, Stewart Smith wrote:
> Jacek Anaszewski <j.anaszewski at samsung.com> writes:
>>> +static struct platform_driver powernv_led_driver = {
>>> + .probe = powernv_led_probe,
>>> + .remove = powernv_led_remove,
>>> + .driver = {
>>> + .name = "powernv-led-driver",
>>> + .owner = THIS_MODULE,
>>> + .of_match_table = powernv_led_match,
>>
>> Is somewhere DT documentation available for these leds?
>
> https://github.com/open-power/skiboot/blob/master/doc/device-tree/ibm%2Copal/led.txt
>
> We've been documenting things in firmware source, and I'm open to if we
> should mirror this somewhere (somewhere in linux Documentation/ ?).
Stewart,
I'm adding Documentation/devicetree/bindings/leds/leds-powernv.txt ...which is
pretty much similar to the device tree documentation we have in OPAL side.
>
> If we duplicate everything, we shouldn't let things get out of date.
-Vasant
More information about the Linuxppc-dev
mailing list