Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753081AbZIGNWU (ORCPT ); Mon, 7 Sep 2009 09:22:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751924AbZIGNWU (ORCPT ); Mon, 7 Sep 2009 09:22:20 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:52635 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbZIGNWT (ORCPT ); Mon, 7 Sep 2009 09:22:19 -0400 Date: Mon, 7 Sep 2009 15:22:12 +0200 From: Pavel Machek To: Mark Brown Cc: Richard Purdie , linux-kernel@vger.kernel.org, Samuel Ortiz Subject: Re: [PATCH 2/2] leds: Add WM831x status LED driver Message-ID: <20090907132212.GA1739@ucw.cz> References: <1252156161-10062-1-git-send-email-broonie@opensource.wolfsonmicro.com> <1252156161-10062-2-git-send-email-broonie@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1252156161-10062-2-git-send-email-broonie@opensource.wolfsonmicro.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 21 On Sat 2009-09-05 14:09:21, Mark Brown wrote: > The WM831x devices feature two software controlled status LEDs with > hardware assisted blinking. > > The device can also autonomously control the LEDs based on a selection > of sources. This can be configured at boot time using either platform > data or the chip OTP. A sysfs file in the style of that for triggers > allowing the control source to be configured at run time. Triggers > can't be used here since they can't depend on the implementation details > of a specific LED type. I believe people *were* doing that with triggers in other drivers...? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/