From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.bootlin.com ([62.4.15.54]:41915 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbeKUUpX (ORCPT ); Wed, 21 Nov 2018 15:45:23 -0500 Date: Wed, 21 Nov 2018 11:11:21 +0100 From: Maxime Ripard To: Kishon Vijay Abraham I Cc: Boris Brezillon , Thomas Petazzoni , Laurent Pinchart , linux-media@vger.kernel.org, Archit Taneja , Andrzej Hajda , Chen-Yu Tsai , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Krzysztof Witos , Rafal Ciepiela Subject: Re: [PATCH v2 8/9] phy: Add Cadence D-PHY support Message-ID: <20181121101121.7rhe2hz2mnmc72cu@flea> References: <4ec9e47fb5aa9794f69a8e75a04108055094c056.1541516029.git-series.maxime.ripard@bootlin.com> <5f5bcc06-51b2-d565-56a0-083c66c1f01a@ti.com> <8536050b-40ab-1ec4-d325-e59bb3a92e73@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ttjex4x5w3yurkmw" Content-Disposition: inline In-Reply-To: <8536050b-40ab-1ec4-d325-e59bb3a92e73@ti.com> Sender: linux-media-owner@vger.kernel.org List-ID: --ttjex4x5w3yurkmw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =3D phy_get_drvdata(phy); > > > + unsigned int dsi_hfp_ext =3D 0; > > > + int ret; > > > + > > > + ret =3D phy_mipi_dphy_config_validate(opts); > > > + if (ret) > > > + return ret; > > > + > > > + ret =3D cdns_dsi_get_dphy_pll_cfg(dphy, cfg, > > > + opts, &dsi_hfp_ext); > > > + if (ret) > > > + return ret; > > > + > > > + opts->wakeup =3D cdns_dphy_get_wakeup_time_ns(dphy); >=20 > Is the wakeup populated here used by the consumer driver? It's supposed to, if it can yes. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ttjex4x5w3yurkmw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/UvSQAKCRDj7w1vZxhR xa/lAPwJhIct3Jc0UzdxD5DP15c9Pa6jnLtkgzNGvvIaYDj6mgEAnoLj1FspAqzu 2NqTBnQTr0AC9In9vPjRm8r/oAyaTg4= =BI+c -----END PGP SIGNATURE----- --ttjex4x5w3yurkmw--