From 85ec1499aff7f9144f376bf341fdcbfa3cfb57b2 Mon Sep 17 00:00:00 2001 From: Gordon Farquharson Date: Fri, 14 Mar 2008 04:07:46 +0100 Subject: [PATCH] --- yaml --- r: 87551 b: refs/heads/master c: 4e7ffb6ab4c42740eaf8b8d905e95f106d9eb022 h: refs/heads/master i: 87549: d509fac07123f9a0ffb63d60911d670bc95f13fd 87547: 1273b76d07281a8eb507296236b43b3a56268493 87543: e84ab466c47b9a733a416da955760eb1843e4982 87535: 6c85178cc6215808046fcf476590c1956e40f751 87519: 22dcdb38f2fcce9a80133323b2403ac2f2671558 87487: de8df1539f3811394ee55c51ea7f815189248de2 87423: aa2371e980e7e8982292b23d6f0ce2d97da7c310 87295: 47bd6e8bbe3ee18cefebd4b2f67e30c4477aa494 87039: 0da71f2c2630dfb8d3c1a6fdcb775113c1de9301 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-iop32x/glantank.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a1926fe7097a..d0745af3bbf6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 391c569daa6e4e999592966e29c146dfc4de9a9c +refs/heads/master: 4e7ffb6ab4c42740eaf8b8d905e95f106d9eb022 diff --git a/trunk/arch/arm/mach-iop32x/glantank.c b/trunk/arch/arm/mach-iop32x/glantank.c index 74c65ce221de..d2a7b04f1cb0 100644 --- a/trunk/arch/arm/mach-iop32x/glantank.c +++ b/trunk/arch/arm/mach-iop32x/glantank.c @@ -14,8 +14,10 @@ #include #include +#include #include #include +#include #include #include #include @@ -167,11 +169,21 @@ static struct platform_device glantank_serial_device = { .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[] = { { I2C_BOARD_INFO("rtc-rs5c372", 0x32), .type = "rs5c372a", }, + { + I2C_BOARD_INFO("f75375", 0x2e), + .type = "f75375", + .platform_data = &glantank_f75375s, + }, }; static void glantank_power_off(void)