Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7337826rwr; Wed, 10 May 2023 07:06:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74yYOBwbmMylYG3QAhb+hECS/aPDaJDMgjbybR0VmuFn7+gBNBV1OHOnyRiopuErmeAnH3 X-Received: by 2002:a05:6a00:2e27:b0:63f:1c78:4049 with SMTP id fc39-20020a056a002e2700b0063f1c784049mr24340915pfb.31.1683727565153; Wed, 10 May 2023 07:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683727565; cv=none; d=google.com; s=arc-20160816; b=EW3sA64zVAe5hQmwkelEDJ6dsSda+hPf672fEXZY6bVbpZr0Olcaa0bOcpMsxhigdP oCHmZQEqSu/vuGlTnjcXppkoGlxVDGYjYgYPA0ODX10i5I79UTMjXZQ0lCHp98h6ZAaY QbKu53wd5O8JaESarEpTGI/wOR0+iGmhdqAAojzo87nYY3TpfRNYmpbgzjJlG9M9L2nL UcYKNFgLLuT7DRdAiAoHSPTaYe5ST3Vjq55iRkJLHq3cUrmpBtQn2WaXQCZNuKD4KKif yd2/NwIsZMc8O/ZQNbxMMk8/I5innR20emNSg14WiXgPHedsk3IR255fddstT3s9cYnP O5kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=eMLG8cI+bk2suxzsIte63viAaoBZ73Ac/tl0ZA9OObU=; b=KLPqEkTGejwV9FVORa9aCwao7PnFnc6qyFjDb8WGa5TYWKaoLdc3/yt4K3wCZi/Hli eyWHffbi42zH4aWoJXsFxt/0ytxtoDpK7i0GVTIKkVeHpYBKm1WMnR+7hkLlITggZbgx kHidbqJQqmzCbVqkEx+T8GsJPOWyhIfWMM816nyfeXSM1I3Pr8lN/ToYuDyGfMxlDkQc VO5BDVuLaxNIpt3QO2tHHqmqcLEAKL1Eh1EpgZyGqnHgO7hdUe2K1euSt+2HLqjtBj2F vmmeItU43W/RmlMCGYTndrOoDAhr7CpJeJ53aJBUURR9WzuIO6U+IDA1INSA6Mt4EaaV B5Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=hSvY6jPS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GaYoJBmg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y84-20020a626457000000b0063b356e36fesi5006008pfb.372.2023.05.10.07.05.50; Wed, 10 May 2023 07:06:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=hSvY6jPS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GaYoJBmg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232796AbjEJOFE (ORCPT + 99 others); Wed, 10 May 2023 10:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236681AbjEJOFC (ORCPT ); Wed, 10 May 2023 10:05:02 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98014D064; Wed, 10 May 2023 07:04:45 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id F03755C02AE; Wed, 10 May 2023 10:04:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 10 May 2023 10:04:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1683727484; x=1683813884; bh=eM LG8cI+bk2suxzsIte63viAaoBZ73Ac/tl0ZA9OObU=; b=hSvY6jPSX+3ye8vFZW Z4Pwjtb9a28CKdwvDPXdLkAlhUy7mG2y9lmqIhYTXeZsW9TGpYUQ5D+LYArSHdc8 aTvDTu6Zb6WLIHulUY8HY3XXauStHbRR4tkEaH9IGsKjHhb4+KtXdF6QOYEXBbYO CWgJR+lNatZ8xcs1R4csXAROHDNR181eyJWI9Swr/DVX4Bu7/Lgru1LsCgEpYgM5 ZVFrlWjtXIK2TSdLXWNt5hQrwCWgwV9yQyvvTR/o6+RbTeBF4KFulclGupojh/k5 x6T5mt1k1U6kmFVAo9RK9MLpHBTt5W/uArXecC7EF+plOf3V+H2FtbFN6FvxhUXp fRzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683727484; x=1683813884; bh=eMLG8cI+bk2su xzsIte63viAaoBZ73Ac/tl0ZA9OObU=; b=GaYoJBmg1Kk2qKf+1zPY8YkW+tQH9 XjDHFC6los5UT5lT2OaYwAMJU/aNHyA3cih1tTLuqS33U9j9/XRrk1oyqGi9OaeU jqdnO6eXyCWmfdB072dMSsGcfgoEWVqk/ZkZvJQLFoJAelIHmeacOCayNsIPB3LL JO0y11nibQnAgIatUNPDczwp1BND+8Depc3TZYih1It/CC+8bN5pjBLpUgJlmr25 m4LFxFS7MBeyIOeiKwDMB2oWwJf6CvL8apgGVBKZ41XztoqX5NEvn9lIv3LOzmbC 3G2hzEH22bxFBSCMirPV1+bjvZRplVU5CuiidSP1WjfK/fRd6gU4wh+AA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegiedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtsfertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeeuveduheeutdekvefgudevjeeufedvvdevhfejgfelgfdtkeevueegteek gfelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 May 2023 10:04:43 -0400 (EDT) Date: Wed, 10 May 2023 16:04:42 +0200 From: Maxime Ripard To: Roman Beranek Cc: David Airlie , Daniel Vetter , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Frank Oltmanns , Icenowy Zheng , Ondrej Jirman , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/4] clk: sunxi-ng: a64: force select PLL_MIPI in TCON0 mux Message-ID: References: <20230505052110.67514-1-me@crly.cz> <20230505052110.67514-2-me@crly.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dam5q5w65wzz6wwy" Content-Disposition: inline In-Reply-To: <20230505052110.67514-2-me@crly.cz> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --dam5q5w65wzz6wwy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 05, 2023 at 07:21:07AM +0200, Roman Beranek wrote: > TCON0's source clock can be fed from either PLL_MIPI, or PLL_VIDEO0(2X), > however MIPI DSI output only seems to work when PLL_MIPI is selected and > thus the choice must be hardcoded in. >=20 > Currently, this driver can't propagate rate change from N-K-M clocks > (such as PLL_MIPI) upwards. This prevents PLL_VIDEO0 from participating > in setting of the TCON0 data clock rate, limiting the precision with > which a target pixel clock can be matched. >=20 > For outputs with fixed TCON0 divider, that is DSI and LVDS, the dotclock > can deviate up to 8% off target. >=20 > Signed-off-by: Roman Beranek Acked-by: Maxime Ripard --dam5q5w65wzz6wwy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZFukegAKCRDj7w1vZxhR xa9uAQCWrJGP22hp/Ff3pvC1XPdpu0BZ40Y2i+mt7ej81tWPHAEA4tuZhwmGDmpm axxVKC6x9CTPwIa0iDAy0SVGc6KKYAE= =yR0U -----END PGP SIGNATURE----- --dam5q5w65wzz6wwy--