Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp316776imm; Fri, 31 Aug 2018 01:00:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBCDeLs6lW5O5IOazoSCEYx9x3Ksgz8aXT0ns9iarv2Vduflem7T9xcOeRhXEMsvyUGYbz X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr13572606pgo.263.1535702437115; Fri, 31 Aug 2018 01:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535702437; cv=none; d=google.com; s=arc-20160816; b=bO89YKssWHO+6UT39Pc8IUTq0T2Ctl348TYL1gZC8Hj26kgM8lRmtgYESsD8kj9KfZ 8Q2iyL36MjaUB1jTlXWI9Z1cn8cwVXlrFIJizoPZRiHgb9JPIkMz+oY4QiyuAmP/V6r4 fgqIn+aSxOSxUYKBx906a2FJ9gdBe3DRL+kpzWko5T3BdPNAi3L1Rh0q6OhLyI7zuwzz rGitDxjIASvvuCWx2xNSG5KafKwpyQQ3LpIW6cLz/R1n60lVyVbE/bxPZ8I2BrxJI/gO qqZ1xuxzm3qk08xlUdOjRQrT2xlWDGpIre3v+4RhHfsBE8a7GIct+ofDt0hjzdM/lPlL /e5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=NfwB5QpG4II+YnP7xB3hCSmC+N3wkOV4ECnDZ54A648=; b=ifnbYMQkoWFN4ZfZt9WN/DkJxs6ZzJHfb3M/EzJkFRzrQ4rTS8nxboyYgb9jlwDO94 9g7yNdLarQf3s40VyS3nwViEMT/H/b4OPs1hKlMm7G4HDson3pqgnC9YNEt4hti5YHPL YJ11FT+gkmfmKtCfR7VbbGIstao59zEV6QGPZ2mMuPX8Jlex9z5o8XKkltLqTXTj29+P 7sfHJ8HG9XajfqjRqDnFSKiEWNwEv7Ex1j9uzIxbxHmCfY9GwGeQhDVW6+3UBd+oqrkM bRWFRPFXYrHba+Pa2kpZanWyZDRpQsnqwWCRQBnobIcOSry6nOrNYZOnbMi3C8lJli41 bEdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=tEOCz69I; 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=pass (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 d9-v6si9207294pfk.166.2018.08.31.01.00.22; Fri, 31 Aug 2018 01:00:37 -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=@nxp.com header.s=selector1 header.b=tEOCz69I; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727659AbeHaME4 (ORCPT + 99 others); Fri, 31 Aug 2018 08:04:56 -0400 Received: from mail-eopbgr20045.outbound.protection.outlook.com ([40.107.2.45]:7632 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727178AbeHaMEz (ORCPT ); Fri, 31 Aug 2018 08:04:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NfwB5QpG4II+YnP7xB3hCSmC+N3wkOV4ECnDZ54A648=; b=tEOCz69I7WHT/6XNwTtK08PaVQGPBlmonEe4GWCiBrZ35V55mB6ACn0wurtJtpUlK/DdsXtGE8Je9nDg2445EgbsypR08To/cmkfdCbnLcTDMmUTbhmIhBsUopj+wmAozE97njirRizE+Rku5sAWCcySIcU7wFB9zjzt1ASKGFE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by AM0PR0402MB3907.eurprd04.prod.outlook.com (2603:10a6:208:f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.17; Fri, 31 Aug 2018 07:58:33 +0000 From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, colin.didier@devialet.com, clement.peron@devialet.com, ping.bai@nxp.com, aisheng.dong@nxp.com, shengjiu.wang@nxp.com, matteo.lisi@engicam.com, michael@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 6/7] clk: imx6q: add mmdc0 ipg clock Date: Fri, 31 Aug 2018 15:53:17 +0800 Message-Id: <1535701998-20443-7-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535701998-20443-1-git-send-email-Anson.Huang@nxp.com> References: <1535701998-20443-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR01CA0037.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::25) To AM0PR0402MB3907.eurprd04.prod.outlook.com (2603:10a6:208:f::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0edd7ae7-7bc4-4972-b774-08d60f1790c4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR0402MB3907; X-Microsoft-Exchange-Diagnostics: 1;AM0PR0402MB3907;3:OKf1UmRQMR9ASGZa2rUuwdLYa0Rh0jCjABC41LK4gyKrX5zZ4ZBgdzHB1UvQlBk5QFAkyFTuKweiXsCFmUcjryv7dZnRnE42DyLwi7bArQyuvsW0tkeznu7lXhih6GiC20K3GZa7TOnOrOZiyAL/Ac/hJOUcVVwSZsIvPFJezKn79OMLwmPcqMg3G/cdDZpRGk2Z3rKb6tV16SU3fD9njWoXLxvV12NUDuVIuYdtAsy8RrIvNF9YOEdqBuKzYKGI;25:px3qvtWkvuEw9uIw/XvCS8q9FLyDk4M5rkj4Y5d2fFeHM/iJUii/7I297S61IZKAPNb3flV8QCwxWx1+gJ0FzHuuxkbYHIpKx7jCyK9ZRYxDlw20jcCSqbyXByyQsOMkUVJdNILJyadAOLL33yqlMvfuOuwRLIs7vFGvzmq7YeRt49pDZQGhvL6pG04UWrJCx/vfwxbt2gX5GZg/CuIgP0fQ6Rx+9tu7IjObacKQeDRsK5RHaWYx+6/AxRwMn44Wkxb6CDptS/rRx6tQXFl6l6wGvDYcaNClyvGYmirK5Ku2U/GXrrbt6EUuVradONa6pSSCMv9vhp2gxW5Wr99J/g==;31:knT34NAER05a4FlkQqbi9K+7sSJyrdbwM+yJG3pPPmJmrnnEXW5MC8PBb30gIUNqS5QMUMHRDw/McwgTg/Xohs6ogavrf+0HWopwKNFPrvkyF6NIEQQVga/xx/7rMEhM8Hm6HOs4oE+5lfwjtwsZJDebZ0Vak79I47B/PKJuI5x6mrALeA171A4qb1KqqGKaD7zvUcPsZPPwleZzizLvErO81hC39G8EJP2l8PIV7sM= X-MS-TrafficTypeDiagnostic: AM0PR0402MB3907: X-Microsoft-Exchange-Diagnostics: 1;AM0PR0402MB3907;20:KAZRh7Qog0WMoK6oRcLoboUOH0ga8OcUzBDdUY4aX7nmp+3K88u47FJmdd9pBFD0Y7maSRrtlVYVmGFUswy5nbAdH/sp16HD89imih0X+APZtHbtaJq9mgQ9Xp2tgQfYxuZAUF2bC5LpyQBjtJdwNAaPabo/Jg1IO2DkyiumPPjsyMjmdLE2/4qk+UjVw9/qeSvLgYtj7W05yDRs20kUI46/61h/j8MZGq0a9zN2awnNnKnxjIdr2b40hAQhWSvZju+9vXTLwnuB0VakSIhk2LXkoKE9egnQx8EhrboOwtKegBJFtihuoweznuVBa+Krgmm7ADuv+3MCLJi5QyMP4PgXYCRE/o+vQA2LAkQy5zi8BRIoU4lzRjq0V4+ZInoF7QXawRuiHXBiEciwVPtWip9i/NLkk1nNBAXYfkPkaDfXR0/NYQqu/G1/0AVl89iYG450yNssINVudV3lQzR4TjCI74bWdD9tXk+zW5bTGqMk0fcK5vYzhxjxjgearaJD;4:vJ4GjyNYdiK0K7ErK0iJZC3heP1yMUKvELOPD2F6zCYE4ra8n5Eru7/ymSpxYl6OqST4CY3+sl7FidgxJ/tVjUwJuaKLpjxSCBL7gh33+xFPHKOg3luEQgS1g+/Co4NePgv5B2rH1JwYwnodN6AQw/gngFxRBfqeoNWaK2avsYz7EPlt47Dptz1NZK7epA3xLdJAVDBegy0ctPCONcaJ6NEkdbpBzVMYoFUksOeaP4B5j6NNqjwXjZbPzSgn1h2QT2em/9DLVTtleOkTW9wbrILeSCW3GVZZFzUC3RZ+syATOho/RY0Y9c7c2I7EkKF/ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699016);SRVR:AM0PR0402MB3907;BCL:0;PCL:0;RULEID:;SRVR:AM0PR0402MB3907; X-Forefront-PRVS: 07817FCC2D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(376002)(366004)(346002)(136003)(199004)(189003)(106356001)(105586002)(86362001)(575784001)(48376002)(50466002)(76176011)(478600001)(51416003)(52116002)(316002)(16586007)(25786009)(2906002)(5660300001)(305945005)(97736004)(4326008)(386003)(6506007)(7736002)(53936002)(50226002)(186003)(16526019)(68736007)(36756003)(8936002)(6666003)(26005)(6486002)(6116002)(14444005)(3846002)(6512007)(66066001)(8676002)(47776003)(81166006)(81156014)(476003)(2616005)(486006)(446003)(11346002)(956004)(7416002)(921003)(32563001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0402MB3907;H:anson-OptiPlex-790.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM0PR0402MB3907;23:7Fm9OecqJVYDsO6uq4/Zok30ysHyQOtPCGpQI9b?= =?us-ascii?Q?Y813ygcYo97cLfUHqG5k6SwZkzA5gwikZqGGLyHefxqJbgTzvfoZ8YfLjZKw?= =?us-ascii?Q?Lm8T9zAiJWxCw/UShtt2HfSWGHPTGS2akSo8c9Sj30f9Ip6soQvwtCi8HePC?= =?us-ascii?Q?CAOBF/QjevcrqmSkOd9oZ01Rkpa7d2AWo3hEujC8W9aa4p8HoHu02MyBDcsh?= =?us-ascii?Q?GQU2L9KagD5ih5DGMo5sUAKD0JQ6r04G3rzojFBmmdku5D2xrAli+U7U37M5?= =?us-ascii?Q?9Ryt/5HwvZpoUSHLQrwQbhYt/NblGIwyROLipzoBTXSQHx2H+Iz5lGkC4F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ov9B5JvNqi2pH1yYqMfBkMU5I4QSwzcdxuIWXiB/ysTVYoJjovX6HAow=;7:YVSVHCLr4ZDYYJ9u3U5WMkyN32p/MgWIM48dWILvvvpNtoHYCh32iTPdbHP8v5ibQj3LiFah9WUD8Ljlg2vwcsFHbB7Dw7nd/LZxuJFqux68OpTaLJD9A3+SWLfR4WGXam2bVNp3ngFcMrMaRzYu2DF/530ORJm7UtHkRWGs5LimsrCy0Ih3TeD3FTcgLrgb8X73Uxj+6ubgZG0brVr5FOE4M+WMMKsdWAeDgoZyakaYB/Y9Qnu9kPgqG1Ba140o SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 07:58:33.7603 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0edd7ae7-7bc4-4972-b774-08d60f1790c4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3907 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX6Q has MMDC0 ipg clock in CCM CCGR, add it into clock tree for clock management. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 8c7c2fc..bbe0c60 100644 --- a/drivers/clk/imx/clk-imx6q.c +++ b/drivers/clk/imx/clk-imx6q.c @@ -789,6 +789,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) clk[IMX6QDL_CLK_MLB] = imx_clk_gate2("mlb", "axi", base + 0x74, 18); clk[IMX6QDL_CLK_MMDC_CH0_AXI] = imx_clk_gate2_flags("mmdc_ch0_axi", "mmdc_ch0_axi_podf", base + 0x74, 20, CLK_IS_CRITICAL); clk[IMX6QDL_CLK_MMDC_CH1_AXI] = imx_clk_gate2("mmdc_ch1_axi", "mmdc_ch1_axi_podf", base + 0x74, 22); + clk[IMX6QDL_CLK_MMDC_P0_IPG] = imx_clk_gate2_flags("mmdc_p0_ipg", "ipg", base + 0x74, 24, CLK_IS_CRITICAL); clk[IMX6QDL_CLK_OCRAM] = imx_clk_gate2("ocram", "ahb", base + 0x74, 28); clk[IMX6QDL_CLK_OPENVG_AXI] = imx_clk_gate2("openvg_axi", "axi", base + 0x74, 30); clk[IMX6QDL_CLK_PCIE_AXI] = imx_clk_gate2("pcie_axi", "pcie_axi_sel", base + 0x78, 0); diff --git a/include/dt-bindings/clock/imx6qdl-clock.h b/include/dt-bindings/clock/imx6qdl-clock.h index 7ad171b..87b068f 100644 --- a/include/dt-bindings/clock/imx6qdl-clock.h +++ b/include/dt-bindings/clock/imx6qdl-clock.h @@ -273,6 +273,7 @@ #define IMX6QDL_CLK_MLB_PODF 260 #define IMX6QDL_CLK_EPIT1 261 #define IMX6QDL_CLK_EPIT2 262 -#define IMX6QDL_CLK_END 263 +#define IMX6QDL_CLK_MMDC_P0_IPG 263 +#define IMX6QDL_CLK_END 264 #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */ -- 2.7.4