Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755578AbYBFQ1I (ORCPT ); Wed, 6 Feb 2008 11:27:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755223AbYBFQ0x (ORCPT ); Wed, 6 Feb 2008 11:26:53 -0500 Received: from wa-out-1112.google.com ([209.85.146.183]:6533 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755209AbYBFQ0w (ORCPT ); Wed, 6 Feb 2008 11:26:52 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:in-reply-to:references:organization:x-mailer:mime-version:content-type:content-transfer-encoding:from; b=pkp89D37Ew0jblrruml+3usNirvg8jbyAl58s2IFutCBygJtccdhugXqn6uczKDJ9PXoIigzJ2tM9Oc8j05EYZ15jLngE2pp7J9ezJYZWlgUoUOYur+kBmRbHCh825iuAUoOoR+JaY+wVyI9EBBIkfVkr/hTNXUVQnfKHQ8sUCA= Date: Wed, 6 Feb 2008 17:26:53 +0100 To: Roel Kluin <12o3l@tiscali.nl> Cc: Kristoffer Ericson , Russell King , rpurdie@openedhand.com, Linux-arm , linux-main Subject: Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds Message-Id: <20080206172653.17abd2e0.Kristoffer.ericson@gmail.com> In-Reply-To: <47A9A944.7090401@tiscali.nl> References: <20080205195331.fa2ca02b.Kristoffer.ericson@gmail.com> <47A9A944.7090401@tiscali.nl> Organization: JLime X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Kristoffer Ericson Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10285 Lines: 352 On Wed, 06 Feb 2008 13:34:12 +0100 Roel Kluin <12o3l@tiscali.nl> wrote: > Kristoffer Ericson wrote: > > Greetings, > > > > Richard I've cleaned up the driver by checking with checkpatch.pl as Russell suggested. I would appreciate it if you could > > look through the patch again and give comments since the patch looks somewhat different. > > > > I can add patch for Kconfig/Makefile later on but suspect there will be some changes required before that. > > > > Oh and to answer your question regarding MAX/MIN values of the backlight, 0 = max and 255 = min. So we simply turn it around > > by returning 255 - value. Same thing when we need to set value. > > > > Best wishes > > Kristoffer Ericson > > > > diff --git a/drivers/video/backlight/jornada720_bllcd.c b/drivers/video/backlight/jornada720_bllcd.c > > new file mode 100644 > > index 0000000..4967b86 > > --- /dev/null > > +++ b/drivers/video/backlight/jornada720_bllcd.c > > @@ -0,0 +1,284 @@ > > +/* > > + * drivers/video/backlight/jornada720_bllcd.c > > + * > > + * Backlight and LCD Driver for HP Jornada 720 > > + * Copyright (C) 2007 Kristoffer Ericson > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License version 2 > > + * or any later version as published by the Free Software Foundation. > > + * > > + */ > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include