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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09E92C4360C for ; Sun, 29 Sep 2019 14:01:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D10D92086A for ; Sun, 29 Sep 2019 14:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569765705; bh=/N4BNUim2ujhrBzUpyfOBCNZJx17ZezEr41HEe4TTRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=A+5vqYo/toc1098wHT7PKPGCzeSsVKYMxWFe4G6IxDf+RFg/PaZXYxi/GZ1n2dEyR IIQITZ2o1Mje8o4rLDDZw8xje6sTwaNJkANlW258XjZa9YUOJxdBMQYf1T5zj4QZoj Z0Ps6R7Z9YvuetrvHhCnh8cMOQw8zziIfvzI2DuU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729468AbfI2OBo (ORCPT ); Sun, 29 Sep 2019 10:01:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:44056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730075AbfI2OBm (ORCPT ); Sun, 29 Sep 2019 10:01:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49ADB2086A; Sun, 29 Sep 2019 14:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569765702; bh=/N4BNUim2ujhrBzUpyfOBCNZJx17ZezEr41HEe4TTRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gruy2G3fuFI3T7L55Gp/ba3qEQvysbUu049K+bs0NY1Srr7wOQUBRdvuiyngtDdNP LuD7RqMkREKYKIhr1VRRs7cpqpdKb3S6pPKdc+ccdZfB9zksaHhWRgz/BZLszHW3fq 5J4PBuH5NfcwWubev3b6cycMQcldXlCG6ORhXGz8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peng Fan , Abel Vesa , Shawn Guo Subject: [PATCH 5.2 20/45] clk: imx: imx8mm: fix audio pll setting Date: Sun, 29 Sep 2019 15:55:48 +0200 Message-Id: <20190929135030.441236419@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190929135024.387033930@linuxfoundation.org> References: <20190929135024.387033930@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Peng Fan commit 053a4ffe298836bb973d2cba59f82fff60c7db5b upstream. The AUDIO PLL max support 650M, so the original clk settings violate spec. This patch makes the output 786432000 -> 393216000, and 722534400 -> 361267200 to aligned with NXP vendor kernel without any impact on audio functionality and go within 650MHz PLL limit. Cc: Fixes: ba5625c3e272 ("clk: imx: Add clock driver support for imx8mm") Signed-off-by: Peng Fan Acked-by: Abel Vesa Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- drivers/clk/imx/clk-imx8mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -55,8 +55,8 @@ static const struct imx_pll14xx_rate_tab }; static const struct imx_pll14xx_rate_table imx8mm_audiopll_tbl[] = { - PLL_1443X_RATE(786432000U, 655, 5, 2, 23593), - PLL_1443X_RATE(722534400U, 301, 5, 1, 3670), + PLL_1443X_RATE(393216000U, 262, 2, 3, 9437), + PLL_1443X_RATE(361267200U, 361, 3, 3, 17511), }; static const struct imx_pll14xx_rate_table imx8mm_videopll_tbl[] = {