Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp241515ybv; Tue, 18 Feb 2020 22:11:04 -0800 (PST) X-Google-Smtp-Source: APXvYqw02jswVp4wydH2rlJlzZnSRiNfYQCZMi1N/iqmLb7xMoqH60Lik8QAXf+NXd+oxqDSZjsl X-Received: by 2002:a9d:1706:: with SMTP id i6mr19443846ota.151.1582092664121; Tue, 18 Feb 2020 22:11:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582092664; cv=none; d=google.com; s=arc-20160816; b=KByfEmJ1ysf5gf9/C3Zd7Q3hj3CpVm2aEb9FeleN9VPTmrJ6IM46x7i3zjNBaXr7Ww VyGdMlKLoDAyZNCZcEyEu65FvHUz2dbxn1TwDomlb6FB+dbTivUAvIcC/GllXgLoqPre jwhPi0PtZGrU4u5MCDG4dV8jNhDVWvafr9k57GgUqo1sq/a8n+/7NCmVCU59noW3dD4o OR5R7CRK6hXcEKSrddeNRu3Q/abwfH0vvSy8YzRajL8DKZ1oA1MM3NFTwUQfRXaoKvBj 2csrRXY9LhLutV17vh1p8b7IYROl4SSBBeiS1+5ZJJHLi1VU5d2IMTND83nwj5hvgB3/ 3kWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=wNgngGWgGAAAVER0bt8f4elKLX3VSoFgNR+ANVKy2CA=; b=FMq6pKD4dcx4s/6rxWl1Cgt0bxw8xrY0EnNtdMQXAs8M0D+TjReaapJys8J+Ggt1pV ztz3ckt0Ocdxv+ER25r9hAuWEPjAZKGTKsQM76bIcJNCRhy+yDziCGG+ScoPgTPxj8As /aXjhIo598sI2B+5/IDAQQj3NfbrH7K8hFLb40/kc/wGxvamIGv2KZNJKuXIUJoJ9HkL EjhTCBtkjukVKdYm6ILa6KkN8sIb8vsDlyv1c88SX9vQcHp1asQXKVDjm4Sy1CVu7WfI 9P/pdpZqFL4HVgylZWNYiy+PI387a2vGHFwi49eqfBsaJUAEWnlc0yBIV7MHvqdU+CYb mIMg== 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 w12si563836otk.77.2020.02.18.22.10.52; Tue, 18 Feb 2020 22:11:04 -0800 (PST) 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 S1726523AbgBSGKQ (ORCPT + 99 others); Wed, 19 Feb 2020 01:10:16 -0500 Received: from inva020.nxp.com ([92.121.34.13]:36492 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbgBSGKM (ORCPT ); Wed, 19 Feb 2020 01:10:12 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 78D5A1A097C; Wed, 19 Feb 2020 07:10:10 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F0E7E1A0890; Wed, 19 Feb 2020 07:10:02 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D8BAA402DD; Wed, 19 Feb 2020 14:09:53 +0800 (SGT) From: Anson Huang To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, abel.vesa@nxp.com, peng.fan@nxp.com, fugang.duan@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 3/3] clk: imx8mp: Correct the enet_qos parent clock Date: Wed, 19 Feb 2020 14:04:11 +0800 Message-Id: <1582092251-19222-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1582092251-19222-1-git-send-email-Anson.Huang@nxp.com> References: <1582092251-19222-1-git-send-email-Anson.Huang@nxp.com> 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: Fugang Duan enet_qos is for eqos tsn AXI bus clock whose clock source is from ccm_enet_axi_clk_root, and controlled by CCM_CCGR59(offset 0x43b0) and CCM_CCGR64(offset 0x4400), so correct enet_qos root clock's parent clock to sim_enet. Fixes: 9c140d992676 ("clk: imx: Add support for i.MX8MP clock driver") Signed-off-by: Fugang Duan --- drivers/clk/imx/clk-imx8mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index 1a9d7a0..cb58fb8 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -688,7 +688,7 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) hws[IMX8MP_CLK_CAN1_ROOT] = imx_clk_hw_gate2("can1_root_clk", "can1", ccm_base + 0x4350, 0); hws[IMX8MP_CLK_CAN2_ROOT] = imx_clk_hw_gate2("can2_root_clk", "can2", ccm_base + 0x4360, 0); hws[IMX8MP_CLK_SDMA1_ROOT] = imx_clk_hw_gate4("sdma1_root_clk", "ipg_root", ccm_base + 0x43a0, 0); - hws[IMX8MP_CLK_ENET_QOS_ROOT] = imx_clk_hw_gate4("enet_qos_root_clk", "enet_axi", ccm_base + 0x43b0, 0); + hws[IMX8MP_CLK_ENET_QOS_ROOT] = imx_clk_hw_gate4("enet_qos_root_clk", "sim_enet_root_clk", ccm_base + 0x43b0, 0); hws[IMX8MP_CLK_SIM_ENET_ROOT] = imx_clk_hw_gate4("sim_enet_root_clk", "enet_axi", ccm_base + 0x4400, 0); hws[IMX8MP_CLK_GPU2D_ROOT] = imx_clk_hw_gate4("gpu2d_root_clk", "gpu2d_div", ccm_base + 0x4450, 0); hws[IMX8MP_CLK_GPU3D_ROOT] = imx_clk_hw_gate4("gpu3d_root_clk", "gpu3d_core_div", ccm_base + 0x4460, 0); -- 2.7.4