RE: [PATCH V3 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations

2020-07-30 Thread Anson Huang
Hi, Guenter > Subject: Re: [PATCH V3 1/2] watchdog: imx7ulp: Strictly follow the sequence > for wdog operations > > On Thu, Jul 30, 2020 at 10:03:10AM +0800, Anson Huang wrote: > > According to reference manual, the i.MX7ULP WDOG's operations except > > refresh shou

Re: [PATCH V3 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations

2020-07-30 Thread Guenter Roeck
On Thu, Jul 30, 2020 at 10:03:10AM +0800, Anson Huang wrote: > According to reference manual, the i.MX7ULP WDOG's operations except > refresh should follow below sequence: > > 1. disable global interrupts; > 2. unlock the wdog and wait unlock bit set; > 3. reconfigure the wdog and wait for

[PATCH V3 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations

2020-07-29 Thread Anson Huang
According to reference manual, the i.MX7ULP WDOG's operations except refresh should follow below sequence: 1. disable global interrupts; 2. unlock the wdog and wait unlock bit set; 3. reconfigure the wdog and wait for reconfiguration bit set; 4. enabel global interrupts. Strictly follow the