diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 16:42:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 16:42:54 -0400 |
| commit | 833e68340d108d88f4cb79b7d7223f6859d362ca (patch) | |
| tree | 89f960431365ce2d47178c0620634b66979497fa | |
| parent | c55244137306b626bc64023fd7160985443205a7 (diff) | |
| parent | cce78da76601b64305c050f602767bf58cebcf5d (diff) | |
Merge git://www.linux-watchdog.org/linux-watchdog
Pull watchdog updates from Wim Van Sebroeck:
- lots of devm_ conversions and cleanup
- platform_set_drvdata cleanups
- s3c2410: dev_err/dev_info + dev_pm_ops
- watchdog_core: don't try to stop device if not running fix
- wdrtas: use print_hex_dump
- xilinx cleanups
- orion_wdt fixes
- softdog cleanup
- hpwdt: check on UEFI bits
- deletion of mpcore_wdt driver
- addition of broadcom BCM2835 watchdog timer driver
- addition of MEN A21 watcdog devices
* git://www.linux-watchdog.org/linux-watchdog: (38 commits)
watchdog: hpwdt: Add check for UEFI bits
watchdog: softdog: remove replaceable ping operation
watchdog: New watchdog driver for MEN A21 watchdogs
Watchdog: fix clearing of the watchdog interrupt
Watchdog: allow orion_wdt to be built for Dove
watchdog: Add Broadcom BCM2835 watchdog timer driver
watchdog: delete mpcore_wdt driver
watchdog: xilinx: Setup the origin compatible string
watchdog: xilinx: Fix driver header
watchdog: wdrtas: don't use custom version of print_hex_dump
watchdog: core: don't try to stop device if not running
watchdog: jz4740: Pass device to clk_get
watchdog: twl4030: Remove redundant platform_set_drvdata()
watchdog: mpcore: Remove redundant platform_set_drvdata()
watchdog: da9055: use platform_{get,set}_drvdata()
watchdog: da9052: use platform_{get,set}_drvdata()
watchdog: cpwd: use platform_{get,set}_drvdata()
watchdog: s3c2410_wdt: convert s3c2410wdt to dev_pm_ops
watchdog: s3c2410_wdt: use dev_err()/dev_info() instead of pr_err()/pr_info()
watchdog: wm831x: use platform_{get,set}_drvdata()
...
39 files changed, 629 insertions, 740 deletions
diff --git a/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt b/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt new file mode 100644 index 000000000000..370dee3226d9 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | Bindings for MEN A21 Watchdog device connected to GPIO lines | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: "men,a021-wdt" | ||
| 5 | - gpios: Specifies the pins that control the Watchdog, order: | ||
| 6 | 1: Watchdog enable | ||
| 7 | 2: Watchdog fast-mode | ||
| 8 | 3: Watchdog trigger | ||
| 9 | 4: Watchdog reset cause bit 0 | ||
| 10 | 5: Watchdog reset cause bit 1 | ||
| 11 | 6: Watchdog reset cause bit 2 | ||
| 12 | |||
| 13 | Optional properties: | ||
| 14 | - None | ||
| 15 | |||
| 16 | Example: | ||
| 17 | watchdog { | ||
| 18 | compatible ="men,a021-wdt"; | ||
| 19 | gpios = <&gpio3 9 1 /* WD_EN */ | ||
| 20 | &gpio3 10 1 /* WD_FAST */ | ||
| 21 | &gpio3 11 1 /* WD_TRIG */ | ||
| 22 | &gpio3 6 1 /* RST_CAUSE[0] */ | ||
| 23 | &gpio3 7 1 /* RST_CAUSE[1] */ | ||
| 24 | &gpio3 8 1>; /* RST_CAUSE[2] */ | ||
| 25 | }; | ||
diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt b/Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt index d209366b4a69..f801d71de1cd 100644 --- a/Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt +++ b/Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt | |||
| @@ -5,9 +5,14 @@ Required properties: | |||
| 5 | - compatible : should be "brcm,bcm2835-pm-wdt" | 5 | - compatible : should be "brcm,bcm2835-pm-wdt" |
| 6 | - reg : Specifies base physical address and size of the registers. | 6 | - reg : Specifies base physical address and size of the registers. |
| 7 | 7 | ||
| 8 | Optional properties: | ||
| 9 | |||
| 10 | - timeout-sec : Contains the watchdog timeout in seconds | ||
| 11 | |||
| 8 | Example: | 12 | Example: |
| 9 | 13 | ||
| 10 | watchdog { | 14 | watchdog { |
| 11 | compatible = "brcm,bcm2835-pm-wdt"; | 15 | compatible = "brcm,bcm2835-pm-wdt"; |
| 12 | reg = <0x7e100000 0x28>; | 16 | reg = <0x7e100000 0x28>; |
| 17 | timeout-sec = <10>; | ||
| 13 | }; | 18 | }; |
diff --git a/Documentation/watchdog/watchdog-parameters.txt b/Documentation/watchdog/watchdog-parameters.txt index 04fddbacdbde..f9492fed4104 100644 --- a/Documentation/watchdog/watchdog-parameters.txt +++ b/Documentation/watchdog/watchdog-parameters.txt | |||
| @@ -194,14 +194,6 @@ reset: Watchdog Interrupt/Reset Mode. 0 = interrupt, 1 = reset | |||
| 194 | nowayout: Watchdog cannot be stopped once started | 194 | nowayout: Watchdog cannot be stopped once started |
| 195 | (default=kernel config parameter) | 195 | (default=kernel config parameter) |
| 196 | ------------------------------------------------- | 196 | ------------------------------------------------- |
| 197 | mpcore_wdt: | ||
| 198 | mpcore_margin: MPcore timer margin in seconds. | ||
| 199 | (0 < mpcore_margin < 65536, default=60) | ||
| 200 | nowayout: Watchdog cannot be stopped once started | ||
| 201 | (default=kernel config parameter) | ||
| 202 | mpcore_noboot: MPcore watchdog action, set to 1 to ignore reboots, | ||
| 203 | 0 to reboot (default=0 | ||
| 204 | ------------------------------------------------- | ||
| 205 | mv64x60_wdt: | 197 | mv64x60_wdt: |
| 206 | nowayout: Watchdog cannot be stopped once started | 198 | nowayout: Watchdog cannot be stopped once started |
| 207 | (default=kernel config parameter) | 199 | (default=kernel config parameter) |
diff --git a/MAINTAINERS b/MAINTAINERS index 705681e5a6bb..4d43db629689 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -5387,6 +5387,12 @@ F: drivers/mtd/ | |||
| 5387 | F: include/linux/mtd/ | 5387 | F: include/linux/mtd/ |
| 5388 | F: include/uapi/mtd/ | 5388 | F: include/uapi/mtd/ |
| 5389 | 5389 | ||
| 5390 | MEN A21 WATCHDOG DRIVER | ||
| 5391 | M: Johannes Thumshirn <johannes.thumshirn@men.de> | ||
| 5392 | L: linux-watchdog@vger.kernel.org | ||
| 5393 | S: Supported | ||
| 5394 | F: drivers/watchdog/mena21_wdt.c | ||
| 5395 | |||
| 5390 | METAG ARCHITECTURE | 5396 | METAG ARCHITECTURE |
| 5391 | M: James Hogan <james.hogan@imgtec.com> | 5397 | M: James Hogan <james.hogan@imgtec.com> |
| 5392 | S: Supported | 5398 | S: Supported |
diff --git a/arch/arm/configs/spear13xx_defconfig b/arch/arm/configs/spear13xx_defconfig index 1fdb82694ca2..82eaa552ed14 100644 --- a/arch/arm/configs/spear13xx_defconfig +++ b/arch/arm/configs/spear13xx_defconfig | |||
| @@ -61,7 +61,6 @@ CONFIG_GPIO_SYSFS=y | |||
| 61 | CONFIG_GPIO_PL061=y | 61 | CONFIG_GPIO_PL061=y |
| 62 | # CONFIG_HWMON is not set | 62 | # CONFIG_HWMON is not set |
| 63 | CONFIG_WATCHDOG=y | 63 | CONFIG_WATCHDOG=y |
| 64 | CONFIG_MPCORE_WATCHDOG=y | ||
| 65 | # CONFIG_HID_SUPPORT is not set | 64 | # CONFIG_HID_SUPPORT is not set |
| 66 | CONFIG_USB=y | 65 | CONFIG_USB=y |
| 67 | # CONFIG_USB_DEVICE_CLASS is not set | 66 | # CONFIG_USB_DEVICE_CLASS is not set |
diff --git a/arch/arm/mach-dove/include/mach/bridge-regs.h b/arch/arm/mach-dove/include/mach/bridge-regs.h index 99f259e8cf33..5362df3df89f 100644 --- a/arch/arm/mach-dove/include/mach/bridge-regs.h +++ b/arch/arm/mach-dove/include/mach/bridge-regs.h | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) | 26 | #define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) |
| 27 | #define SOFT_RESET 0x00000001 | 27 | #define SOFT_RESET 0x00000001 |
| 28 | 28 | ||
| 29 | #define BRIDGE_CAUSE (BRIDGE_VIRT_BASE + 0x0110) | ||
| 29 | #define BRIDGE_INT_TIMER1_CLR (~0x0004) | 30 | #define BRIDGE_INT_TIMER1_CLR (~0x0004) |
| 30 | 31 | ||
| 31 | #define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) | 32 | #define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) |
diff --git a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h index d4cbe5e81bb4..91242c944d7a 100644 --- a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h +++ b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h | |||
| @@ -21,14 +21,12 @@ | |||
| 21 | #define CPU_RESET 0x00000002 | 21 | #define CPU_RESET 0x00000002 |
| 22 | 22 | ||
| 23 | #define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) | 23 | #define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) |
