linux-mips
[Top] [All Lists]

Re: [PATCH v9 5/8] Loongson: YeeLoong: add hardware monitoring dr

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH v9 5/8] Loongson: YeeLoong: add hardware monitoring driver
From: Pavel Machek <pavel@ucw.cz>
Date: Tue, 8 Dec 2009 16:02:30 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, akpm@linux-foundation.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, "Rafael J . Wysocki" <rjw@sisk.pl>, zhangfx@lemote.com, linux-laptop@vger.kernel.org, Stephen Rothwell <sfr@canb.auug.org.au>
In-reply-to: <5e9acb4cd757075f617daa45cbd6f5fad94678ac.1260281599.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1260281599.git.wuzhangjin@gmail.com> <5e9acb4cd757075f617daa45cbd6f5fad94678ac.1260281599.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
Hi!

> This patch adds hardware monitoring driver, it provides standard
> interface(/sys/class/hwmon/) for lm-sensors/sensors-applet to monitor
> the temperatures of CPU and battery, the PWM of fan, the current,
> voltage of battery.

It is probably ok for now, but in future current/voltage of battery
should be exported as power_supply class (drivers/power)...
                                                                Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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