From patchwork Mon Jul 3 14:28:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adriana Reus X-Patchwork-Id: 9823307 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 35C3F60237 for ; Mon, 3 Jul 2017 14:29:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0EDB2850D for ; Mon, 3 Jul 2017 14:29:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A520928563; Mon, 3 Jul 2017 14:29:39 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 32B9A2850D for ; Mon, 3 Jul 2017 14:29:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756118AbdGCO3i (ORCPT ); Mon, 3 Jul 2017 10:29:38 -0400 Received: from mail-db5eur01on0065.outbound.protection.outlook.com ([104.47.2.65]:44896 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756346AbdGCO3f (ORCPT ); Mon, 3 Jul 2017 10:29:35 -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; bh=8D0aqXc+5JYZ3M14RGEFCDjmlW7z8C5ojmwgUHCxyCw=; b=P3SCatxQ9SPxPomyHzY33JsoIGrFVVcn985XJqCeXiY9roYgueUNNcYaRYiuhBRIQw8fiGBTDEztJodN1jkpXpDeBNEXhdMMOXKZNiU73P/dJ2h4zr09p2nB38Yfax43S9gsglDxwTBIYP1o1A8jWEZJteM1n6l+Az6robRx6v4= Authentication-Results: codeaurora.org; dkim=none (message not signed) header.d=none; codeaurora.org; dmarc=none action=none header.from=nxp.com; Received: from fsr-ub1664-141.ea.freescale.net (192.88.146.1) by HE1PR0402MB2777.eurprd04.prod.outlook.com (2603:10a6:3:d4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Mon, 3 Jul 2017 14:29:25 +0000 From: Adriana Reus To: sboyd@codeaurora.org, mturquette@baylibre.com, l.stach@pengutronix.de Cc: aisheng.dong@nxp.com, fabio.estevam@nxp.com, shawnguo@kernel.org, fugang.duan@nxp.com, anson.huang@nxp.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Adriana Reus Subject: [RFC 2/2] clk: imx: Remove enabling uart clocks from ccm driver. Date: Mon, 3 Jul 2017 17:28:03 +0300 Message-Id: <1499092083-2852-3-git-send-email-adriana.reus@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499092083-2852-1-git-send-email-adriana.reus@nxp.com> References: <1499092083-2852-1-git-send-email-adriana.reus@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.146.1] X-ClientProxiedBy: AM5PR0201CA0020.eurprd02.prod.outlook.com (2603:10a6:203:3d::30) To HE1PR0402MB2777.eurprd04.prod.outlook.com (2603:10a6:3:d4::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5577d1f4-5d0d-4e54-cc8e-08d4c21fe88a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0402MB2777; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2777; 3:K6RRw2OSZ+trpo6lNf8nmgwq4ZRrpeU8g6+KJ+UzrlHN0OyVuM2WUxs+KEXZ4ZRBbldWNR2NEtFiRggKqqVKA9CKL2dVvJGzf3ir2umgI7H1cGtXWp1qW0OCrdblxpnwYKsyv+Ckn7o8aJGiRnhnzSopNUYR/Q7FyvgEm9q0FM4DJZoM26wzFE9v1YiSjhYJXrYa+pd/q9oMmZJRq67KFSNHenjLeCu49D6kRE3CJbgGQ7fa3Rs3xF8VPBNXfqFujtFg1Hm/C4D6/+8T4WK9fvUrIQjqm6RdjCss0gxE9s46zt+d4uQr9FISpJVWzIw6AETRHvm8VwMq9TuVR2uQouD2cbG1KxTyr495C0e+qdFayoHIF5MBPJ1Rdcwl3tfkPqrtI2Pf5XuNUuNKzp23mRMEoaC4IgifaP11dC21bCqwsiKCpV+j9JNTRGo0Ou0dzOu5yCwIthSRbeqWef4ngAHltoLjPi9kxzFExeBTg/bXB6jZ3eJC7J6vhavUkFE8aYutLIVeKEKOX5I94CmcPiE9TIgiFHEprVFF5bE4IUXidaYhwhUJ8hCzNl+XcGjn3SupJXyTHXkBXSHFFks/XvRkweR7L7qglN2omo0m8o15OsUdV0dPFoCoMK4/5BZjs4WXwFjfJv9X9BWJC5ebzfNghS0eyokxsqgQJ85kIcfqZjO6sgsNkYS1WKj9vz0CLFQZhxgXBueZyFn4z9MSvgJUXwl+/hB+W13C+LcwT4rkuJKaO9ShnxYhG0OCo6bX42VWyU+VLLaKHdeaoWwDNw== X-MS-TrafficTypeDiagnostic: HE1PR0402MB2777: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2777; 25:0SlzKMV7ygSxaZdjw3RuabFXt31j4WsBtUMcT+zM/Xss5V0PRgK2rLGphwGxnjGUnHQtW2RhJUckwsW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56RkP1OobEakeZG6a X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0402MB2777; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0402MB2777; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0402MB2777; 4:UKm/n1dejyI3ndjquzUvprXri2mY3FJVRclG3EEk?= =?us-ascii?Q?mRgMpZuVM21cOaKl6KUW2zzSSogdxlBbtvp9/6l3Fr5DFQXelKvSQalgCZ9j?= =?us-ascii?Q?BOFYaMWONnJjvAGNx5PvkDiYwZxKFKbdO/JNovGMMJY0StllLm0+GDtYD+ui?= =?us-ascii?Q?Nw2kGkm4Z9vNulDZ1oDWMjvVrRAfG5FkyZw6r+q7MuigVasfHwZUikG4Z4A5?= =?us-ascii?Q?hCsbhGPK7xUU236+jezVJ+MfX4YuJtPofKLwysbs83z37Ubn0Zv8NblmQp2L?= =?us-ascii?Q?znYVjr9A97Wh6LoKg2RfduUGUkG6e4+wmPZAX9FlOsKBzwwfAVsj4Z0sI1Hp?= =?us-ascii?Q?B0sQpSlRepcCLoJW4mrmLohAome0FkhAYGXNwefUCoPblq8yEqHj5AY1IjPH?= =?us-ascii?Q?62d7Jqa/xZSVtFUpqKYs9M232H5+hVkCH9AdsiesGC0BQqTA2OxeTXQ4RPYW?= =?us-ascii?Q?xxl8WnBSAQlJAdXGeYVNLFpB6hbKyZlNxSdJWpf5zN2PxziGWfotQIjcmo+d?= =?us-ascii?Q?JzneoWW3E9KQaa0yFaGkizCC5Xqam71pArOQajFQbsUMZMaBFUhGLXp9sURc?= =?us-ascii?Q?E+LskzzE7mFIN7qN9crqV4jG+5wLzpcJdppOunCKDq2zyyOEMgl24s2BpknA?= =?us-ascii?Q?KzfIhP75Zz+b9bC2UEVe2Fdp4cPG8hUy9PNgwvPPLwY93QJ8eR05Pc13zyU2?= =?us-ascii?Q?1adliTgETzkYSTcjF4eyMiRR8TfehFvlh+PEilhG5Sg7iz0/2EylPosPHk3F?= =?us-ascii?Q?lcQd6ekVEavAgEB/bqYxb28bdaAdlF65vX/03qzjFge9O1V1ec0Yi8Mff+Rg?= =?us-ascii?Q?TqenM1zlHNX74lZo1e6dm8V5QARwEBRPKHM6TdclTuLQ5q1cA2RV+maeFd31?= =?us-ascii?Q?YIst+qaTj8BzPqu7P2G92J+STPGKhL1Wtc052uBu9G3VkKte6qhi0IMLAnUO?= =?us-ascii?Q?HrliFkLDygJopwlakFdSCcXysxO7rord05p1BCoVxaPiNm+bLf+UciiAGTkz?= =?us-ascii?Q?aZN5ES0IVymsZvBcoC2D2LYp8yz5fA/SmKQGekT2sqCvTJjhV6c8S01wLuSP?= =?us-ascii?Q?71GIg9p9GqmQnG0mhPJQAUIAKuhH5TETi1Hm/1G690URAiQvjxqPg+aGKJ3l?= =?us-ascii?Q?GdoSsmWNy2rgjKhpP9S/28M9Il2DQPAyVzKs6rw9LvyeyJ0GRk9JON/ZPpd5?= =?us-ascii?Q?4XwQCX0BqdTSD+CIgCx3/Xgv42vBuReTC1daXQTczsoExX1D9x5rEvbXYPob?= =?us-ascii?Q?DWkOfpBAhvCH0Z9db+E=3D?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39860400002)(39450400003)(39400400002)(39840400002)(39410400002)(39850400002)(6506006)(305945005)(25786009)(7736002)(189998001)(42186005)(4326008)(6666003)(575784001)(86362001)(2950100002)(478600001)(3846002)(6116002)(6486002)(5660300001)(33646002)(38730400002)(110136004)(66066001)(8676002)(36756003)(81166006)(6512007)(50226002)(53936002)(76176999)(47776003)(50986999)(50466002)(48376002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2777; H:fsr-ub1664-141.ea.freescale.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0402MB2777; 23:eKw3G2kiuMMrq79SnIUxMWOzWQlADCvEDrmF6YM?= =?us-ascii?Q?8Axm+qe3LG5o83NAlTgPwqCbFUUtkFkhmfmq2Ty6Eau0lEWyBHLxvmZJx/UP?= =?us-ascii?Q?OawiWW3nwEFT7MZQZNZhgyg4xEiAGsqYGsTgwtLiAyh3+VZKg5h+g2RNjQPT?= =?us-ascii?Q?P6YE3rGdExcUD0HY/2gzlCW72Hnk9ICQbVQCnUbpCRhJ+t3QlkI9uPVpN7Kw?= =?us-ascii?Q?infh+MaK5H0KWGSF4jLe2cLp562a+bwonkIKnzBBDXYl4pkZygfincfwTYSU?= =?us-ascii?Q?HbAf0YznRzJTxnTogSp/26cZShj23OCY7vf+CXWcx9GqhPa7LDf9PymyZ0VM?= =?us-ascii?Q?afP/0OFtYnU8ylBtFjJoLvNsSO1od7+R0xOXCK+kwbLx0AomfuaTzmeRUJjd?= =?us-ascii?Q?TZwlRNTNWqrhfWxF1jr0g6bX+Eh1ZJ1wwAhVj9G/y3LjfvFbeCAMDSqcXfs6?= =?us-ascii?Q?ctQRJMOxYhYqcDXzi0nG9RgDh15QYrkrfSEksnl0wVqF3m7IxN1U79rPlzQx?= =?us-ascii?Q?osrA9TxT6HE4cmGgX8bkpbH3oIjqWAXro5wltT4yWEy753MWbIRJDkc5fow6?= =?us-ascii?Q?igiqOWUW7iUQ6AH4bTo2RncjnoZUKFoLCaDFIr2Ew8xPPvYGZfC3ymhsiupO?= =?us-ascii?Q?9EHSz+SZdCQACG+ag/0JKwm1Rlwu1LgnRQlC8Klpn4F9But7vCaO0ZPO1Evt?= =?us-ascii?Q?StU7jG2ep2DyHAwLqrvCsa+CNnvnR7zFrZl9YImEyS3o6NEQMQWWcnLn3M87?= =?us-ascii?Q?hKgFGu1S3nCFw1J30V08ogktLRrQJzlC7csMKSFgMe1uetBIsHjuqrnQhxUS?= =?us-ascii?Q?A45/qscckkpXU9ctMlpXP2YvNhFpnTzZ4NWTQwMU/1nAGzfn+tUOQ8rWny3G?= =?us-ascii?Q?34kULG4PEAOu+y0bV1PijmLVp1j2w61RKl/D0dtdfY2UTlMQuif0EBjJ17Zb?= =?us-ascii?Q?POl862O6sqbrztS3aqwbTOhofdaEwfSEWgtnCqKvVPb/0PZQwXzoc5d+rZWS?= =?us-ascii?Q?2NPweQg8brQ5QgtubfJDRkFiF0cjzCVFRE6+LcS6974wsSw=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0402MB2777; 6:pCs/4V/WNv4Ca2iwTkxwwjxGdumIjT3HiZla9uGo?= =?us-ascii?Q?rnkLHOEuBouP1bsBfMBcl9U/AtmDGaG/JOROtFjm53xy6EtWSqX5aXdXSwgF?= =?us-ascii?Q?p6kHnEmK/gPEVQygwRvSlu2fFTj2qhWJEnyA3dcGdqFm1LTx6YjRdZvmSzX5?= =?us-ascii?Q?aBxX9xyIttRqjQmmTqAIRxAfdqeD+mg12o8u7ckhwgfj5q2xpo06RmAX/vna?= =?us-ascii?Q?FYkcJu+Bbs8PARyUvposHcA07Imf/v/mlKgfCjDKv6WQ7/VCIgY4acRa2Ut0?= =?us-ascii?Q?qYCg0c111XbfXKvlziqsjgulXxDszYCjfcvdPG7ncZf6N/YXPcoPL1GVCFXf?= =?us-ascii?Q?r2RqADq6k1cRoETqFBf47KR8T6RITD+SDPNCaFgsusKozyL7kj0XyGaQyEOv?= =?us-ascii?Q?UgNW75Cwwx9kknlRnD0jbWRa3xZJx61FnQIiPDvM8U1nYmp5WAQcBogPnskc?= =?us-ascii?Q?6Kylmy8424xzI7z9L3oZNc4TlvW3QDvFL0SbuIzinH53HmxloC2rcB67Z/MR?= =?us-ascii?Q?tXClLny+dpGp7T2kBjME2CftALk/Qw77UIxyCfKRkjUA2+qJUnpryq2wrUFy?= =?us-ascii?Q?u0NTnIOPyI0LY8yDohz92ddPzq1AUKrdxh50lpKjKUzGHi2k0FpjAz9lPxSg?= =?us-ascii?Q?ayzAc89vQeWm21gEQWBMCkqU409eWsk/GE9a3RWKUi/PNl1FAwATYNTKCR6u?= =?us-ascii?Q?8RkoWrbx9Q/JCHMwaqylRAYqdjjCRxibYJDddaH1zQFC1gRs2Y5Oo6RZmJ4K?= =?us-ascii?Q?ouX2xZdy33APLm9AwesPORQDdswz1djS3yuQqMwkldaT4OQiiOJumVsnp4BI?= =?us-ascii?Q?RhJXdW79atl22bha+Gv4xlocgU97OlyYD9Djox6ms/EDIn7A5BtXX04WUEkp?= =?us-ascii?Q?JxKI740DYcFAlHQreYCgo44GOss2oKrNbZ5MNgmzKF4gOTq2YOnWYucrNL3M?= =?us-ascii?Q?hozzo2w2+tl4jTFrj0Fet9J5OZk/8JLLuM3Avn9ockly3r/gLeTKp99VQfeU?= =?us-ascii?Q?BrDWSJ14GmBKQvWeb3zOg+ge?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2777; 5:CHiUO/fU1jw3MBZGzs6RC7dC6imzw8PzxB11rFe1jGiLUADx/+Sffhh5S+5s4NWBkODWU96xWBGxoSQp6kJq9KphpeLdInxNWt/EieJUDEZu5O3n76Azm9sUEvGO9aPfRosMKRQxK1S6Hy7vYAtMFkrnuEj9EMyjI7P1qTkWoQUit9+KkoywhOH9C67LG9p8PIrvziS6JwkCZcPCN3Epqt1LYE7Yja6CXIgqVCHs9R9A6GaXgyuKZpEX5a4wrgfXbgJMwfxdrBDCKMthm2/hOv8D8hW4dY65RZDyZj1jCw5g9CJ7zT9n69n27qD49E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I3KNiw27asU5D+Wm7f/w8ZIr2HzIipHMEJ0Y6t46LgcZTLAYArddg56QC1qsbIaB47clEWmxKZ4iX0MIXtWV+6MNFfVOP7oN8+a7x884j5fQ6Ok6r7l7IQ= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 14:29:25.6798 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2777 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 Remove uart clock enable functionality from ccm driver and leave uart clocks enabling and setup to the serial driver. This functionality was introduced by patch "b9af68f clk: imx7d: retain early UART clocks during kernel init" to ensure that for earlycon and earlyprink we have the uart port enabled even if the bootloader does not enable it. However, on imx7d uart root clocks are recommended to be gated when changing frequency and if the CLK_SET_RATE_GATE is set for these clocks this means that the serial driver will fail to re-parent or set_frequency via device tree attributes on them because the ccm driver has them all in use. Signed-off-by: Adriana Reus --- drivers/clk/imx/clk-imx7d.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index e1c31f5..374ec0f 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -392,17 +392,6 @@ static int const clks_init_on[] __initconst = { static struct clk_onecell_data clk_data; -static struct clk ** const uart_clks[] __initconst = { - &clks[IMX7D_UART1_ROOT_CLK], - &clks[IMX7D_UART2_ROOT_CLK], - &clks[IMX7D_UART3_ROOT_CLK], - &clks[IMX7D_UART4_ROOT_CLK], - &clks[IMX7D_UART5_ROOT_CLK], - &clks[IMX7D_UART6_ROOT_CLK], - &clks[IMX7D_UART7_ROOT_CLK], - NULL -}; - static void __init imx7d_clocks_init(struct device_node *ccm_node) { struct device_node *np; @@ -897,10 +886,5 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) /* use old gpt clk setting, gpt1 root clk must be twice as gpt counter freq */ clk_set_parent(clks[IMX7D_GPT1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]); - /* set uart module clock's parent clock source that must be great then 80MHz */ - clk_set_parent(clks[IMX7D_UART1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]); - - imx_register_uart_clocks(uart_clks); - } CLK_OF_DECLARE(imx7d, "fsl,imx7d-ccm", imx7d_clocks_init);