[PATCH v2 8/9] phy: Add Cadence D-PHY support
Maxime Ripard
maxime.ripard at bootlin.com
Wed Nov 21 10:11:21 UTC 2018
Hi Kishon,
On Tue, Nov 20, 2018 at 11:02:34AM +0530, Kishon Vijay Abraham I wrote:
> > > +static int cdns_dphy_config_from_opts(struct phy *phy,
> > > + struct phy_configure_opts_mipi_dphy *opts,
> > > + struct cdns_dphy_cfg *cfg)
> > > +{
> > > + struct cdns_dphy *dphy = phy_get_drvdata(phy);
> > > + unsigned int dsi_hfp_ext = 0;
> > > + int ret;
> > > +
> > > + ret = phy_mipi_dphy_config_validate(opts);
> > > + if (ret)
> > > + return ret;
> > > +
> > > + ret = cdns_dsi_get_dphy_pll_cfg(dphy, cfg,
> > > + opts, &dsi_hfp_ext);
> > > + if (ret)
> > > + return ret;
> > > +
> > > + opts->wakeup = cdns_dphy_get_wakeup_time_ns(dphy);
>
> Is the wakeup populated here used by the consumer driver?
It's supposed to, if it can yes.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181121/ac58d85e/attachment.sig>
More information about the dri-devel
mailing list