linux-mips
[Top] [All Lists]

Re: [PATCH v5 5/8] Loongson: YeeLoong: add hwmon driver

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v5 5/8] Loongson: YeeLoong: add hwmon driver
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Mon, 30 Nov 2009 13:20:32 +0800
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-mips@linux-mips.org, zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, lm-sensors@lm-sensors.org
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=nxagfkIO0WjkhzwxQ0XY2Sp4FHOFFCp383dy1SO5B50=; b=xinpe2CJ3C3sR6Wt8wpXZlyD9Z96jA89CQ82rpEmOPh3qV+dSXYQSwEXSkDmCCaT2V tNvsqdZ5WsPEAe2orJz89AeEW2LN05BC4nYJ7O/v5Byiq0tDaTcLHAmTv8HMZDPgMAlP DUClTAuBk4zeIa0HMW3nzaeEYtrXTzDcXAC4w=
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=erj8h4RfFp/wRbWyVOTazEyr7zEZYrTDD68H9m9qU7MDfJZ60eGe5VEhTKrgWqudUt HbU54erEcSugTQKdTtrL2agXRgF9B3kv1uwFH85j55k9p20rMJqtMk0oAMhWxr7cbh3V /yYjFVD3zZwdiXftFCSzetX93Rzv3f5kMTJYs=
In-reply-to: <ed9926f7d6acbf2abd2eb172ec5147e578dc8fb7.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> <ed9926f7d6acbf2abd2eb172ec5147e578dc8fb7.1259414649.git.wuzhangjin@gmail.com>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Sat, 2009-11-28 at 21:38 +0800, Wu Zhangjin wrote:
> From: Wu Zhangjin <wuzhangjin@gmail.com>
> 
> This patch adds hwmon driver for managing the temperature of battery,
> cpu and controlling the fan.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
> ---
>  .../loongson/lemote-2f/yeeloong_laptop/Kconfig     |    9 +
>  .../loongson/lemote-2f/yeeloong_laptop/Makefile    |    1 +
>  .../lemote-2f/yeeloong_laptop/ec_kb3310b.h         |    3 +
>  .../loongson/lemote-2f/yeeloong_laptop/hwmon.c     |  241 
> ++++++++++++++++++++
>  4 files changed, 254 insertions(+), 0 deletions(-)
>  create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/hwmon.c
> 
> diff --git a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig 
> b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> index e284c91..56cb584 100644
> --- a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> +++ b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> @@ -28,4 +28,13 @@ config YEELOONG_BATTERY
>         This option adds APM emulated Battery Driver, which provides standard
>         interface for user-space applications to manage the battery.
>  
> +config YEELOONG_HWMON
> +     tristate "Hardware Monitor Driver"
> +     select HWMON

Will use depend in the next version.

Best Regards,
        Wu Zhangjin


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