From patchwork Tue Apr 11 02:37:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 9672295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7FE09600CB for ; Mon, 10 Apr 2017 10:41:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F08681FF8F for ; Mon, 10 Apr 2017 10:41:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E51D0283F9; Mon, 10 Apr 2017 10:41:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_12_24, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB90B1FF8F for ; Mon, 10 Apr 2017 10:41:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752126AbdDJKlL (ORCPT ); Mon, 10 Apr 2017 06:41:11 -0400 Received: from mail-sn1nam02on0057.outbound.protection.outlook.com ([104.47.36.57]:53960 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752756AbdDJKlK (ORCPT ); Mon, 10 Apr 2017 06:41:10 -0400 Received: from BN6PR03CA0019.namprd03.prod.outlook.com (10.168.230.157) by BN1PR03MB283.namprd03.prod.outlook.com (10.255.200.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Mon, 10 Apr 2017 10:41:08 +0000 Received: from BN1AFFO11FD032.protection.gbl (2a01:111:f400:7c10::146) by BN6PR03CA0019.outlook.office365.com (2603:10b6:404:23::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Mon, 10 Apr 2017 10:41:08 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; pengutronix.de; dkim=none (message not signed) header.d=none; pengutronix.de; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD032.mail.protection.outlook.com (10.58.52.186) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Mon, 10 Apr 2017 10:41:07 +0000 Received: from b29396-OptiPlex-7040.ap.freescale.net (b29396-OptiPlex-7040.ap.freescale.net [10.192.242.182]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3AAexg6005350; Mon, 10 Apr 2017 03:41:04 -0700 From: Dong Aisheng To: CC: , , , , , , , Subject: [PATCH 2/2] clk: imx7d: add the missing ipg_root_clk Date: Tue, 11 Apr 2017 10:37:49 +0800 Message-ID: <1491878269-9559-2-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491878269-9559-1-git-send-email-aisheng.dong@nxp.com> References: <1491878269-9559-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131362944676959121; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39400400002)(39840400002)(39860400002)(39450400003)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(77096006)(4326008)(33646002)(36756003)(104016004)(110136004)(38730400002)(5003940100001)(8676002)(6666003)(8656002)(81166006)(189998001)(86362001)(8936002)(85426001)(50226002)(356003)(2351001)(2950100002)(6916009)(81156014)(5660300001)(47776003)(50466002)(105606002)(305945005)(76176999)(106466001)(54906002)(50986999)(48376002)(53936002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB283; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD032; 1:9XJ3yVDmP2mZpB6Xcp9Qrn1BChSwP2dTNCqmVtdgzMLWC7tj/iPnbBZH7miKfk97nhXGoK2mFqImw2v5o9O3oadXYDoiP6wneMCxQA+Z0UZT0XcnYA5VQ7AdRdPeVBEHQwF4+KsU4/Xso7Sbj9iU7jJT4zd2XQR9WczKJyiVp1gl4KZEd9ZNCCh02ThkXiCVwwDk60B9jKtGc/WtSathSiK7N4RIePNOM7D3WlMQSqxQ2AN4iZnK+duGv7m+zqlZoofMht0HIm25vWZ15yU1qnrhDIeSf+OzVSHQH0RCjfil2EGlV+y4kneqXgCTAEX7U09BFOraU3WadUDrp5XZIBQPC+uKgkQoIcesyBya95G3wf5wcz9aB5wRNwE8+aovDLctM9V4z4WdbZxpdpYoAu69vJNpg8jKHKM+QiVRGVhOPYgpzoCqaUTu18fjKrnmkRThgyUiYYK4HXyIh9NtyPM0cSJGgXiksZR1Mrybdnw45umGwbYLkDwaVtddP6CZU9iul9btFSLTMZj0EEJOK2bXjJnWDPnKeiFfUmw/7AL3aE+zjAOTCqwCV8X1a5V6pQICxFvi8IEN5GWOPg+yoesr1R0F8fBVphiJdHB+NbcpvCdbhrYIdkPuLEf5lV3U MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: ed439bf8-6188-4cb9-3240-08d47ffe1893 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN1PR03MB283; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB283; 3:mqWWhMe6rb1e6L14FJZa1FPhTqZZeZ1FGtVV1ZpDZFaLVrpFCmDENY/wEiZUbbV1uq7sykJ6tkz4KNxrzCE4FrQ9Veoqr+qcgzyRUQTOvxQNncqgXW3PI8/TAWieqd3tRDh9CQAPnPafJQw2eB+J3/+ZT97o32qp+AAPOYExROrsm9xkAKoS6fTQeKHNcFGZx5REFjwGEnTPO+nSsdDxDDT16pYmF3u34c5R+YHxxds+HQOwSHgIGl/Xq3bfdUBUGUq2SuwF86FNny8IlGd4v/0WGpVDbDrMYuSOHZZoviPjRM7jpr0oyn0R03otCZ0jwAboWe0JctmmLHoyUir4PRuN/m71LMeIdSvqcmHqsWeqUpV5peKe2HXVlrUCJc9AqgtdFj9KsQYURsGrILK88EsPOdLv0+K06bJyl/3blpHlwWZ/OPxj3byqR//85LUK; 25:2WWPbRBv1Rt8BBv9LtbZTBptnvLBN+erNZr7DBb7Wu16Yu4crdr9iC8yMD+r+MQMxUsPVC3RjlHLIfP1MOlfb7uGBTcXOpixVXSNjv7I2WxbHSlOcvo6XFrX5VKGzuUN9HQCz1SX1dD+OQqdG3Gpyyhz2QeWwhe6dXA8W37CGn+AqtWww+pwPamwMm7dp6LpqkIVCpqdx6LD871nIw9u4dxNxXmZlGsPqJD537bfxTih70+MKE4JeKBiypMEkjRtgQ3sVvTIqxyHSSTfgLn0k49k97h1eI+KD+w4B0TT8LLrJdCDYBVfDPs62a29E9YHR+S2sV7aBkgwPcTJNm7MgYu5W/KvLFakYdk3PkCzwH6y5qaUDGk4yK8hyRRnUU1FYwwVtWwDJ4ApVtAdkU1WD6rTS9mMBJri0rGBRmx9ZGUM33LT4Pk7+kO++uakjTu64d7q0WLeOhjCLhgALoYqcQ== X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB283; 31:fkuJxD9mPIGxC3P/QhXE0lAG3eAQ6e1hE1SDmdn8PZdr8rs7DnmQFAowtXfYQpUnpxiuDUj42BftPxkKYMFvO0iXghxP8WTjSY+/o2ZaCAJF3P/+yyUIKMY1RmVYmAvYQ8ZCAmDUJur1pO5gwWIEdYa13F0iwEMISYqplg04JPXbcJK5hfUUj9Y6hn6tSnmTfh2cC6qD1MjplTT0XM8T1T4eCvGT7NgHnnB9BvBpspbN/VkzBx0POsTWNitdtK3K/aBOQ0N3Jm4ON9vvTkwei+yAlAMEZ/aI6fsJH3fwqas= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(8121501046)(5005006)(13023025)(13015025)(13017025)(13018025)(13024025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259075)(20161123556025)(20161123563025)(20161123561025)(20161123565025); SRVR:BN1PR03MB283; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB283; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB283; 4:xwk/wfQhl5KsSp0C0MKUHMHR8+m8H1HviPtYykPaGl7p55EFhFFH/8Ijsyr3GcjlwuQ7rXeiAbTgrD8pcTYo4wqR6QXk+rpH36tSxslGuVyFADu2eHYVdjpuNW3o8p9uw8KRYYaLX6MEHcI4vMnFat4GbX6ZsHuIA4NV5viyz6iu0YEXJeW++wqkzROHLUPJUruVjlU8XuS1x4m9sf9PHyNErIFMxEJTHONRawTv+UKs9Yj+676UUoMWL8qzXhvQ9t7rsX6wWknYBuwuRQizDbYXBwsSBNrP5KE/yr8j6WIuLipuoFvIDI+amA2fw19PD58itxjdRd8te9E3kNlIx8FA8OdsDmjmLDahhorYHybO0/UlIq4Q1F0lUQ3AbfPzgI/IobZG2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OUy8A/AwMZkVuY04wZElb2vcLJF/0SxDs1ifEDp1OAqSdwoAE82VZx3MErDRV+8MS9pzYazB0YnDJohKtA3IexMScc3FT1FgJqE8Cxe9/XaO3YD9aEBOUughVTx2j9gu2HA377QQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2017 10:41:07.5087 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB283 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the missing ipg_root_clk which actually is already used by many orphan clks in current tree. Cc: Shawn Guo Cc: Stefan Agner Cc: Fabio Estevam Signed-off-by: Dong Aisheng Reviewed-by: Stefan Agner Tested-by: Stefan Agner --- drivers/clk/imx/clk-imx7d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index ad04483..5620551 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -386,7 +386,7 @@ static int const clks_init_on[] __initconst = { IMX7D_PLL_SYS_MAIN_480M_CLK, IMX7D_NAND_USDHC_BUS_ROOT_CLK, IMX7D_DRAM_PHYM_ROOT_CLK, IMX7D_DRAM_ROOT_CLK, IMX7D_DRAM_PHYM_ALT_ROOT_CLK, IMX7D_DRAM_ALT_ROOT_CLK, - IMX7D_AHB_CHANNEL_ROOT_CLK, + IMX7D_AHB_CHANNEL_ROOT_CLK, IMX7D_IPG_ROOT_CLK, }; static struct clk_onecell_data clk_data; @@ -726,6 +726,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) clks[IMX7D_ENET_AXI_ROOT_DIV] = imx_clk_divider2("enet_axi_post_div", "enet_axi_pre_div", base + 0x8900, 0, 6); clks[IMX7D_NAND_USDHC_BUS_ROOT_DIV] = imx_clk_divider2("nand_usdhc_post_div", "nand_usdhc_pre_div", base + 0x8980, 0, 6); clks[IMX7D_AHB_CHANNEL_ROOT_DIV] = imx_clk_divider2("ahb_root_clk", "ahb_pre_div", base + 0x9000, 0, 6); + clks[IMX7D_IPG_ROOT_CLK] = imx_clk_divider2("ipg_root_clk", "ahb_root_clk", base + 0x9080, 0, 2); clks[IMX7D_DRAM_ROOT_DIV] = imx_clk_divider2("dram_post_div", "dram_cg", base + 0x9880, 0, 3); clks[IMX7D_DRAM_PHYM_ALT_ROOT_DIV] = imx_clk_divider2("dram_phym_alt_post_div", "dram_phym_alt_pre_div", base + 0xa000, 0, 3); clks[IMX7D_DRAM_ALT_ROOT_DIV] = imx_clk_divider2("dram_alt_post_div", "dram_alt_pre_div", base + 0xa080, 0, 3);