Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15936014rwd; Mon, 26 Jun 2023 03:34:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Y1VNBgu/Dm21L2xm7G59d3U5m2mFKCXeFZuClOlxtAOhDvb6NKWRFzOxzDb/mLkugDrig X-Received: by 2002:a17:906:ef0e:b0:978:adad:fe18 with SMTP id f14-20020a170906ef0e00b00978adadfe18mr22893513ejs.21.1687775652311; Mon, 26 Jun 2023 03:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687775652; cv=none; d=google.com; s=arc-20160816; b=RoV09YLiIB0u8+QqYI/br7GMVo/+XRC3QxuiNQX0ZJJinvHZyjvzS/nYwfb8vZpspD kj6lKcwvTDxTsonMPE21Jakg8HWvM3/rPPUUNqv3R5edcHVWB3WoEye+hkb0MQ3XA0RT il49GlkxCxTYJ9+yNAN+RAuyWNXOOqQ5PLmfkDnUqqznVHE9nrpcUCQDHGjxP48drHXH vQt7Q3k5zz/pNIPgWuZvPo6anbFiW6jZET0f4s8f1D8sgzj1BDjRE1Suybl02Y8U2gS9 jgny0Np17dADyKvDuWv31gXOQ0BT9zaaX2Dw4YgN2LENWSahkGuMxNfRzN1GotEEvMs3 LZuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OnEBFUoM80f4TvMpttBZeEdWpGH1HDX496Om0WtHltI=; fh=lbJ3IEFxCzZ5yObwjF9Wnv5Bo+LQ26BrJunOK4P1WpI=; b=lKYAvH8rRLV8J7meYK9LnQ13Cs7YjHtNwXVO6VJbHL9TNo9hj3+DbqycfHHRQVrrNQ sTkxE0u62jJqvAgk4QZdk2h1FzZcKdaZpbowj5/KVh4fhdEYjw9TPaCBNAWDumVHXTiH cdKI9znxlIeQTu66lacGoAKI2XDayLBkEGTObCi2pACzckKGSEObWaNywsfysD4Mihrs jzubEvtaDKqXXjtm35dB67GU27QC/HHKi31oLlGHDDW5EM/xjp0QIb16Iw/GpBh7dIw2 +y6hCjZ8Hetnl9Fe1N3cX1NCUeR5hlTB2SjnebHLrdmAgfLt6NPg0yIMqjMorL2T1/DA 741A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jp18-20020a170906f75200b00991db88c470si533234ejb.184.2023.06.26.03.33.47; Mon, 26 Jun 2023 03:34:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjFZJjO (ORCPT + 99 others); Mon, 26 Jun 2023 05:39:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbjFZJjI (ORCPT ); Mon, 26 Jun 2023 05:39:08 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B7DD2 for ; Mon, 26 Jun 2023 02:39:07 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qDigW-0003tJ-09; Mon, 26 Jun 2023 11:39:00 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qDigV-0003GL-Gg; Mon, 26 Jun 2023 11:38:59 +0200 Date: Mon, 26 Jun 2023 11:38:59 +0200 From: Sascha Hauer To: Alibek Omarov Cc: linux-rockchip@lists.infradead.org, Michael Turquette , Stephen Boyd , Heiko Stuebner , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: rockchip: rk3568: Add PLL rate for 101MHz Message-ID: <20230626093859.GS18491@pengutronix.de> References: <20230614134716.1055862-1-a1ba.omarov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614134716.1055862-1-a1ba.omarov@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 14, 2023 at 04:47:16PM +0300, Alibek Omarov wrote: > This patch adds PLL setting for not so common resolution as 1920x720-50.00, > which can be set using 2500 horizontal signals and 808 vertical. > > Signed-off-by: Alibek Omarov Reviewed-by: Sascha Hauer > --- > drivers/clk/rockchip/clk-rk3568.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c > index f85902e2590c..5dae960af4ce 100644 > --- a/drivers/clk/rockchip/clk-rk3568.c > +++ b/drivers/clk/rockchip/clk-rk3568.c > @@ -79,6 +79,7 @@ static struct rockchip_pll_rate_table rk3568_pll_rates[] = { > RK3036_PLL_RATE(135000000, 2, 45, 4, 1, 1, 0), > RK3036_PLL_RATE(119000000, 3, 119, 4, 2, 1, 0), > RK3036_PLL_RATE(108000000, 2, 45, 5, 1, 1, 0), > + RK3036_PLL_RATE(101000000, 1, 101, 6, 4, 1, 0), refdiv = 1 fbdiv = 101 postdiv1 = 6 postdiv2 = 4 ((24000000/1)*101)/6/4 = 101000000 Ok. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |