On 12/14/23 2:45 PM, Claudiu wrote: > From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> > > The initialization sequence for PTP is the same for platforms with ccc_gac > and gptp (according to chapter "Figure 50.71 Flow of gPTP Initialization > (Normal, Common to All Modes)" of the R-Car Series, 3rd generation hardware Figure is hardly a chapter. :-) > manual and chapter "Figure 37A.53 Flow of gPTP Initialization (Normal, Here as well... > Common to All Modes)" of the RZ/G Series hardware manual). > > As some IP variants switch to reset mode (and thus registers' content is The register content. > lost) when setting clocks (due to module standby functionality) to be able > to implement runtime PM, move the PTP initialization to the driver's > ndo_open API. > > This commit prepares the code for the addition of runtime PM. > > Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx> [...] MBR, Sergey