[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB9PR10MB46520380861FA72192C0740080AE9@DB9PR10MB4652.EURPRD10.PROD.OUTLOOK.COM>
Date: Mon, 4 Oct 2021 15:29:16 +0000
From: Adam Thomson <Adam.Thomson.Opensource@...semi.com>
To: Alexandre Ghiti <alexandre.ghiti@...onical.com>,
Adam Thomson <Adam.Thomson.Opensource@...semi.com>
CC: Support Opensource <Support.Opensource@...semi.com>,
Lee Jones <lee.jones@...aro.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] drivers: mfd: da9063: Add restart notifier implementation
On 30 September 2021 10:55, Alexandre Ghiti wrote:
> > So I've discussed this internally and so far it's not completely clear how the
> > sequence you provided actually performs the reset as you suggest. It certainly
> > doesn't look like it should, so maybe this relates to an external pin somehow
> > triggering the restart in this particular scenario? I'd be interested to
> > understand which event bits are set when the board does restart to
> understand
> > what did actually trigger the boot-up.
>
> After clearing all those registers and a reset as done in this patch,
> I get the following values:
>
> FAULT_LOG: 0x00
> EVENT_A: 0x10 => As per the datasheet, "Sequencer reached final
> position caused event" ?
> EVENT_B: 0x00
> EVENT_C: 0x00
> EVENT_D: 0x00
>
> Do you need any other info?
Sadly that didn't show anything useful. The 'Sequencer' event will happen on
various power transitions so doesn't give us any clue as to the trigger here.
Think the next step would be to probe the various wake related pins of DA9063
to see their states during this process just in case there's anything useful
there, although I'd expect the event bits to mirror what was happening.
Powered by blists - more mailing lists