]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: X1000: Fix clock of watchdog node.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Sun, 16 Feb 2020 12:10:28 +0000 (20:10 +0800)
committerPaul Burton <paulburton@kernel.org>
Wed, 19 Feb 2020 18:49:44 +0000 (10:49 -0800)
commit6066ca6773c8d9d98d5e7e7627f9c150a9789105
treeaf9dcbd91791d0353c5e9a9fec1acec678e38a67
parent7339e1367298bc23d98ca462686b48e8f03cef8a
MIPS: X1000: Fix clock of watchdog node.

The devicetree ABI was broken on purpose by commit 4dde7907a165
("watchdog: jz4740: Use regmap provided by TCU driver"), and
commit 3aa304242c1e ("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 clock of watchdog node from
"&cgu X1000_CLK_RTCLK" to "&tcu TCU_CLK_WDT" to comply with the new
ABI.

Fixes: 78e1af7089ac ("[v8,1/4] MIPS: Ingenic: Add Ingenic X1000 support.").
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: paul@crapouillou.net
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: ralf@linux-mips.org
Cc: sernia.zhou@foxmail.com
Cc: zhenwenjin@gmail.com
Cc: dongsheng.qiu@ingenic.com
arch/mips/boot/dts/ingenic/x1000.dtsi