Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348132
b: refs/heads/master
c: 8899b8d
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Wim Van Sebroeck committed Jan 2, 2013
1 parent b89606e commit 3acd5ae
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 412b3729dd0234771c67452b8999191f1e8d8630
refs/heads/master: 8899b8d93ec64b7a8e54807a68a958e1206535e2
10 changes: 10 additions & 0 deletions trunk/Documentation/devicetree/bindings/watchdog/twl4030-wdt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Device tree bindings for twl4030-wdt driver (TWL4030 watchdog)

Required properties:
compatible = "ti,twl4030-wdt";

Example:

watchdog {
compatible = "ti,twl4030-wdt";
};
4 changes: 4 additions & 0 deletions trunk/arch/arm/boot/dts/twl4030.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
interrupts = <11>;
};

watchdog {
compatible = "ti,twl4030-wdt";
};

vdac: regulator-vdac {
compatible = "ti,twl4030-vdac";
regulator-min-microvolt = <1800000>;
Expand Down
11 changes: 9 additions & 2 deletions trunk/drivers/watchdog/twl4030_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,21 @@ static int twl4030_wdt_resume(struct platform_device *pdev)
#define twl4030_wdt_resume NULL
#endif

static const struct of_device_id twl_wdt_of_match[] = {
{ .compatible = "ti,twl4030-wdt", },
{ },
};
MODULE_DEVICE_TABLE(of, twl_wdt_of_match);

static struct platform_driver twl4030_wdt_driver = {
.probe = twl4030_wdt_probe,
.remove = twl4030_wdt_remove,
.suspend = twl4030_wdt_suspend,
.resume = twl4030_wdt_resume,
.driver = {
.owner = THIS_MODULE,
.name = "twl4030_wdt",
.owner = THIS_MODULE,
.name = "twl4030_wdt",
.of_match_table = twl_wdt_of_match,
},
};

Expand Down

0 comments on commit 3acd5ae

Please sign in to comment.