diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-12-18 11:10:54 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-12-19 01:57:44 +0100 |
commit | 71ac13457d9d1007effde65b54818106b2c2b525 (patch) | |
tree | 13a8ecc7ed7ff175f19111dd52d40ae7bb4e3eba /arch | |
parent | 320d159e2d63a97a40f24cd6dfda5a57eec65b91 (diff) |
rtc: pcf2127: only use watchdog when explicitly available
Most boards using the pcf2127 chip (in my bubble) don't make use of the
watchdog functionality and the respective output is not connected. The
effect on such a board is that there is a watchdog device provided that
doesn't work.
So only register the watchdog if the device tree has a "reset-source"
property.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[RV: s/has-watchdog/reset-source/]
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201218101054.25416-3-rasmus.villemoes@prevas.dk
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions