Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp659166rbb; Sat, 24 Feb 2024 19:22:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWT7U6NsOP/dp56zuzXxj1GndkKXjIcXXSS59Sbs3g+Bj0sgDTMH/N5tSBfS+q+hODw4+nxysbElVIPq0RlYUVi9c8cQsZ037tmkjMPDg== X-Google-Smtp-Source: AGHT+IFEqBm0+dgqfhou6IUPSezMBmCpz0ynBM/icKDSU4XK8iPUirgyjrXrTk6T7b182o3ZIcl6 X-Received: by 2002:a05:620a:5697:b0:783:ae0c:5e8f with SMTP id wg23-20020a05620a569700b00783ae0c5e8fmr3622161qkn.71.1708831368984; Sat, 24 Feb 2024 19:22:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708831368; cv=pass; d=google.com; s=arc-20160816; b=JMJCqwh0V4KNs3JQKL8hj87SRdRYqASMq6rBSOFv9g+XtYaE9NaA63q7KvzYQ8WZsa DoOOqEPhkbLZZp1TrNSU9qr6QlwMUmecJVIQMMYNTcEaELfMgAS1EYj3xAYXCN6Pf8Sc fD5sq9mognvZObQ2Eq/lyXTkiNy7/+Y0zII6LNO9GFGW87VvBLLGZRRfkwJ1eFSno5OS 8oONuaAsVh0gYM4zaZbvvLm06VeWtH3sPPYgtdOk+m7tmzgVKyrwNbT5JmOpE4kU6We9 N6any/CebzbL3be4P/T+JOtb/MDUHsuH+LJkYR6VvdV4biYQe0xkjhh9acjhehj0z06S 9IkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kstgYFnYbS4TM+8qLmC87++xXjnye/1CI6vcEBA0fnI=; fh=byDWmWZ5k16B+RV91HdYhmUo345drqOGumesYK3EEho=; b=WxXGssoUIlPTgYQtQzUooHqcWYRiqgfSOq+X+Nd59QQH0hCgkzCw0NlUZ1MJGTYBtb EIa6RnXThf6G5f1BWYk1zkq0FmfZRY0ITOALWfOtfrLLJV1xwexhOc0JKtf5qcloq50r pNBi+4g1It/udxTawvGlSp3owX8vTj9prcBM+upFHqH3WFsXUoObc2rkQfTh7k4oS83/ DQf+0vHKv6oPZiCjm3kS/QxmOmcWJw7qizBOdi2aM8KprcBQcHnXAUZrQdMoJCEdcm7F Dd7eRJTLkvVVaozYRbc5mmieuu8cnYrEG8aGNHJ8F4fFO1HsDPvk+g+93AFqIUIIFo2s PYgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=Jfef2hm9; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-79962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h11-20020a37c44b000000b00787c4d11b8csi1873678qkm.669.2024.02.24.19.22.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 19:22:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=Jfef2hm9; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-79962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B8D841C20DE6 for ; Sun, 25 Feb 2024 03:22:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C6626110; Sun, 25 Feb 2024 03:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="Jfef2hm9" Received: from mail-177131.yeah.net (mail-177131.yeah.net [123.58.177.131]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C76797460; Sun, 25 Feb 2024 03:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=123.58.177.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708831362; cv=none; b=cGnF7jtZ23pvNShjNiaRTOlA+lpj8VPPgrUVPg9hg2Sbpa/71qB1OSnU7ht4OBhFguMUoMcihhP2bhW0seCBjtD9Q0EYUK1ErV7UdLGaE/qr9Z9bTmwIPfr9S7q+rtzmMwUkv72GGmVrWE5EDfeN3ueNBN6NMCznS5gDGT/u/aI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708831362; c=relaxed/simple; bh=t7izA1++TpQnw4MKZdATx3B+DYwSyzXeTLi1/tEOcoc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ipr3t36ffcGD9sg2ScooYd+R1rqKu447Sn/Hehfr4CZg6nJewY7x8yYgBEICjPUkPMb7XS5RIseCt01Yf1fKsUpos/plWESZbPdWaTyTfXtHWnZPpDIXt/83JveJ02NeyP+JzzTpDww6DrxDh/tGpVGjO6Pjdiui6cXFiTLajBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net; spf=pass smtp.mailfrom=yeah.net; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b=Jfef2hm9; arc=none smtp.client-ip=123.58.177.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yeah.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=kstgYFnYbS4TM+8qLmC87++xXjnye/1CI6vcEBA0fnI=; b=Jfef2hm9LFdr/bzxrSTS8LHUdMaXye0reEtq23oBTRBuzBGfudVbv6oKqNC5HG 2POCsxwCZrfdWP/kloxpPxY+JPoAo3GOOsDdIp87x7kLu/khU/eBSckKuWs4cHLG /1ZeV9Kmzz38GBAw4jm3pMirfeuaLAt4eQilURT6H7z7c= Received: from dragon (unknown [183.213.196.200]) by smtp1 (Coremail) with SMTP id ClUQrADX3O1kstplwDhRBA--.11765S3; Sun, 25 Feb 2024 11:22:14 +0800 (CST) Date: Sun, 25 Feb 2024 11:22:12 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, marex@denx.de, aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mn: Slow default video_pll clock rate Message-ID: References: <20240211231508.188567-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240211231508.188567-1-aford173@gmail.com> X-CM-TRANSID:ClUQrADX3O1kstplwDhRBA--.11765S3 X-Coremail-Antispam: 1Uf129KBjvdXoW7GryrXr1UWFy8GF4fXFWrZrb_yoW3Gwc_ur W5JF4vkw15Xrs3Kr1DKF45Zw1xZa129Fy5Xw1kWr4vgry8Za95ta4kZF1ruF17Wa9a934D X3s5Xr1a9rZxAjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8z6wtUUUUU== X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiDg+PZVszYWG3kAACsm On Sun, Feb 11, 2024 at 05:15:08PM -0600, Adam Ford wrote: > Since commit 8208181fe536 ("clk: imx: composite-8m: > Add imx8m_divider_determine_rate") the lcdif controller has > had the ability to set the disp_pixel_clk rate which propagates > up the tree and sets the video_pll rate automatically. > > By setting this value low, it will force the recalculation of > video_pll to the lowest rate needed by lcdif instead of > dividing a larger clock down to the desired clock speed. This > has the advantage of being able to lower the video_pll rate > from 594MHz to 148.5MHz when operating at 1080p. It can go even > lower when operating at lower resolutions and refresh rates. > > Signed-off-by: Adam Ford Applied, thanks!