On 04/16/2015 12:20 AM, Stewart Smith wrote: > Jacek Anaszewski <j.anaszew...@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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev