Re: [PATCH u-boot-mvebu] watchdog: armada_37xx: Probe driver also when watchdog is already running

2022-03-08 Thread Stefan Roese
On 2/23/22 14:21, Pali Rohár wrote: If Armada 37xx watchdog is started before U-Boot then CNTR_CTRL_ACTIVE bit is set, U-Boot armada-37xx-wdt.c driver fails to initialize and so U-Boot is unable to use or kick this watchdog. Do not check for CNTR_CTRL_ACTIVE bit and always initialize watchdog.

Re: [PATCH u-boot-mvebu] watchdog: armada_37xx: Probe driver also when watchdog is already running

2022-03-03 Thread Stefan Roese
On 2/23/22 14:21, Pali Rohár wrote: If Armada 37xx watchdog is started before U-Boot then CNTR_CTRL_ACTIVE bit is set, U-Boot armada-37xx-wdt.c driver fails to initialize and so U-Boot is unable to use or kick this watchdog. Do not check for CNTR_CTRL_ACTIVE bit and always initialize watchdog.

Re: [PATCH u-boot-mvebu] watchdog: armada_37xx: Probe driver also when watchdog is already running

2022-02-23 Thread Marek Behún
On Wed, 23 Feb 2022 14:21:40 +0100 Pali Rohár wrote: > If Armada 37xx watchdog is started before U-Boot then CNTR_CTRL_ACTIVE bit > is set, U-Boot armada-37xx-wdt.c driver fails to initialize and so U-Boot > is unable to use or kick this watchdog. > > Do not check for CNTR_CTRL_ACTIVE bit and

[PATCH u-boot-mvebu] watchdog: armada_37xx: Probe driver also when watchdog is already running

2022-02-23 Thread Pali Rohár
If Armada 37xx watchdog is started before U-Boot then CNTR_CTRL_ACTIVE bit is set, U-Boot armada-37xx-wdt.c driver fails to initialize and so U-Boot is unable to use or kick this watchdog. Do not check for CNTR_CTRL_ACTIVE bit and always initialize watchdog. Same behavior is implemented in Linux