Linux RTC
 help / color / mirror / Atom feed
* abx80x: RV-1805 initialization order correct?
@ 2020-05-29 11:13 Kevin P. Fleming
  2020-05-30 20:25 ` Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin P. Fleming @ 2020-05-29 11:13 UTC (permalink / raw)
  To: linux-rtc

The driver has a block of RV-1805-specific code (under the comment
'Configure RV1805 specifics'), which is executed before the part
autodetection code (under the comment 'part autodetection').

If the driver is loaded with the 'generic' device data for abx80x, and
the actual part in use is an RV-1805, the part-specific code won't be
executed. I'm using this driver in a dynamic Device Tree environment,
and at the moment I can't specify the part as the driver is loaded
(although I could modify the overlay to support that if required).

So the question is: does the RV-1805 specific code *have* to be
executed before part autodetection in order to avoid the lockup
situation mentioned in the comments, or could it be moved immediately
after the autodetection so that it will be always be executed for an
RV-1805 part?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-30 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29 11:13 abx80x: RV-1805 initialization order correct? Kevin P. Fleming
2020-05-30 20:25 ` Alexandre Belloni
2020-05-30 21:54   ` Kevin P. Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox