Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357595
b: refs/heads/master
c: b3aac62
h: refs/heads/master
i:
  357593: 28e43ee
  357591: 878337d
v: v3
  • Loading branch information
Fabio Baltieri authored and Samuel Ortiz committed Feb 13, 2013
1 parent 6e48504 commit 7098632
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0e5bd412fde30de3839c8dfa93a3e19e71ee462
refs/heads/master: b3aac62bbb1c3f8e71c88e6e477836def3058fe8
12 changes: 12 additions & 0 deletions trunk/drivers/mfd/db8500-prcmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <linux/regulator/db8500-prcmu.h>
#include <linux/regulator/machine.h>
#include <linux/cpufreq.h>
#include <linux/platform_data/ux500_wdt.h>
#include <asm/hardware/gic.h>
#include <mach/hardware.h>
#include <mach/irqs.h>
Expand Down Expand Up @@ -3074,6 +3075,11 @@ static struct resource ab8500_resources[] = {
}
};

static struct ux500_wdt_data db8500_wdt_pdata = {
.timeout = 600, /* 10 minutes */
.has_28_bits_resolution = true,
};

static struct mfd_cell db8500_prcmu_devs[] = {
{
.name = "db8500-prcmu-regulators",
Expand All @@ -3087,6 +3093,12 @@ static struct mfd_cell db8500_prcmu_devs[] = {
.platform_data = &db8500_cpufreq_table,
.pdata_size = sizeof(db8500_cpufreq_table),
},
{
.name = "ux500_wdt",
.platform_data = &db8500_wdt_pdata,
.pdata_size = sizeof(db8500_wdt_pdata),
.id = -1,
},
{
.name = "ab8500-core",
.of_compatible = "stericsson,ab8500",
Expand Down

0 comments on commit 7098632

Please sign in to comment.