Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp331491ybi; Fri, 21 Jun 2019 00:06:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg8l+ZuhDXqmg+Ay3sKMeJlVB15ienIpU1FR8g98WDYmzLQjeCC4wGLiEBDzwRi7XGH7hZ X-Received: by 2002:a63:f342:: with SMTP id t2mr15760909pgj.83.1561100769911; Fri, 21 Jun 2019 00:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561100769; cv=none; d=google.com; s=arc-20160816; b=WCIb4pgKWvdbr0U7nUg2vwO7rKmd5CpCrMsHQxcTtLVQO4V8VIPuYNcVnWoH9Nerx3 KTXeCml+nKQFv5YOao6otAdKxi1F4duB+Mvs78hnQ0YOKdt3BAkD6faoMjnquWAzQoqr tynLRMgj9ATfPpOkQ4CZtwmU2DCQEmYxaABKxzj9c//hIeUHlmqDd3UNz0SUM+jAVijx pvbIAkrxJDAtkGxmzrYZp49XWFGUVr2URgV0ZnZEhIK4mE+gVkKMCvoFKeM5p9OzYFYn uDDSwJtI2kMc9bK8b36YcFzE1JREffMKyAL7QRV04w2j32Gm0d/sLXupcl8p6TPauJDs Ywdg== 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=bHWRdSgwgtez7+ZKT6qHGQmXlmYQ6YMhU8arQd2M1Vw=; b=rORtwUumEgefb/sebUcnUPPLIH+0Cz5nMWh8to5wNfTnOBbnNhqP6wyOqLbnqXhR3Y GGOM5RSAhi1/FRV+KV2OBD+DcuXSpZPIHxLXBi1o32SVljF8mKrgawa6sus3VanplH59 5XffehEPO8W65DEuqiUoKgSkpssDPkAY+NK2yQe2otQqFyLmPPRDF+33+pH3HTJfDD6G ATfunWjFNEfyyg5rVyaAIHQ74kCezaBeQFxYphlY6mm9NrES78YJ2aGTZRGerUw/1yiz s+9uLMjPk0ppsuDqrkoTTEGzDETNs/7bECFmbeojJb3YfHMleWldVC/ycQb+YPkQ9QWh P/Tg== 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 3si1956072plz.57.2019.06.21.00.05.54; Fri, 21 Jun 2019 00:06:09 -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 S1726274AbfFUHFq (ORCPT + 99 others); Fri, 21 Jun 2019 03:05:46 -0400 Received: from inva021.nxp.com ([92.121.34.21]:38518 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726058AbfFUHFn (ORCPT ); Fri, 21 Jun 2019 03:05:43 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C96DD200909; Fri, 21 Jun 2019 09:05:41 +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 8B42C20090A; Fri, 21 Jun 2019 09:05:31 +0200 (CEST) Received: from mega.ap.freescale.net (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 75281402F3; Fri, 21 Jun 2019 15:05:19 +0800 (SGT) From: Anson.Huang@nxp.com To: catalin.marinas@arm.com, will@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, leonard.crestez@nxp.com, aisheng.dong@nxp.com, ping.bai@nxp.com, daniel.baluta@nxp.com, peng.fan@nxp.com, abel.vesa@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 3/4] clk: imx8mm: Add system counter to clock tree Date: Fri, 21 Jun 2019 15:07:19 +0800 Message-Id: <20190621070720.12395-3-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190621070720.12395-1-Anson.Huang@nxp.com> References: <20190621070720.12395-1-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: Anson Huang i.MX8MM timer-imx-sysctr driver needs system counter clock for proper function, add it into clock tree. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index 43fa9c3..56d53dd 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -645,6 +645,8 @@ static int __init imx8mm_clocks_init(struct device_node *ccm_node) clks[IMX8MM_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4); clks[IMX8MM_CLK_DRAM_CORE] = imx_clk_mux2_flags("dram_core_clk", base + 0x9800, 24, 1, imx8mm_dram_core_sels, ARRAY_SIZE(imx8mm_dram_core_sels), CLK_IS_CRITICAL); + clks[IMX8MM_CLK_SYS_CTR] = imx_clk_fixed_factor("sys_ctr", "osc_24m", 1, 3); + clks[IMX8MM_CLK_ARM] = imx_clk_cpu("arm", "arm_a53_div", clks[IMX8MM_CLK_A53_DIV], clks[IMX8MM_CLK_A53_SRC], -- 2.7.4