]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ingenic: DTS: Fix watchdog nodes
authorPaul Cercueil <paul@crapouillou.net>
Tue, 11 Feb 2020 14:53:37 +0000 (11:53 -0300)
committerPaul Burton <paulburton@kernel.org>
Wed, 19 Feb 2020 18:52:35 +0000 (10:52 -0800)
commiteab71ec9db1142366d76fad66413d932edb29682
tree9b70dd760b96b308c933a061706281617cc8615c
parent339bac21a72f7598dd511d82ac3eadb61d1e399a
MIPS: ingenic: DTS: Fix watchdog nodes

The devicetree ABI was broken on purpose by commit fb0b5a496944
("watchdog: jz4740: Use regmap provided by TCU driver"), and
commit 2537ba423b71 ("watchdog: jz4740: Use WDT clock provided
by TCU driver"). The commit message of the latter explains why the ABI
was broken.

However, the current devicetree files were not updated to the new ABI
described in Documentation/devicetree/bindings/timer/ingenic,tcu.txt,
so the watchdog driver would not probe.

Fix this problem by updating the watchdog nodes to comply with the new
ABI.

Fixes: fb0b5a496944 ("watchdog: jz4740: Use regmap provided by TCU driver")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Zhou Yanjie <zhouyanjie@wanyeetech.com>
Cc: od@zcrc.me
Cc: linux-mips@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: <stable@vger.kernel.org> # v5.5+
arch/mips/boot/dts/ingenic/jz4740.dtsi
arch/mips/boot/dts/ingenic/jz4780.dtsi