51 lines
1.3 KiB
Diff
51 lines
1.3 KiB
Diff
Upstream status: Riku will submit it for 2.6.24
|
|
|
|
From d011b8868255310f214d848fa1543265753858bd Mon Sep 17 00:00:00 2001
|
|
From: riku.voipio@iki.fi <riku.voipio@movial.fi>
|
|
Date: Tue, 25 Sep 2007 16:33:24 +0300
|
|
Subject: [PATCH] On n2100 systems, set fans to full speed on default
|
|
|
|
|
|
Signed-off-by: Riku Voipio <Riku Voipio riku.voipio@movial.fi>
|
|
---
|
|
arch/arm/mach-iop32x/n2100.c | 11 +++++++++++
|
|
1 files changed, 11 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-iop32x/n2100.c b/arch/arm/mach-iop32x/n2100.c
|
|
index 1873bd8..5a4acff 100644
|
|
--- a/arch/arm/mach-iop32x/n2100.c
|
|
+++ b/arch/arm/mach-iop32x/n2100.c
|
|
@@ -16,6 +16,7 @@
|
|
|
|
#include <linux/mm.h>
|
|
#include <linux/init.h>
|
|
+#include <linux/f75375s.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/pci.h>
|
|
@@ -200,11 +201,21 @@ static struct platform_device n2100_serial_device = {
|
|
.resource = &n2100_uart_resource,
|
|
};
|
|
|
|
+static struct f75375s_platform_data n2100_f75375s = {
|
|
+ .pwm = { 255, 255},
|
|
+ .pwm_enable = { 0, 0 },
|
|
+};
|
|
+
|
|
static struct i2c_board_info __initdata n2100_i2c_devices[] = {
|
|
{
|
|
I2C_BOARD_INFO("rtc-rs5c372", 0x32),
|
|
.type = "rs5c372b",
|
|
},
|
|
+ {
|
|
+ I2C_BOARD_INFO("f75375", 0x2e),
|
|
+ .type = "f75375",
|
|
+ .platform_data = &n2100_f75375s,
|
|
+ },
|
|
};
|
|
|
|
/*
|
|
--
|
|
1.5.3.1
|
|
|