From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEA72C07E85 for ; Tue, 11 Dec 2018 16:32:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D62D2081B for ; Tue, 11 Dec 2018 16:32:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D62D2081B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-clk-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726917AbeLKQcf (ORCPT ); Tue, 11 Dec 2018 11:32:35 -0500 Received: from mail.bootlin.com ([62.4.15.54]:59020 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726906AbeLKQce (ORCPT ); Tue, 11 Dec 2018 11:32:34 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 7342820726; Tue, 11 Dec 2018 17:32:32 +0100 (CET) Received: from localhost (unknown [185.94.189.187]) by mail.bootlin.com (Postfix) with ESMTPSA id 34DE6206A1; Tue, 11 Dec 2018 17:32:22 +0100 (CET) Date: Tue, 11 Dec 2018 17:32:22 +0100 From: Maxime Ripard To: Jagan Teki Cc: Chen-Yu Tsai , Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Michael Trimarchi , linux-sunxi , linux-amarula@amarulasolutions.com Subject: Re: [PATCH v5 15/17] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI Message-ID: <20181211163222.hk647c24cjhmwrz4@flea> References: <20181210161729.29720-1-jagan@amarulasolutions.com> <20181210161729.29720-16-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="swh3x3cihaooc5eu" Content-Disposition: inline In-Reply-To: <20181210161729.29720-16-jagan@amarulasolutions.com> User-Agent: NeoMutt/20180716 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org --swh3x3cihaooc5eu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 10, 2018 at 09:47:27PM +0530, Jagan Teki wrote: > Minimum PLL used for MIPI is 500MHz, as per manual, but > lowering the min rate by 300MHz can result proper working > nkms divider with the help of desired dclock rate from > panel driver. >=20 > Signed-off-by: Jagan Teki > Acked-by: Stephen Boyd > --- > drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng= /ccu-sun50i-a64.c > index 181b599dc163..b623c8150b4f 100644 > --- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c > +++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c > @@ -183,6 +183,7 @@ static struct ccu_nkm pll_mipi_clk =3D { > .n =3D _SUNXI_CCU_MULT(8, 4), > .k =3D _SUNXI_CCU_MULT_MIN(4, 2, 2), > .m =3D _SUNXI_CCU_DIV(0, 4), > + .min_rate =3D 300000000, /* Actual rate is 500MHz */ That comment still doesn't make any sense. Is it running at 500MHz or 300? Also, IIRC you had a patch adding support for maximum boundaries in your previous patch, where did it go? Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --swh3x3cihaooc5eu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXA/mlgAKCRDj7w1vZxhR xUJjAP9p8yLcOBcyhEdhgW00NS0Z0gfYTLFmuPBz7wb/2SZ6LwEAzYo2pQyUdgVd 1UsL1ohFZbYCCzqIC2JzFIAZyNtvvAQ= =alGr -----END PGP SIGNATURE----- --swh3x3cihaooc5eu--