Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: watchdog: toshiba,visconti-wdt: Update the common clock properties

The clock for this driver switched to the common clock controller driver.
Therefore, update common clock properties for watchdog in the binding document.
And this matched this example with the actual dts.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220525004605.2128727-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Nobuhiro Iwamatsu and committed by
Wim Van Sebroeck
434e5f93 b90cb105

+4 -8
+4 -8
Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml
··· 35 35 36 36 examples: 37 37 - | 38 + #include <dt-bindings/clock/toshiba,tmpv770x.h> 39 + 38 40 soc { 39 41 #address-cells = <2>; 40 42 #size-cells = <2>; 41 43 42 - wdt_clk: wdt-clk { 43 - compatible = "fixed-clock"; 44 - clock-frequency = <150000000>; 45 - #clock-cells = <0>; 46 - }; 47 - 48 - watchdog@28330000 { 44 + wdt: watchdog@28330000 { 49 45 compatible = "toshiba,visconti-wdt"; 50 46 reg = <0 0x28330000 0 0x1000>; 51 - clocks = <&wdt_clk>; 52 47 timeout-sec = <20>; 48 + clocks = <&pismu TMPV770X_CLK_WDTCLK>; 53 49 }; 54 50 };