[PATCH v5 6/6] phy: exynos5-usbdrd: support SS combo phy for ExynosAutov920
Pritam Manohar Sutar
pritam.sutar at samsung.com
Tue Aug 19 00:44:30 PDT 2025
Hi Vinod,
> -----Original Message-----
> From: Vinod Koul <vkoul at kernel.org>
> Sent: 19 August 2025 12:25 PM
> To: Pritam Manohar Sutar <pritam.sutar at samsung.com>
> Cc: kishon at kernel.org; robh at kernel.org; krzk+dt at kernel.org;
> conor+dt at kernel.org; alim.akhtar at samsung.com; andre.draszik at linaro.org;
> peter.griffin at linaro.org; kauschluss at disroot.org;
> ivo.ivanov.ivanov1 at gmail.com; igor.belwon at mentallysanemainliners.org;
> m.szyprowski at samsung.com; s.nawrocki at samsung.com; linux-
> phy at lists.infradead.org; devicetree at vger.kernel.org; linux-
> kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
linux-samsung-
> soc at vger.kernel.org; rosa.pila at samsung.com; dev.tailor at samsung.com;
> faraz.ata at samsung.com; muhammed.ali at samsung.com;
> selvarasu.g at samsung.com
> Subject: Re: [PATCH v5 6/6] phy: exynos5-usbdrd: support SS combo phy for
> ExynosAutov920
>
> On 18-08-25, 13:11, Pritam Manohar Sutar wrote:
>
> > > > + /* check cr_para_ack*/
> > > > + cnt = 0;
> > > > + do {
> > > > + /*
> > > > + * data symbols are captured by phy on rising edge
of the
> > > > + * tx_clk when tx data enabled.
> > > > + * completion of the write cycle is acknowledged by
> > assertion
> > > > + * of the cr_para_ack.
> > > > + */
> > > > + exynosautov920_usb31drd_cr_clk(phy_drd, true);
> > > > + reg = readl(reg_phy +
> > > EXYNOSAUTOV920_USB31DRD_PHY_CR_PARA_CON0);
> > > > + if ((reg & PHY_CR_PARA_CON0_PHY0_CR_PARA_ACK))
> > > > + break;
> > > > +
> > > > + exynosautov920_usb31drd_cr_clk(phy_drd, false);
> > > > +
> > > > + /*
> > > > + * wait for minimum of 10 cr_para_clk cycles after
phy reset
> > > > + * is negated, before accessing control regs to
allow for
> > > > + * internal resets.
> > > > + */
> > > > + cnt++;
> > > > + } while (cnt < 10);
> > > > +
> > > > + if (cnt == 10)
> > > > + dev_dbg(dev, "CR write failed to 0x%04x\n", addr);
> > >
> > > Not error?
> >
> > This is only for debugging purpose. It is not considered as error.
>
> Write failed is not an error? If this code is only for debug, pls drop it.
Sure. will drop it.
>
> --
> ~Vinod
Regards,
Pritam
More information about the linux-phy
mailing list