Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp206503ybl; Tue, 13 Aug 2019 19:04:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwV6KiUxHolOS3UqT/kAxKqIF4AbIdTOhqw0jDE/bzMMX1F88SN/VC0arEr+MmyvlPC/Yd X-Received: by 2002:a62:6083:: with SMTP id u125mr43279178pfb.208.1565748243687; Tue, 13 Aug 2019 19:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565748243; cv=none; d=google.com; s=arc-20160816; b=WU3N2/wpZzAfJu0v2CvvrMa7IBup6/yHnfDgGe0Iz800sFBuS8RyjHeo0qeoiYCxXs 1WD4hxL73xy7lhrEd7k28G42RT6cQthAf0yDfhjOMhUUIGbd8fHrTjrodgMcD1VUGkEd JbmH1ZQhuNz1XUyQP/2cOF8qYjmvQuswQPGi06rL+Kw/1bhB00jjHCLHBHo8+Vx1SU8E O0nHQJP50ZyvYDMrKog/OuSpUlpyb2RBDk4qvHzMjDItdVtBw8LntFeVHuBgkOVXdjnZ S/N+wTE9nwJRpJ+4vko9yaUT/NH3jNjg1g4F5rVN5RAjmIbZD7eHq+Evx59a3agSf5h2 Eg6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=BK1fSbRcRbtTaVJaQJcwx8EQv7cxUbpK3F57+mfl/rQ=; b=Qp2FJmTk+asmLyNvzCYehquFpqOrdo85kEz6/XH7sFMTK5jTsLjGjcZLSAU7rM+Ehr PN/1iWIvJh7oXi0qX12UTa+HEezUjRsdPe60GM2axjCw9kcVS8OZNaREjkURsX4i8KYx DRYdrHR3W2TWAbef2WeesCHuA54m8jBRYiYGR40F/LNpttZqtuLFW5WZHlPFVyy1sP9z +oSZimNbI9ryItHl+oMsj++1WgHpY0RuoYPImtpd9sVRTkoXjxN2wzA0wiBhN7TSkURx uh47ZkNp7ZsxssNwdSGj1WeGTscaFYd5MJ4Z3I/l5IoQCc3143uQujMiJlDNLD+k0e6O FwzQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o29si35460808pgm.380.2019.08.13.19.03.47; Tue, 13 Aug 2019 19:04:03 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbfHNCDL (ORCPT + 99 others); Tue, 13 Aug 2019 22:03:11 -0400 Received: from inva021.nxp.com ([92.121.34.21]:43180 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726659AbfHNCDK (ORCPT ); Tue, 13 Aug 2019 22:03:10 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6641F2002E4; Wed, 14 Aug 2019 04:03:08 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 222E620027A; Wed, 14 Aug 2019 04:03:02 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3507340293; Wed, 14 Aug 2019 10:02:54 +0800 (SGT) From: peng.fan@nxp.com To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Anson.Huang@nxp.com, abel.vesa@nxp.com, ping.bai@nxp.com, peng.fan@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx8mn: fix int pll clk gate Date: Wed, 14 Aug 2019 09:53:12 +0800 Message-Id: <20190814015312.11711-1-peng.fan@nxp.com> X-Mailer: git-send-email 2.9.5 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan To Frac pll, the gate shift is 13, however to Int PLL the gate shift is 11. Cc: Fixes: 96d6392b54db ("clk: imx: Add support for i.MX8MN clock driver") Signed-off-by: Peng Fan Reviewed-by: Jacky Bai --- drivers/clk/imx/clk-imx8mn.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index ecd1062f6847..c5838710e1d8 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -436,12 +436,12 @@ static int imx8mn_clocks_probe(struct platform_device *pdev) clks[IMX8MN_AUDIO_PLL2_OUT] = imx_clk_gate("audio_pll2_out", "audio_pll2_bypass", base + 0x14, 13); clks[IMX8MN_VIDEO_PLL1_OUT] = imx_clk_gate("video_pll1_out", "video_pll1_bypass", base + 0x28, 13); clks[IMX8MN_DRAM_PLL_OUT] = imx_clk_gate("dram_pll_out", "dram_pll_bypass", base + 0x50, 13); - clks[IMX8MN_GPU_PLL_OUT] = imx_clk_gate("gpu_pll_out", "gpu_pll_bypass", base + 0x64, 13); - clks[IMX8MN_VPU_PLL_OUT] = imx_clk_gate("vpu_pll_out", "vpu_pll_bypass", base + 0x74, 13); - clks[IMX8MN_ARM_PLL_OUT] = imx_clk_gate("arm_pll_out", "arm_pll_bypass", base + 0x84, 13); - clks[IMX8MN_SYS_PLL1_OUT] = imx_clk_gate("sys_pll1_out", "sys_pll1_bypass", base + 0x94, 13); - clks[IMX8MN_SYS_PLL2_OUT] = imx_clk_gate("sys_pll2_out", "sys_pll2_bypass", base + 0x104, 13); - clks[IMX8MN_SYS_PLL3_OUT] = imx_clk_gate("sys_pll3_out", "sys_pll3_bypass", base + 0x114, 13); + clks[IMX8MN_GPU_PLL_OUT] = imx_clk_gate("gpu_pll_out", "gpu_pll_bypass", base + 0x64, 11); + clks[IMX8MN_VPU_PLL_OUT] = imx_clk_gate("vpu_pll_out", "vpu_pll_bypass", base + 0x74, 11); + clks[IMX8MN_ARM_PLL_OUT] = imx_clk_gate("arm_pll_out", "arm_pll_bypass", base + 0x84, 11); + clks[IMX8MN_SYS_PLL1_OUT] = imx_clk_gate("sys_pll1_out", "sys_pll1_bypass", base + 0x94, 11); + clks[IMX8MN_SYS_PLL2_OUT] = imx_clk_gate("sys_pll2_out", "sys_pll2_bypass", base + 0x104, 11); + clks[IMX8MN_SYS_PLL3_OUT] = imx_clk_gate("sys_pll3_out", "sys_pll3_bypass", base + 0x114, 11); /* SYS PLL fixed output */ clks[IMX8MN_SYS_PLL1_40M] = imx_clk_fixed_factor("sys_pll1_40m", "sys_pll1_out", 1, 20); -- 2.16.4