|
@@ -14,8 +14,10 @@
|
|
|
|
|
|
#include <linux/mm.h>
|
|
#include <linux/mm.h>
|
|
#include <linux/init.h>
|
|
#include <linux/init.h>
|
|
|
|
+#include <linux/f75375s.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/pci.h>
|
|
#include <linux/pci.h>
|
|
|
|
+#include <linux/pm.h>
|
|
#include <linux/string.h>
|
|
#include <linux/string.h>
|
|
#include <linux/slab.h>
|
|
#include <linux/slab.h>
|
|
#include <linux/serial_core.h>
|
|
#include <linux/serial_core.h>
|
|
@@ -167,11 +169,21 @@ static struct platform_device glantank_serial_device = {
|
|
.resource = &glantank_uart_resource,
|
|
.resource = &glantank_uart_resource,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct f75375s_platform_data glantank_f75375s = {
|
|
|
|
+ .pwm = { 255, 255 },
|
|
|
|
+ .pwm_enable = { 0, 0 },
|
|
|
|
+};
|
|
|
|
+
|
|
static struct i2c_board_info __initdata glantank_i2c_devices[] = {
|
|
static struct i2c_board_info __initdata glantank_i2c_devices[] = {
|
|
{
|
|
{
|
|
I2C_BOARD_INFO("rtc-rs5c372", 0x32),
|
|
I2C_BOARD_INFO("rtc-rs5c372", 0x32),
|
|
.type = "rs5c372a",
|
|
.type = "rs5c372a",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ I2C_BOARD_INFO("f75375", 0x2e),
|
|
|
|
+ .type = "f75375",
|
|
|
|
+ .platform_data = &glantank_f75375s,
|
|
|
|
+ },
|
|
};
|
|
};
|
|
|
|
|
|
static void glantank_power_off(void)
|
|
static void glantank_power_off(void)
|