Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7469062ybl; Wed, 15 Jan 2020 23:40:58 -0800 (PST) X-Google-Smtp-Source: APXvYqxTK8Msqgm06/SjONw9sE/+onJx0s1ET7Q9hspmMWDBnyqjabX0iFjoFtx932OkbIJjkyaP X-Received: by 2002:a9d:73ca:: with SMTP id m10mr1020141otk.312.1579160458315; Wed, 15 Jan 2020 23:40:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579160458; cv=none; d=google.com; s=arc-20160816; b=wjSNuHuvpmdWLVWza9XCXMnc50PCemoQ6pXmYLobapNJtvx9JvxUvSYqaXJee5Vfq1 Rv0HfMXMkVTe2M3ecg/Zz5nJoFsusxGwOWwvXOOAF5ON+Kj3fMS/h18AwLWGXjwIebk0 Uz9r1gIirh7+WmX8K2pw6VMrTH5U3BG7l2fhBlyl7WY68lQol8U5dIBHK/GJIwCJQ3za 4WmDbcC6L0Oa9uj1Vq2N9dB9C5E9if1fEqlUYn093Rk2dOf4W/3xcmeKGKatEbMom6Gd Yh8T5ys5N2wY0m5YJXhlcg6gZqZEHzYHJd9UTl8R2ds+Gmx5iRi3z/x06JC0DjiuHdsc 0PZw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=P7lbBb6Q9xLBVvxFAdx4EKpy2S6oRi9cdc0yhNniVN0=; b=Vz6gWZk0E5PnBPVnNMkHHvQ3jUImN8pEnWyrkBUTWVBi986J5ySkHim8Aux36MH75v 6P3JFKekBmtfW7VDkcy73jbEy7rBUi6JRj/SuLu+1q4+XI8MqfgpF2u/F82zDqTcmC8Z 1FFUA53xo2UwgBWI31mASurc2mdYGvG0Rv4JgJ5P7l3tNjwVcppouzwaDcUFe0PCi6J2 jS02gjlG6icnfI2pdIbHpuoC7m4ct4zSsGzSVrytk8xt9ys8LA8VV+KhYm+8lMhUflAT q0ODl+wBOODr6q1QOsHGPm8y7QnoMtv4WKY3EdwM92cdrQ8wXjssOjgcC2oZW6fHB5nT A2IQ== 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 e22si12141973oiy.124.2020.01.15.23.40.46; Wed, 15 Jan 2020 23:40:58 -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 S1729508AbgAPHhe (ORCPT + 99 others); Thu, 16 Jan 2020 02:37:34 -0500 Received: from inva021.nxp.com ([92.121.34.21]:60468 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbgAPHhb (ORCPT ); Thu, 16 Jan 2020 02:37:31 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EF976200676; Thu, 16 Jan 2020 08:37:28 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E1926200659; Thu, 16 Jan 2020 08:37:28 +0100 (CET) Received: from fsr-ub1864-014.ea.freescale.net (fsr-ub1864-014.ea.freescale.net [10.171.95.219]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 3F4332047A; Thu, 16 Jan 2020 08:37:28 +0100 (CET) From: =?UTF-8?q?Horia=20Geant=C4=83?= To: Shawn Guo , Stephen Boyd , Rob Herring , Abel Vesa Cc: Mark Rutland , Sascha Hauer , Michael Turquette , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Anson Huang , Leonard Crestez , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] clk: imx8mn: add SNVS clock to clock tree Date: Thu, 16 Jan 2020 09:37:17 +0200 Message-Id: <20200116073718.4475-3-horia.geanta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200116073718.4475-1-horia.geanta@nxp.com> References: <20200116073718.4475-1-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 i.mx8mn has support for clock gating the snvs module. Add it into clock tree so that rtc-snvs driver could use it. Note this will also be required in the snvs_pwrkey driver, once support for clock management will be added. Signed-off-by: Horia Geantă --- drivers/clk/imx/clk-imx8mn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index ce2ba3dce483..6a50b59968f5 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -519,6 +519,7 @@ static int imx8mn_clocks_probe(struct platform_device *pdev) hws[IMX8MN_CLK_SAI5_IPG] = imx_clk_hw_gate2_shared2("sai5_ipg_clk", "ipg_audio_root", base + 0x4370, 0, &share_count_sai5); hws[IMX8MN_CLK_SAI6_ROOT] = imx_clk_hw_gate2_shared2("sai6_root_clk", "sai6", base + 0x4380, 0, &share_count_sai6); hws[IMX8MN_CLK_SAI6_IPG] = imx_clk_hw_gate2_shared2("sai6_ipg_clk", "ipg_audio_root", base + 0x4380, 0, &share_count_sai6); + hws[IMX8MN_CLK_SNVS_ROOT] = imx_clk_hw_gate4("snvs_root_clk", "ipg_root", base + 0x4470, 0); hws[IMX8MN_CLK_UART1_ROOT] = imx_clk_hw_gate4("uart1_root_clk", "uart1", base + 0x4490, 0); hws[IMX8MN_CLK_UART2_ROOT] = imx_clk_hw_gate4("uart2_root_clk", "uart2", base + 0x44a0, 0); hws[IMX8MN_CLK_UART3_ROOT] = imx_clk_hw_gate4("uart3_root_clk", "uart3", base + 0x44b0, 0); -- 2.17.1