Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1007171rwl; Fri, 31 Mar 2023 05:40:50 -0700 (PDT) X-Google-Smtp-Source: AKy350abDJkhFATm6T76R+AWtJP3iIPky1iqCuwj4Tjx3uXW/8WK1TQoEYIpkPxfd5fu+2O3BlJd X-Received: by 2002:a17:906:224e:b0:92c:fc0:b229 with SMTP id 14-20020a170906224e00b0092c0fc0b229mr5306522ejr.0.1680266450732; Fri, 31 Mar 2023 05:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680266450; cv=none; d=google.com; s=arc-20160816; b=T1ag59JpUypeE9yLGtF/8YrqQE9xBgQyWmFyLZD7feaLpDeOlqdwu6RiZiXdQ3GH0Z tDiFG4DwgFI1OasjQ6HiuuRoT74C731hQ8SBQmhR85EO91lVJ2vGk6SmwJb0+VMuUHSS PF8kdSxoTriYEVxerPgqWlm9Ec81bJtkw+tm3postnorRQw+alWCWcob28I3lCfg7Ghp MxJzPCN7HH/X9vMXgNWe8CcO5IlWIOZMNJv49K9K9BFo0X2c4OEEaSWZYAKDZIFKvRZq ob8ehotdrheQ8oz4PKEO+0FRgnxNgBKFd3vrFHOwgE1BrDDSbKse5uNgjTCEsLPd8ooi rtIw== 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=swOeWot85GIaEePp91l98DkNomzcOh+V2vppc9loIuU=; b=Mypnqi2sECog/y/619R5tdFvNrnrI4/h6/gZmqe8XkbIstEdxth3clhLl/OLc78GPJ G8YhZNowpENZhKh6BzScoOWhTOx3lueAvD379M/zv+7PKbeKeBs+4Rog3Ekh4MgDzyS2 mv7kECp0G1t9qx2B9w4BRUThksX7HanFSmiLtmmqDHqDJ0o7GrRwRRHjWOr3a1oV6SiZ BXcehtKVd5hXmIxbsCzrEvxXcCZLh3LliOzJ0JV3Y0tMb/BPOk7cn5dQ0rFPNJUV2IQp rD65+hz0hotMR1Bjotlv3tgpjikV+zqDL21GRMyVCwmwof3WT7vX6MatNS2/sj8MdAhc iRrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BkF/FqSs"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a1709063c0600b008cc211391bdsi603625ejg.820.2023.03.31.05.40.26; Fri, 31 Mar 2023 05:40:50 -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=@linaro.org header.s=google header.b="BkF/FqSs"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbjCaMgH (ORCPT + 99 others); Fri, 31 Mar 2023 08:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjCaMgG (ORCPT ); Fri, 31 Mar 2023 08:36:06 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8CA42033A for ; Fri, 31 Mar 2023 05:35:43 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id m2so22232327wrh.6 for ; Fri, 31 Mar 2023 05:35:43 -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=IMkendx+BcXAOdLOhrioO3967DV+bOz5pg2HV5KGfUSAEVqsQ/QgxRCgFQvXpW5hX6 g0Rz1+1g+5jbvg1mp07tKM6VgAVH1Lbx9yc2Bop15NY4dnM85D5Jwcx0khugxxSj3kOQ KrRpfn683QNXcrS9zIXgYRRj4+I3IFso/opXFFw3hfAktYWqKztDcYtfAns4FXRHftDY eyqWL7DMG+zb38/6BOz/GjWrU8StqiHHrlDqRVAiQtdibiY4W6+2KkZWmZrKgfIYHN08 PDAGL/nyrm6OB7JjIqItCKBrj5hKKBbmfR9l9gttxFOwbTulwYzmfk1gQJ5FRoMURHJu +Ghg== X-Gm-Message-State: AAQBX9c+tJFRtKpGhaTsvfePcEgF1VSM7X3X1tXcQ6PHtoZj4dimnBvX wH6vIwZwdYRLAbZpDpcflUHmEg== 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230323230127.120883-1-aford173@gmail.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >