From: Maxime Ripard Subject: Re: [PATCH v11 4/7] drm/sun4i: dsi: Handle bus clock explicitly Date: Tue, 29 Oct 2019 09:54:01 +0100 Message-ID: <20191029085401.gvqpwmmpyml75vis@hendrix> References: <20191025175625.8011-1-jagan@amarulasolutions.com> <20191025175625.8011-5-jagan@amarulasolutions.com> <20191028153427.pc3tnoz2d23filhx@hendrix> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="unkpttpyvqhvobfg" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Jagan Teki Cc: Chen-Yu Tsai , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Michael Trimarchi , Icenowy Zheng , linux-sunxi , dri-devel , linux-arm-kernel , linux-kernel , devicetree , linux-amarula List-Id: dri-devel@lists.freedesktop.org --unkpttpyvqhvobfg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 29, 2019 at 04:03:56AM +0530, Jagan Teki wrote: > > > explicit handling of common clock would require since the A64 > > > doesn't need to mention the clock-names explicitly in dts since it > > > support only one bus clock. > > > > > > Also pass clk_id NULL instead "bus" to regmap clock init function > > > since the single clock variants no need to mention clock-names > > > explicitly. > > > > You don't need explicit clock handling. Passing NULL as the argument > > in regmap_init_mmio_clk will make it use the first clock, which is the > > bus clock. > > Indeed I tried that, since NULL clk_id wouldn't enable the bus clock > during regmap_mmio_gen_context code, passing NULL triggering vblank > timeout. There's a bunch of users of NULL in tree, so finding out why NULL doesn't work is the way forward. Maxime --unkpttpyvqhvobfg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXbf+KQAKCRDj7w1vZxhR xQUaAQCp7d+DSgK2CMprYRTRP+TGzpbEjN4u+W/Tt1seOujvoQEA9cGaIr4yjPsP iK0Vn3o2jO7HYtqHE03IewfUWRW4OgM= =D4qQ -----END PGP SIGNATURE----- --unkpttpyvqhvobfg--