linux-mips
[Top] [All Lists]

Re: [PATCH v5 3/8] Loongson: YeeLoong: add backlight driver

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v5 3/8] Loongson: YeeLoong: add backlight driver
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Mon, 30 Nov 2009 13:22:53 +0800
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-mips@linux-mips.org, zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, Richard Purdie <rpurdie@rpsys.net>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=fAKhuuVj1/I/dmptQF1uUdQB+rfkh9pKXS2QVv30ifs=; b=B8SLZvjKYvMB5pPT3JwFgBJAXyHV+OpQBYP8XCGDEipLO9ts4TQG7WTPzCgmyRpFFa myXs1LJl21BJRuXigxbxjJShdXJzf4AE/mYQJlGTDoUFQpLF2dQNIXaJeH/ZuevPt8QV 1hjwzHgboviNsFcsUD1f4bDr70CsgTKTaBx+A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=bxGVJIrkHu+1xeAsHQQ8yy5lW+Rk5KQiNTd9S/NT5R1q5tpFV7ErKHmPVydPDHBO/+ utM2kIIDiJikRT+bERPLKHn60R5GqmNoqjRIidn5bxpyHHBYktOw+FNivw7DoyJghrmI kEDx7doQnSMFDSoX0krze6APoIIsoYepzzAhE=
In-reply-to: <23a22d9d675a53c962500ee88db7f6cd2192e8db.1259414649.git.wuzhangjin@gmail.com>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1259414649.git.wuzhangjin@gmail.com> <23a22d9d675a53c962500ee88db7f6cd2192e8db.1259414649.git.wuzhangjin@gmail.com>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Sat, 2009-11-28 at 21:36 +0800, Wu Zhangjin wrote:
> From: Wu Zhangjin <wuzhangjin@gmail.com>
> 
> This patch adds YeeLoong Backlight Driver, which provides standard
> interface for user-space applications to control the brightness of the
> backlight.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
> ---
>  .../loongson/lemote-2f/yeeloong_laptop/Kconfig     |    9 ++-
>  .../loongson/lemote-2f/yeeloong_laptop/Makefile    |    2 +
>  .../loongson/lemote-2f/yeeloong_laptop/backlight.c |   93 
> ++++++++++++++++++++
>  .../lemote-2f/yeeloong_laptop/ec_kb3310b.h         |    1 +
>  4 files changed, 104 insertions(+), 1 deletions(-)
>  create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/backlight.c
> 
> diff --git a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig 
> b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> index d6df9b7..02d36d8 100644
> --- a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> +++ b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> @@ -10,6 +10,13 @@ menuconfig LEMOTE_YEELOONG2F
>  
>  if LEMOTE_YEELOONG2F
>  
> -
> +config YEELOONG_BACKLIGHT
> +     tristate "Backlight Driver"
> +     select BACKLIGHT_CLASS_DEVICE

Will use "depend" instead in the next version.

Best Regards,
        Wu Zhangjin


<Prev in Thread] Current Thread [Next in Thread>