Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp612702pxb; Tue, 5 Apr 2022 15:58:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZzAspP97oM4Der2zgGKgnfREfVsh4Z2mYijQbdi4O5h3stjS52oupKHhLLqSS0GISvQ+w X-Received: by 2002:a63:591c:0:b0:382:cb1:76c9 with SMTP id n28-20020a63591c000000b003820cb176c9mr4726289pgb.520.1649199510784; Tue, 05 Apr 2022 15:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649199510; cv=none; d=google.com; s=arc-20160816; b=kr5MZTXvre3CNa9IDKrgRNKzrVMmMiae3CvslgaogKm4Xwk1C1VVw6d14eR6EqRyzj tCdQjciS0Ikgu9peQZJcphNV7IfslhDtraDsqF4SeW8yWHQfAlmhW9F7SAlu6HaFBB/t jAcofZeQUNSAG4LMrn8BOt2zbtIOR8jB2bj/hQiMN0eYp3hLNqWRMRHWUnyGrnkFJcCN CW+OGMLD72eFlI/c2nw0EAOEkowdCC+LccxTlJrzcQ93uu+hhWtNSQiYHjaMc6rLx2+R fsOVeug0ZnnUnMTpXLy+dmI2/nynlxAia0T16zGENQrskL+9DT1xipJYOU6xDXuFh00z wiLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VNNGzAawQmNXHKR6K8Engs0soPzNEdU0fMJXtAzgCW8=; b=bvUWTZX+CKJtXA2EL587VkjETLERsFAS8yC6QOuyOHVwzfxNe/iPUG0fQnr/dbiuin 8E4Yeo0ckSper3DOq6Z2dZ/LO9maLtoW1LASUmmJkETQXGvpUoCZByiClF7SlRVJyFT8 q4lPLk4Al8JezB3j3sDs0cdxRd0bF4rGt4AN3dBaOXy/F7phNzsfkjCoRVMaYXaMpIxq +7zFg4uGB0xpqoAjiUMixxCktL2t58e/86XfWeAvZPkWSeRfh1cH1r4PnZPE/KU2FW02 9nzas7RwBn+SDbk4d25cVURLdvphfg4m0v97NaH1ME7XuNlKUGdpVvhH8xW6mXWa1Sn+ Mjhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Iz56dPjm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q7-20020a056a00088700b004fa7e2947fdsi6672359pfj.147.2022.04.05.15.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:58:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Iz56dPjm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 220CC275D3; Tue, 5 Apr 2022 15:39:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379991AbiDEMxc (ORCPT + 99 others); Tue, 5 Apr 2022 08:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343770AbiDEJMr (ORCPT ); Tue, 5 Apr 2022 05:12:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAAD137014; Tue, 5 Apr 2022 02:00:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 57A3461573; Tue, 5 Apr 2022 09:00:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 683CCC385A0; Tue, 5 Apr 2022 09:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649149227; bh=CZsXfQVEitLbo3MrmYfMFsqvPiQUWiidTgrPcq/y2Mo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Iz56dPjmugYWzKNCKYlOd8xDc/G8BE9lvnDTI3pYWGQGRxqv1eCMz3yEEMv4ztfrz AHcQ17CuoQnuM+p8m6TJb4cJN4CQ8CCJTMy/qX2+0YL7t0FhvlttD3LYsS5Y3UFSRA cSxI10DcoejlIcly8ktBx4Iq06XYbE6IRrW7FWH8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Biju Das , Lad Prabhakar , Geert Uytterhoeven , Sasha Levin Subject: [PATCH 5.16 0641/1017] clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3 Date: Tue, 5 Apr 2022 09:25:54 +0200 Message-Id: <20220405070413.309747147@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Lad Prabhakar [ Upstream commit b289cdecc7c3e25e001cde260c882e4d9a8b0772 ] As per the HW manual (Rev.1.00 Sep, 2021) PLL2 and PLL3 should be 1600 MHz, but with current multiplier and divider values this resulted to 1596 MHz. This patch updates the multiplier and divider values for PLL2 and PLL3 so that we get the exact (1600 MHz) values. Fixes: 17f0ff3d49ff1 ("clk: renesas: Add support for R9A07G044 SoC") Suggested-by: Biju Das Signed-off-by: Lad Prabhakar Link: https://lore.kernel.org/r/20211223093223.4725-1-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Sasha Levin --- drivers/clk/renesas/r9a07g044-cpg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/r9a07g044-cpg.c b/drivers/clk/renesas/r9a07g044-cpg.c index 47c16265fca9..3e72dd060ffa 100644 --- a/drivers/clk/renesas/r9a07g044-cpg.c +++ b/drivers/clk/renesas/r9a07g044-cpg.c @@ -78,8 +78,8 @@ static const struct cpg_core_clk r9a07g044_core_clks[] __initconst = { DEF_FIXED(".osc", R9A07G044_OSCCLK, CLK_EXTAL, 1, 1), DEF_FIXED(".osc_div1000", CLK_OSC_DIV1000, CLK_EXTAL, 1, 1000), DEF_SAMPLL(".pll1", CLK_PLL1, CLK_EXTAL, PLL146_CONF(0)), - DEF_FIXED(".pll2", CLK_PLL2, CLK_EXTAL, 133, 2), - DEF_FIXED(".pll3", CLK_PLL3, CLK_EXTAL, 133, 2), + DEF_FIXED(".pll2", CLK_PLL2, CLK_EXTAL, 200, 3), + DEF_FIXED(".pll3", CLK_PLL3, CLK_EXTAL, 200, 3), DEF_FIXED(".pll3_400", CLK_PLL3_400, CLK_PLL3, 1, 4), DEF_FIXED(".pll3_533", CLK_PLL3_533, CLK_PLL3, 1, 3), -- 2.34.1