Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp477372rdb; Tue, 19 Sep 2023 00:41:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHF3edVkVHAM1b23XOFwKTi+XZNY0reLsCAlNgZ6hd22jcGtZ9dRPbTidSMaIwuzvojG+Bc X-Received: by 2002:a05:6a20:3d15:b0:155:2359:2194 with SMTP id y21-20020a056a203d1500b0015523592194mr15630823pzi.46.1695109292433; Tue, 19 Sep 2023 00:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695109292; cv=none; d=google.com; s=arc-20160816; b=orPB6iIwTbtukSmqqJqJSmOsm0UPyqg11SR+cHmbuKqENoXn8rT862Oa/+EnYTn+LT yKeEQtv3TAh2ZwrOOe7Xfb1ty/Fqky+iHqf31OjflU304x5a6qicvIKYv6rRBHTsn4LL tldWY0GXs8P9BR1Vup4mT8S6Me3EAFRG+Pj9SKdU1PR9gwvMcc3YnG0we0jzSlkD0DLm FMp/jMA1GCCQC0nhJ7M3xRtVz7jMJBJdIoURHL0fxSIbxWrR8cpNdQUkoYvUvxerKMSK NRM6chYXkLyXSdJ0Lga+XTL8TnNI7GnlqiFP7cYN0CPNFOlVjW1l3XKQXc1EhS7tV3iX 516Q== 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:dkim-signature; bh=r00kbqBB8YXrfsyiYGrlHVuc9SwGqVETFlljbpgC7ws=; fh=yskCeA/eAQXikYaDF77nCpAAeO4QE55EQHpiN7Ev0zw=; b=RSRHc1yw+zOhAfNjx4kNsvDNd9jPHmhJi60ujpf1uwIwGyAPFMS/MkD63RRhPetY/k nYUfRTLUb0y32C23mljI/J8BLfQhi/wTalS4Dk98Qe0CXCNziahrCh0BSKJxRqyP4YD1 VvNnRTmKUXe64Alwr33UYfasyJInU+teLXX3DaExsGCgZHsAtAM9Be1l0K0MbloEPzfu gnvQYErlAMvrlTn7+uOd050j8L1pWIPJcrG6HtXc4ke/4J1lTbobb9od7oEcDkWKDYn2 V5lxzcrXJ0+7pugMI6ZDxLVAKpMsiXQ+hEh9DQcljXEDdv4V+36m18Kmc/SlZQN4b+7r mM2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="toJGkyN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id i128-20020a62c186000000b0068fefb0c039si338570pfg.99.2023.09.19.00.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 00:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="toJGkyN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C0E1A820BFDE; Tue, 19 Sep 2023 00:38:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231872AbjISHiE (ORCPT + 99 others); Tue, 19 Sep 2023 03:38:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231871AbjISHhx (ORCPT ); Tue, 19 Sep 2023 03:37:53 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4100C116; Tue, 19 Sep 2023 00:37:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4926FC433CA; Tue, 19 Sep 2023 07:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695109061; bh=NJEdOhSplERf4qx+MZnaddtdGxjwkTj9FA70yGwEl/I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=toJGkyN//X1dq/GlVmSCP5BAImC4qNkx0+qvdGNKwgIg4nWdrMsNY3PSR0LhC8ey6 C6+w/YZpgqJtNnUImwuowlzhbwSJg/GDc2ONrxID0oKvtqayMHYIXYRPPiyamykENZ e+TARbge08QSDBvNJQDO9cN672fNX0dzU/CHe43RvDVGoeQZ4OXCCDjW+SJ0byGQil 9fh2QIkA9HgWdNZTNqZEZ3VwNWKobCNo9MBFNopyWfkRdPQMtRpCRKq+aDqYbywaeD Ps9K6b7AMDHjKLH1jXSd3fAGprFS2WLFcz+O4Ec//le6qhvGvAvknDoCYivh3lVr2x otIj5mwBAL7eQ== Date: Tue, 19 Sep 2023 09:37:38 +0200 From: Maxime Ripard To: Benjamin Bara Cc: Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Michael Turquette , Stephen Boyd , Russell King , Abel Vesa , Peng Fan , Frank Oltmanns , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Benjamin Bara , Lucas Stach Subject: Re: [PATCH 00/13] imx8mp: first clock propagation attempt (for LVDS) Message-ID: References: <20230918-imx8mp-dtsi-v1-0-1d008b3237c0@skidata.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zkw33pnzrz7sbey3" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 00:38:17 -0700 (PDT) --zkw33pnzrz7sbey3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 18, 2023 at 07:59:16PM +0200, Benjamin Bara wrote: > Hi Adam! >=20 > On Mon, 18 Sept 2023 at 07:00, Adam Ford wrote: > > On Sun, Sep 17, 2023 at 3:40=E2=80=AFPM Benjamin Bara wrote: > > > The idea: > > > Enable CLK_SET_RATE_PARENT, at least for media_disp2_pix and media_ld= b. > > > When this is done, ensure that the pll1443x can be re-configured, > > > meaning it ensures that an already configured rate (crtc rate) is sti= ll > > > supported when a second child requires a different rate (lvds rate). = As > > > > Have you tested with the DSI as well? If memory servers, the DSI > > clock and the LVDS clock are both clocked from the same video_pll. At > > one time, I had done some experimentation with trying the DSI > > connected to an HDMI bridge chip connected to a monitor and the LVDS > > was connected to a display panel with a static resolution and refresh > > rate. For my LVDS display, it needs 30MHz to display properly, but > > various HDMI resolutions needed values that were not evenly divisible > > by 30MHz which appeared to cause display sync issues when trying to > > share a clock that was trying to dynamically adjust for two different > > displays especially when trying to change the resoltuion of the HDMI > > display to various values for different resolutions. >=20 > Unfortunately I haven't. I think if you have the use case to support > different "run-time-dynamic" (HDMI) rates in parallel with a static > (LVDS) rate If anything, LVDS is harder to deal with than HDMI. HDMI only has a handful of clock rates (74.250, 148.5, 297 and 594MHz mostly) while LVDS is more freeform. We are more likely to change the rate on an HDMI device though, but a rate change from 1080p to 720p would only require a divide by two (from 148.5 to 74.250) so fairly easy to do. Maxime --zkw33pnzrz7sbey3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZQlPwgAKCRDj7w1vZxhR xQXZAP0X9+g7TAJgG9bUbGB3HDyh4TifaZt/f4MAA2x26s9IQQD/YvP1E9Pg3wEZ aHBt6URFPtaaQv1p3sB+/iouDuI0mgU= =L9fk -----END PGP SIGNATURE----- --zkw33pnzrz7sbey3--