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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 56D58C6FD18 for ; Fri, 31 Mar 2023 12:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kg48zrPX54TAjCwiE+D19ir0QMEHXfSs+qhzy02uh5c=; b=BRIPnH0j74uDd8 IeOdxEaik5ULBWhH6MKvwWaH0cMa/AULVXA/B+sna0Y9dloA3hcuwFb7kB95NS2t/ChXBbaWUmLTm txs073K+emImDm9ZFpxK3inGN44uW/lwi5xCO/P61jrhin6spL7dHE+b6ERxhLl38yYBy5HxaZrOw e+gRYUvfRrK7aGwgaU3cCJErJ47CQLq/UUgQ3PSBnXucts2D1/pT+prKSur7owFdMq9+InEBQiKRy sVfocCSn0JCh4PTRpntahK68bpUnNrYm2f4NR+0dASOPOLVsndjf+vi+lpnWEQJiNzgORffARKtrK 2yNkw2xKRVRHgyHOc9rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piDys-007J0k-2q; Fri, 31 Mar 2023 12:35:46 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1piDyq-007Izo-1g for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 12:35:45 +0000 Received: by mail-wr1-x42f.google.com with SMTP id y14so22246410wrq.4 for ; Fri, 31 Mar 2023 05:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680266141; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=swOeWot85GIaEePp91l98DkNomzcOh+V2vppc9loIuU=; b=BkF/FqSsbVjbR1KVsiSpp7SQNoMqEdlMojmSrjeDo+9LbCdA3wvvUQ2FqFFr4Z1N+R CqvWeyyswgPkG4UhnYDxHpGST9/tVFnwd96DXgIG09uDl11pUyymaTp6BErulwzQCzS9 LIX3VrPMQTBXcHtZss4xxMBJeUUWPwCH5qAfyRhPj9kLH+T+B7MEsnt6YD6Cyjv10KxI sdNVD328u7TA54082Z2OjMePKjVajcHwBGjsI3stsu3m+FyrqMwMlBxWuq76N8mgry6n Sni/ScuRCDhOSWwvi2IYqsRGLekiVM+jOxz7cWEgYpgLannbfs8iknnC5J2uwsNQtqhD 9b7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680266141; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=swOeWot85GIaEePp91l98DkNomzcOh+V2vppc9loIuU=; b=0/wWJnVp9MW1zEKy7j993Z40D7Ga5XojjNGG+Azdyt4qxKveEkSSFEnEUvBJsxIeVz CsN5oKMVj7fzShWk52ly4cPnK2aixvdr3yBeNMHIWTSKda2ZN51Aky4lGl6aTvrMUg7Q wj4O7n8kSZmdaaaovmiV7Vzv70WIPsAYiLkmBCA3YoO9+znZVx9ry9qxoModQ6OB2cpw 0ijAIY7LnCHU78lvt0wchDL1DBBwtz5AvN2QpJDu1bWakl15TytfErf0OyVBlHl9/+tA jXjWErkDDagUhK+nhe+TQkE5MCf/L2R736xzAdxvSGj6HhyuTN8E+xDrS/8M3OkKVY/z iv3A== X-Gm-Message-State: AAQBX9f+XzhXcbKpOHmxPGyAb3preAwg+rOu/AI/luyZ4BB7+vaEVjGJ /LJ3wU8yoSqg8+xyx6F+vhAsCg== X-Google-Smtp-Source: AKy350b9EDA4FRXrfvd4zTIm9hwFtXN5pA+QlBIcWSVxOH0R42o/XjmxtvUN+8Tr/9+SP05WzOhqIA== X-Received: by 2002:adf:dd87:0:b0:2ce:aa62:ff79 with SMTP id x7-20020adfdd87000000b002ceaa62ff79mr20600624wrl.40.1680266140773; Fri, 31 Mar 2023 05:35:40 -0700 (PDT) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id v12-20020a5d4b0c000000b002cfed482e9asm2109776wrq.61.2023.03.31.05.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 05:35:40 -0700 (PDT) Date: Fri, 31 Mar 2023 15:35:38 +0300 From: Abel Vesa To: Adam Ford Cc: linux-clk@vger.kernel.org, aford@beaconembedded.com, Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 0/4] clk: imx: Improve imx8mm/imx8mn LCDIF clocks Message-ID: References: <20230323230127.120883-1-aford173@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230323230127.120883-1-aford173@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230331_053544_566410_ADF04334 X-CRM114-Status: GOOD ( 21.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 23-03-23 18:01:23, Adam Ford wrote: > Both the i.MX8M Mini and Nano have a video_pll which can be used > to source a clock which feeds the lcdif interface. This interface > currently fixes video_pll and divides down the clock feeding LCDIF. > However, when connected to an HDMI bridge chip that supports a > variety of video resolutions and refresh rates, the only settings > that properly sync are ones that evenly divide from the video_pll_out > clock. > > This series adds the ability for the clk-compolsite-8m to > request a better parent clock rate if the proper clock flag is > enable and sets that flag in the corresponding imx8mm and > imx8mn video_pll clocks to increase the number of resolutions > and refresh rates timings that the LCDIF can produce. > > This also has a side benefit of allowing the video-pll to run > at a lower clock speed which can potentially save some power > depending on the requested resolution and refresh rate. > Applied, thanks! [1/4] clk: imx: composite-8m: Add support to determine_rate commit: 156e96ff2172518b6f83e97d8f11f677bc668e22 [2/4] clk: imx: Add imx8m_clk_hw_composite_flags macro commit: 784a9b3916e949c00666588fd167c4ab245ec9d6 [3/4] clk: imx8mm: Let IMX8MM_CLK_LCDIF_PIXEL set parent rate commit: 5fe6ec93f10b0765d59e0efb6ecba419a6a49d48 [4/4] clk: imx: Let IMX8MN_CLK_DISP_PIXEL set parent rate commit: 46a974433ea7fa468b45db70536f7cea81feb87c Best regards, -- Abel Vesa > v4: Sorry for the noise. I forgot to 'git ammend' so V4 > is what V3 should have been. > V3: Change the name of clk_divider_determine_rate to > imx8m_clk_divider_determine_rate > V2: Split off the new imx8m_clk_hw_composite_flags definition > into its own patch and re-order to fix build error. > > Adam Ford (3): > clk: imx: composite-8m: Add support to determine_rate > clk: imx8mm: Let IMX8MM_CLK_LCDIF_PIXEL set parent rate > clk: imx: Let IMX8MN_CLK_DISP_PIXEL set parent rate > > drivers/clk/imx/clk-composite-8m.c | 7 +++++++ > drivers/clk/imx/clk-imx8mm.c | 2 +- > drivers/clk/imx/clk-imx8mn.c | 2 +- > drivers/clk/imx/clk.h | 4 ++++ > 4 files changed, 13 insertions(+), 2 deletions(-) > > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel