Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp5849526ybn; Sun, 29 Sep 2019 07:03:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkzuWidFBK+9qO05hHLlYrT8nMOfRdk0iY7SDLjq6LhERIMGY9wndvOWWasFtIaKPNFQ69 X-Received: by 2002:aa7:d688:: with SMTP id d8mr14828152edr.156.1569765799640; Sun, 29 Sep 2019 07:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569765799; cv=none; d=google.com; s=arc-20160816; b=aCz6HUBlo/7rvmvCtsEb/dv6uQW37QgtpnoBj/O42vtx7Pu81+0EqMLDtZKXJkQv0G y+upmFCNiXqoaTqOLJTfFAreEtr0zQ+sB1cP2TBQvEyLrYFXnAUrbRBbGqe+UWnmanzf NH42jCss9E4leq9PwfKsK5U1DCPUnlEmqVWi3dl48WHe/URpC07LXdGUQNkc970pU8VQ 8COXJM/5rps1++x4LjJ47Jje86L5H40sY5DEZKxr88fAG2wE6GM8L70qZhi7ljoC7opK XbcajDyJnO6tMWT5rc+/x+wmrWbvMfs2EyC92GZM5Ut7uZr5geLwG+Pa+4a5NxBMmgpb 92qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=clzgbWrpM5SfXUqettTDwTKvbfRTrWTKdkf0cA0RpIo=; b=ra/FL5fSksEGSnKvF/BytNp+gq6xXsmuDUDCaRF/OnKiS5f++K+FwbKq/G8sLvU+TW oaZJcW/GFisY6xfUocAKd1y48fp9IoDUMWTBeFRWVKPabDRVKMj/bQIefCg36x4fbvyM JzJWGjRXULAWt9yBgybi4YX74tT+YDPNcm3R1gBYqO+lKOAA6eWZk+krKGRvG45s5E8t 8JCy8yu8ZjIZGsxy0adJ/wWfGxvjxnoJIHHWOYCsrS4gdKLALr+pIzaCPpbNdG9QV6yg y/i1NKx2cxIpXSFSnmamCHaBoqZ8N+Yu2yPQmXJnN9zFkY1+v4uwMfOB1+ihn9Zc/uNl 83Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gruy2G3f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si5148241edw.51.2019.09.29.07.02.55; Sun, 29 Sep 2019 07:03:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gruy2G3f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730082AbfI2OBq (ORCPT + 99 others); Sun, 29 Sep 2019 10:01:46 -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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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[] = {