Loading Documentation/devicetree/bindings/watchdog/twl4030-wdt.txt 0 → 100644 +10 −0 Original line number Diff line number Diff line Device tree bindings for twl4030-wdt driver (TWL4030 watchdog) Required properties: compatible = "ti,twl4030-wdt"; Example: watchdog { compatible = "ti,twl4030-wdt"; }; arch/arm/boot/dts/twl4030.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ interrupts = <11>; }; watchdog { compatible = "ti,twl4030-wdt"; }; vdac: regulator-vdac { compatible = "ti,twl4030-vdac"; regulator-min-microvolt = <1800000>; Loading drivers/watchdog/twl4030_wdt.c +9 −2 Original line number Diff line number Diff line Loading @@ -131,6 +131,12 @@ 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, Loading @@ -139,6 +145,7 @@ static struct platform_driver twl4030_wdt_driver = { .driver = { .owner = THIS_MODULE, .name = "twl4030_wdt", .of_match_table = twl_wdt_of_match, }, }; Loading Loading
Documentation/devicetree/bindings/watchdog/twl4030-wdt.txt 0 → 100644 +10 −0 Original line number Diff line number Diff line Device tree bindings for twl4030-wdt driver (TWL4030 watchdog) Required properties: compatible = "ti,twl4030-wdt"; Example: watchdog { compatible = "ti,twl4030-wdt"; };
arch/arm/boot/dts/twl4030.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ interrupts = <11>; }; watchdog { compatible = "ti,twl4030-wdt"; }; vdac: regulator-vdac { compatible = "ti,twl4030-vdac"; regulator-min-microvolt = <1800000>; Loading
drivers/watchdog/twl4030_wdt.c +9 −2 Original line number Diff line number Diff line Loading @@ -131,6 +131,12 @@ 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, Loading @@ -139,6 +145,7 @@ static struct platform_driver twl4030_wdt_driver = { .driver = { .owner = THIS_MODULE, .name = "twl4030_wdt", .of_match_table = twl_wdt_of_match, }, }; Loading