forked from torvalds/linux
-
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-6.4-rc1' of git://www.linux-watchdog.org/li…
…nux-watchdog Pull watchdog updates from Wim Van Sebroeck: - Add watchdog driver for StarFive JH7100 and JH7110 Soc - Add Rockchip RK3588 devices - Add Qualcom IPQ5332 APSS, QCM2290 KPSS and SM6115 SoC devices - Add Mediatke MT8365 and MT6735 devices - Watchdog-core: Always set WDOG_HW_RUNNING when starting watchdog - Convert watchdog platform drivers to return void on the remove callback - Convert to devm_clk_get_enabled() helpers - ... and other small fixes and improvements * tag 'linux-watchdog-6.4-rc1' of git://www.linux-watchdog.org/linux-watchdog: (72 commits) watchdog: dw_wdt: Simplify clk management watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe() watchdog: starfive: Fix the warning of starfive_wdt_match watchdog: starfive: Fix the probe return error if PM and early_enable are both disabled MAINTAINERS: Add fragment for Xilinx watchdog driver watchdog: menz069_wdt: fix timeout setting watchdog: menz069_wdt: fix watchdog initialisation dt-bindings: watchdog: alphascale-asm9260: convert to DT schema watchdog: loongson1_wdt: Implement restart handler dt-bindings: watchdog: Document Qualcomm SM6115 watchdog dt-bindings: watchdog: realtek,otto-wdt: simplify requiring interrupt-names dt-bindings: watchdog: toshiba,visconti-wdt: simplify with unevaluatedProperties dt-bindings: watchdog: fsl-imx7ulp-wdt: simplify with unevaluatedProperties dt-bindings: watchdog: arm,sp805: drop unneeded minItems dt-bindings: watchdog: drop duplicated GPIO watchdog bindings dt-bindings: reset: Add binding for MediaTek MT6735 TOPRGU/WDT drivers: watchdog: Add StarFive Watchdog driver dt-bindings: watchdog: Add watchdog for StarFive JH7100 and JH7110 dt-bindings: watchdog: indentation, quotes and white-space cleanup watchdog: ebc-c384_wdt: Mark status as orphaned ...
- Loading branch information
Showing
74 changed files
with
1,154 additions
and
560 deletions.
There are no files selected for viewing
70 changes: 70 additions & 0 deletions
70
Documentation/devicetree/bindings/watchdog/alphascale,asm9260-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,70 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/watchdog/alphascale,asm9260-wdt.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Alphascale asm9260 Watchdog timer | ||
|
||
allOf: | ||
- $ref: watchdog.yaml# | ||
|
||
maintainers: | ||
- Oleksij Rempel <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: alphascale,asm9260-wdt | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: source clock, used for tick counter | ||
- description: ahb gate | ||
|
||
clock-names: | ||
items: | ||
- const: mod | ||
- const: ahb | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
reset-names: | ||
items: | ||
- const: wdt_rst | ||
|
||
alphascale,mode: | ||
description: | | ||
Specifies the reset mode of operation. If set to sw, then reset is handled | ||
via interrupt request, if set to debug, then it does nothing and logs. | ||
$ref: /schemas/types.yaml#/definitions/string | ||
enum: [hw, sw, debug] | ||
default: hw | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- interrupts | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/alphascale,asm9260.h> | ||
watchdog0: watchdog@80048000 { | ||
compatible = "alphascale,asm9260-wdt"; | ||
reg = <0x80048000 0x10>; | ||
clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>; | ||
clock-names = "mod", "ahb"; | ||
interrupts = <55>; | ||
timeout-sec = <30>; | ||
alphascale,mode = "hw"; | ||
}; |
35 changes: 0 additions & 35 deletions
35
Documentation/devicetree/bindings/watchdog/alphascale-asm9260.txt
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
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
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
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ title: GPIO-controlled Watchdog | |
|
||
maintainers: | ||
- Guenter Roeck <[email protected]> | ||
- Robert Marko <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
|
@@ -19,11 +20,23 @@ properties: | |
|
||
hw_algo: | ||
description: The algorithm used by the driver. | ||
enum: [ level, toggle ] | ||
oneOf: | ||
- description: | ||
Either a high-to-low or a low-to-high transition clears the WDT counter. | ||
The watchdog timer is disabled when GPIO is left floating or connected | ||
to a three-state buffer. | ||
const: toggle | ||
- description: | ||
Low or high level starts counting WDT timeout, the opposite level | ||
disables the WDT. | ||
Active level is determined by the GPIO flags. | ||
const: level | ||
|
||
hw_margin_ms: | ||
description: Maximum time to reset watchdog circuit (milliseconds). | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
minimum: 2 | ||
maximum: 65535 | ||
|
||
always-running: | ||
type: boolean | ||
|
@@ -42,7 +55,7 @@ required: | |
allOf: | ||
- $ref: watchdog.yaml# | ||
|
||
additionalProperties: false | ||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
|
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.