-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'linux-watchdog-5.9-rc1' of git://www.linux-watchdog.org/li…
…nux-watchdog Pull watchdog updates from Wim Van Sebroeck: - f71808e_wdt imporvements - dw_wdt improvements - mlx-wdt: support new watchdog type with longer timeout period - fallthrough pseudo-keyword replacements - overall small fixes and improvements * tag 'linux-watchdog-5.9-rc1' of git://www.linux-watchdog.org/linux-watchdog: (35 commits) watchdog: rti-wdt: balance pm runtime enable calls watchdog: rti-wdt: attach to running watchdog during probe watchdog: add support for adjusting last known HW keepalive time watchdog: use __watchdog_ping in startup watchdog: softdog: Add options 'soft_reboot_cmd' and 'soft_active_on_boot' watchdog: pcwd_usb: remove needless check before usb_free_coherent() watchdog: Replace HTTP links with HTTPS ones dt-bindings: watchdog: renesas,wdt: Document r8a774e1 support watchdog: initialize device before misc_register watchdog: booke_wdt: Add common nowayout parameter driver watchdog: scx200_wdt: Use fallthrough pseudo-keyword watchdog: Use fallthrough pseudo-keyword watchdog: f71808e_wdt: do stricter parameter validation watchdog: f71808e_wdt: clear watchdog timeout occurred flag watchdog: f71808e_wdt: remove use of wrong watchdog_info option watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options docs: watchdog: codify ident.options as superset of possible status flags dt-bindings: watchdog: Add compatible for QCS404, SC7180, SDM845, SM8150 dt-bindings: watchdog: Convert QCOM watchdog timer bindings to YAML watchdog: dw_wdt: Add DebugFS files ...
- Loading branch information
Showing
62 changed files
with
1,032 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/watchdog/qcom-wdt.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer | ||
|
||
maintainers: | ||
- Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> | ||
|
||
allOf: | ||
- $ref: watchdog.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,apss-wdt-qcs404 | ||
- qcom,apss-wdt-sc7180 | ||
- qcom,apss-wdt-sdm845 | ||
- qcom,apss-wdt-sm8150 | ||
- qcom,kpss-timer | ||
- qcom,kpss-wdt | ||
- qcom,kpss-wdt-apq8064 | ||
- qcom,kpss-wdt-ipq4019 | ||
- qcom,kpss-wdt-ipq8064 | ||
- qcom,kpss-wdt-msm8960 | ||
- qcom,scss-timer | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
|
||
examples: | ||
- | | ||
watchdog@208a038 { | ||
compatible = "qcom,kpss-wdt-ipq8064"; | ||
reg = <0x0208a038 0x40>; | ||
clocks = <&sleep_clk>; | ||
timeout-sec = <10>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Synopsys Designware Watchdog Timer | ||
|
||
allOf: | ||
- $ref: "watchdog.yaml#" | ||
|
||
maintainers: | ||
- Jamie Iles <jamie@jamieiles.com> | ||
|
||
properties: | ||
compatible: | ||
const: snps,dw-wdt | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
description: DW Watchdog pre-timeout interrupt | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
items: | ||
- description: Watchdog timer reference clock | ||
- description: APB3 interface clock | ||
|
||
clock-names: | ||
minItems: 1 | ||
items: | ||
- const: tclk | ||
- const: pclk | ||
|
||
resets: | ||
description: Phandle to the DW Watchdog reset lane | ||
maxItems: 1 | ||
|
||
snps,watchdog-tops: | ||
$ref: /schemas/types.yaml#/definitions/uint32-array | ||
description: | | ||
DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs). | ||
Each TOP is a number loaded into the watchdog counter at the moment of | ||
the timer restart. The counter decrementing happens each tick of the | ||
reference clock. Therefore the TOPs array is equivalent to an array of | ||
the timer expiration intervals supported by the DW APB Watchdog. Note | ||
DW APB Watchdog IP-core might be synthesized with fixed TOP values, | ||
in which case this property is unnecessary with default TOPs utilized. | ||
default: [0x0001000 0x0002000 0x0004000 0x0008000 | ||
0x0010000 0x0020000 0x0040000 0x0080000 | ||
0x0100000 0x0200000 0x0400000 0x0800000 | ||
0x1000000 0x2000000 0x4000000 0x8000000] | ||
minItems: 16 | ||
maxItems: 16 | ||
|
||
unevaluatedProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
|
||
examples: | ||
- | | ||
watchdog@ffd02000 { | ||
compatible = "snps,dw-wdt"; | ||
reg = <0xffd02000 0x1000>; | ||
interrupts = <0 171 4>; | ||
clocks = <&per_base_clk>; | ||
resets = <&wdt_rst>; | ||
}; | ||
- | | ||
watchdog@ffd02000 { | ||
compatible = "snps,dw-wdt"; | ||
reg = <0xffd02000 0x1000>; | ||
interrupts = <0 171 4>; | ||
clocks = <&per_base_clk>; | ||
clock-names = "tclk"; | ||
snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF | ||
0x000007FF 0x0000FFFF 0x0001FFFF | ||
0x0003FFFF 0x0007FFFF 0x000FFFFF | ||
0x001FFFFF 0x003FFFFF 0x007FFFFF | ||
0x00FFFFFF 0x01FFFFFF 0x03FFFFFF | ||
0x07FFFFFF>; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.