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=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 054AAC43381 for ; Mon, 11 Mar 2019 15:39:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6CBA21850 for ; Mon, 11 Mar 2019 15:39:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C58F81e0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6CBA21850 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-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ywzq41bQx7MLzct/O66h++T2wxtVhrn6PMB29GLo78Q=; b=C58F81e0INaidLDjcfOceHFH6 61LZbSz+qXdM0TL72dY75aV75U6B/gZOPe1/46TZshXpn3Z2SeLhh4oLbnChLDmU/OAJXI20ZGfv0 kRmkltPw1cpykKmaMbOUpFm1lyqm3xwubcoJAPgcp+MWCs9CNII+oL2874LT2jvWmrQ/+Hh3BW5ER 5OOCbTHdVgSmPabE2qT+Glc8eYh/CC/qmjdHbuFcw3pWspFmvdh7kLZ9GA6FWGsVawTDW6KlQt6Gm g4DJ1cUwOGX1oYZBh1Ce/kd1dTfyfnvsCXnvsPdgHxIqnXjMOMpyzxwDA1kCs2rI0T3tYiH64CxR6 eiCjhJg1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3N17-0007Ls-VE; Mon, 11 Mar 2019 15:39:05 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3N14-0007LF-9A for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 15:39:04 +0000 X-Originating-IP: 90.88.150.179 Received: from localhost (aaubervilliers-681-1-31-179.w90-88.abo.wanadoo.fr [90.88.150.179]) (Authenticated sender: maxime.ripard@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 5EA28FF80A; Mon, 11 Mar 2019 15:38:48 +0000 (UTC) Date: Mon, 11 Mar 2019 16:38:47 +0100 From: Maxime Ripard To: Jagan Teki Subject: Re: [PATCH v8 02/15] drm/sun4i: tcon: Compute DCLK dividers based on format, lanes Message-ID: <20190311153847.oz6ruqmptaq2befn@flea> References: <20190311133637.18334-1-jagan@amarulasolutions.com> <20190311133637.18334-3-jagan@amarulasolutions.com> MIME-Version: 1.0 In-Reply-To: <20190311133637.18334-3-jagan@amarulasolutions.com> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_083902_468355_C8C2BDE4 X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , Michael Turquette , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Chen-Yu Tsai , Rob Herring , Daniel Vetter , Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============1159983752776931675==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1159983752776931675== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="unl66vzthkbzxsc5" Content-Disposition: inline --unl66vzthkbzxsc5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 11, 2019 at 07:06:24PM +0530, Jagan Teki wrote: > pll-video =3D> pll-mipi =3D> tcon0 =3D> tcon0-pixel-clock is the typical > MIPI clock topology in Allwinner DSI controller. >=20 > TCON dotclock driver is computing the desired DCLK divider based on > panel pixel clock along with input DCLK min, max divider values from > tcon driver and that would eventually set the pll-mipi clock rate. >=20 > The current code allows the TCON clock divider to have a default 4 > for min, max ranges that would fail to compute the desired pll-mipi > rate while supporting new panels. >=20 > So, add the computation logic 'format/lanes' to dclk min and max dividers > and instead of default 4. This computation logic align with Allwinner A64 > BSP, hoping that would work even for A33. Last time we discussed this, we found out that this wasn't the case, even in the BSP. What compelling evidence have you found that makes you say otherwise? Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --unl66vzthkbzxsc5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXIaBBwAKCRDj7w1vZxhR xQmDAP0fEPwWNXxHnuOzc2Hp56CvHmpJBy1gADfKKVXjLURIdwD+Mwmlmq8ey7vM b5JlVu2kucnFP5+EM9iGeaCILBsREw0= =4Bo1 -----END PGP SIGNATURE----- --unl66vzthkbzxsc5-- --===============1159983752776931675== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1159983752776931675==--