On 04/30/2015 07:59 PM, Jacek Anaszewski wrote: > Hi Vasant, > Hi Jacek,
.../... >> diff --git a/Documentation/devicetree/bindings/leds/leds-powernv.txt >> b/Documentation/devicetree/bindings/leds/leds-powernv.txt >> new file mode 100644 >> index 0000000..6bb0e7e >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/leds/leds-powernv.txt >> @@ -0,0 +1,29 @@ >> +Device Tree binding for LEDs on IBM Power Systems >> +------------------------------------------------- >> + >> +The 'led' node under '/ibm,opal' lists service indicators available in the >> +system and their capabilities. >> + >> +led { >> + compatible = "ibm,opal-v3-led"; >> + phandle = <0x1000006b>; >> + linux,phandle = <0x1000006b>; >> + led-mode = "lightpath"; >> + >> + U78C9.001.RST0027-P1-C1 { >> + led-types = "identify", "fault"; >> + led-loc = "descendent"; >> + phandle = <0x1000006f>; >> + linux,phandle = <0x1000006f>; >> + }; >> + ... >> + ... >> +}; >> + >> +Each node under 'led' node describes location code of FRU/Enclosure. >> + >> +The properties under each node: >> + >> + led-types : Supported LED types (attention/identify/fault). >> + >> + led-loc : enclosure/descendent(FRU) location code. > > DT documentation it usually constructed so that properties are > described in the beginning and the file ends with an example. > > Also last time I mistakenly requested to remove description of > compatible property, but it should also be present here and > the entry should described it in detail, like: > > - compatible : Should be "ibm,opal-v3-led". That's fine. I will fix it in v5. > > Please refer to the other bindings, > > I will express my opinion on the LED part after powerpc maintainer > will ack DT bindings. > Sure.. @Ben/Michael, Can you please review/ack this patchset? -Vasant _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev