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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-11-28 at 21:38 +0800, Wu Zhangjin wrote:
> From: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
> 
> This patch adds hwmon driver for managing the temperature of battery,
> cpu and controlling the fan.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
> ---
>  .../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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux