Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753554Ab2KGXOh (ORCPT ); Wed, 7 Nov 2012 18:14:37 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:38592 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544Ab2KGXOg (ORCPT ); Wed, 7 Nov 2012 18:14:36 -0500 Message-ID: <509AEB59.7010504@wwwdotorg.org> Date: Wed, 07 Nov 2012 16:14:33 -0700 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Marek Belisko CC: cooloney@gmail.com, rpurdie@rpsys.net, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Subject: Re: [PATCH v2 2/2] Add documentation for tca6507 devicetree bindings. References: <1352321726-21284-1-git-send-email-marek.belisko@open-nandra.com> <1352321726-21284-2-git-send-email-marek.belisko@open-nandra.com> In-Reply-To: <1352321726-21284-2-git-send-email-marek.belisko@open-nandra.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 29 On 11/07/2012 01:55 PM, Marek Belisko wrote: > diff --git a/Documentation/devicetree/bindings/leds/tca6507.txt b/Documentation/devicetree/bindings/leds/tca6507.txt > +LEDs conected to tca6507 > + > +Required properties: > +- compatible : should be : "leds-tca6507". "ti,tca6507" would be more typical. > +Each led is represented as a sub-node of the leds-tca6507 device. > + > +LED sub-node properties: > +- label : label for this LED > +- reg : number of LED line (could be from 0 to 6) > +- linux,default-trigger : led default trigger You probably want to mention which binding document defines the valid values for that property; ../gpio/led.txt I think. I wonder if we need to think about representing the blinking/fading/... capabilities of the chip too? Should that be encoded into the DT, or should it be controlled at run-time via some LED subsystem? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/