Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp298577ybh; Thu, 12 Mar 2020 02:11:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtaznPfhDlVKijBTHk6l3JGJ8MFdooP/wsEMs1sYhAu0kMtkoC+9hPkIDoQzZBYBWYQNeiW X-Received: by 2002:a9d:68c8:: with SMTP id i8mr5694492oto.34.1584004264355; Thu, 12 Mar 2020 02:11:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1584004264; cv=pass; d=google.com; s=arc-20160816; b=zYj3OHbpkic5b9u0JmiFDvnG/UJgkRGFtOF2z9XrJXSrt3SInGT0pGVarethL7oYYT L+YtV/c+L6Faa6T4xkk3lC2TXx4eTHfnHV+Rx847yJG5dFSyjzNkHdYfkhowosx17Xcp gcl+4GG3xOor//c6n/iElNcKZ00o7uFpTCB8Cue0hxTheq8nrJ23QBByan+aHoy7qOAz sw0H1P5Iopt0Z2MdDqYGIq1BlZFxph5NVdSOuoANMrbuIq2dLJwDnc7KZvXBg+SegYrS 6UTcbAowSesNmWAEvlAK3BstAlPm2PtZ7AQppFDYlj+3xUDxDs0NXeckEa0nxNIyN9je d4nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=IPM1nbgdwcb8xtaL+MbpVwbLO8aYAEbl3CkZO/v7p+A=; b=Jsb444behWavqZDCJ19wlI0ddu+M9Gyk28mcJnPnopQqtGcSotwGIoMkkcBV8hCIj0 SW5/o1KlyRILzT3wXEePDjeyKSoEARbh6FK8hREZCTLgvVKT3gijs0z83wr48SKH4m67 nFnf3g9+cd5u22IiuNmevH3xhcqV9fbOSQJuHojWw4g4Ru4RKkCEGyKTi4SBCLjo+Pu0 XoYY+OGAcGJp7/LTWKPE/1lxD++EnWSmb0892+EYQVXNt/utg2csFJFbs+e6xOsblnF0 8taYNxrVvdEDjcKK7iTn0gkM9ScUCQLF5OiJRDT72b59khZ70LA06HXyftDcJE4EpkXD POsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=V9EkavLw; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=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 r194si2311553oie.66.2020.03.12.02.10.51; Thu, 12 Mar 2020 02:11:04 -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=selector2 header.b=V9EkavLw; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726842AbgCLJJJ (ORCPT + 99 others); Thu, 12 Mar 2020 05:09:09 -0400 Received: from mail-eopbgr40087.outbound.protection.outlook.com ([40.107.4.87]:53513 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726681AbgCLJJI (ORCPT ); Thu, 12 Mar 2020 05:09:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iRZSW1dmTfoLEEU9mnySxvD7IpZtf5mTV+HNstEMtWMREpkA6NntIQggn1luAcdfbyuuI/6e2H6JtljBkDJLx/mqXtfR3X3lDjJFGffA8qxShTWkkkwFmjcfrRcDjfgB8UtDp6ycYRLaejrtOvhLFP+hLtVG01APAqJDzkP+E9GENyBoMl/tQ/rDN8ai8rxnCY9vYP2Egq5vByZrnbwqGplYVM6r3BChe/aJehmimk2AEWsBHCbGuv6S7UauhH2m9KnrmKxL35jHRvoZkN/YprLWRnbFLxGS4TxJ2rkmkjP79yBYcNNZqWsmZfHhIMJ1ZG67/iq9uvh/GBcnJ9egsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IPM1nbgdwcb8xtaL+MbpVwbLO8aYAEbl3CkZO/v7p+A=; b=hayq4+OQHZv5B6ROl4OJ4s5wUvZe0IVX0pnCUrfb9oy7NoWx8OnAeeT1lK24dPEWJmVy44+jmkG5KHdlV3Cz0FxiQRoBQDpil5Y5zE8hxHzxsDm4JuFrIbx+cFEdS0Q5rpDRCEPU9/KJIs9xkApVTeFUrJc4Sr4AJX3Oge+NK/JJz3eKgi7H0ayFuRoa+sgda90vO3p53H6IJAQSY1u80RYvny07HM1XURe5OIdpHRtTGnyrnOMXSPi3IFIC9bwPJ1hH7YBWHRxvNVO/3CTnR8lmizX+zqJVvcH1Wo4WMTZu94OE2LStVUe4whxyvpZnnrJC3ijKvUJf42qi92m+TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IPM1nbgdwcb8xtaL+MbpVwbLO8aYAEbl3CkZO/v7p+A=; b=V9EkavLwOc/WHckbgrwlopIph6DhMc82PS6hzYZz8WxpN+aDZ8+638GAieSjBBV/sdcdP0kJsIF9aFKuYo7spd0k5tEM0etJsIk/+bScdhg2mR5OZJaCE0CIWy0sSsSkBMj42IRL1qk9RtG47haYTsThyDscgyv+32FAtgqMb9I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5569.eurprd04.prod.outlook.com (20.178.113.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.17; Thu, 12 Mar 2020 09:08:25 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::548f:4941:d4eb:4c11]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::548f:4941:d4eb:4c11%6]) with mapi id 15.20.2793.018; Thu, 12 Mar 2020 09:08:25 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, leonard.crestez@nxp.com, sboyd@kernel.org, abel.vesa@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anson.Huang@nxp.com, daniel.baluta@nxp.com, aford173@gmail.com, ping.bai@nxp.com, jun.li@nxp.com, l.stach@pengutronix.de, andrew.smirnov@gmail.com, agx@sigxcpu.org, angus@akkea.ca, heiko@sntech.de, fugang.duan@nxp.com, linux-clk@vger.kernel.org, Peng Fan Subject: [PATCH 02/10] clk: imx8m: drop clk_hw_set_parent for A53 Date: Thu, 12 Mar 2020 17:01:24 +0800 Message-Id: <1584003692-25523-3-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584003692-25523-1-git-send-email-peng.fan@nxp.com> References: <1584003692-25523-1-git-send-email-peng.fan@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0052.apcprd02.prod.outlook.com (2603:1096:4:54::16) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR02CA0052.apcprd02.prod.outlook.com (2603:1096:4:54::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2814.14 via Frontend Transport; Thu, 12 Mar 2020 09:08:19 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1e5d158c-21c9-4148-c2c8-08d7c664ebc2 X-MS-TrafficTypeDiagnostic: AM0PR04MB5569:|AM0PR04MB5569: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2582; X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(199004)(69590400007)(36756003)(6666004)(26005)(52116002)(2616005)(7416002)(956004)(6506007)(186003)(5660300002)(16526019)(478600001)(86362001)(2906002)(66946007)(8676002)(81156014)(81166006)(66476007)(8936002)(66556008)(6512007)(9686003)(4326008)(316002)(6486002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5569;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0UzCbVTs+G3BaGRcOIPWDQBoKiv8vjhdU3bbecAyp/9cAm+vtMx1snrlOaKt7uCF3VCaKsj+QL6l9m0e0d3Z8VyV0PjJ/+L86YhpkPhXtoxoF/ZN89Jwg1G1x73ZOWkjrrtRTDylOwGBlHGedYwE27mX1RE/DUeimXpEL8l21Iywn4eDuH21reRpf2YPjHnOg8a1q13GcM4YgVLWlqxq1mSYkEMTYfUxsW+7oYpjm7csmumayvucHTDPyqKZxurjXH47rfn5mScUxNBhqyGzy8BJOw5EXn6SzPIrbvFD4JjjJ0jTGZC8ySsrKjFEDXN9SVf2Z6pgFO/J2IptdtmOgKwk8j0kzQuLvuO0A+viwWGtd0bAuv9ZyqeGpQWY3KDqbZrUEaLV6TvIk42k0YGJ8LMOnIdHkFk8qiplWgg4QFdp6kzrbxN2dSV410toqCBiUA6w6VH+jB6BmEn6rb9eMV7HSfhWQppG25gfnFSJprF/IJPjD1ekGO4ntOW5zwGQ9DIwZLEhO8iTQOrsuUb1EA== X-MS-Exchange-AntiSpam-MessageData: dPh4Qc7hD2iHNibv5TmH1JYxn6+volszwxTNFEaZHd5t1iwRswBoZirA8KbTmh10sJ7YXK0CKfPZL4OfziRPq+9nUt5t3Z5gdVNqgpLMiHJnD8lQOCYKFqISwAOeBAZvtC6BkFEMjlltYsqJ4ZK8mQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e5d158c-21c9-4148-c2c8-08d7c664ebc2 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2020 09:08:25.2632 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QILDdMMWhU/w2e7XW5AW+MqjYCHYUP1iw9sPMBChkUYAoRLkQeWYfMFOTsw6hT7w34LKsi7pxBU5ol37GPJ71g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5569 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan The parent settings have been moved to dtsi, we no need to set parent here. And clk_hw_set_parent will trigger lockdep warning, because this api not have prepare_lock. Reported-by: Leonard Crestez Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8mm.c | 3 --- drivers/clk/imx/clk-imx8mn.c | 3 --- drivers/clk/imx/clk-imx8mp.c | 3 --- drivers/clk/imx/clk-imx8mq.c | 3 --- 4 files changed, 12 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index 925670438f23..5435042a06e3 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -614,9 +614,6 @@ static int imx8mm_clocks_probe(struct platform_device *pdev) hws[IMX8MM_ARM_PLL_OUT]->clk, hws[IMX8MM_CLK_A53_DIV]->clk); - clk_hw_set_parent(hws[IMX8MM_CLK_A53_SRC], hws[IMX8MM_SYS_PLL1_800M]); - clk_hw_set_parent(hws[IMX8MM_CLK_A53_CORE], hws[IMX8MM_ARM_PLL_OUT]); - imx_check_clk_hws(hws, IMX8MM_CLK_END); ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 0bc7070235bd..6cac6ca03e12 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -565,9 +565,6 @@ static int imx8mn_clocks_probe(struct platform_device *pdev) hws[IMX8MN_ARM_PLL_OUT]->clk, hws[IMX8MN_CLK_A53_DIV]->clk); - clk_hw_set_parent(hws[IMX8MN_CLK_A53_SRC], hws[IMX8MN_SYS_PLL1_800M]); - clk_hw_set_parent(hws[IMX8MN_CLK_A53_CORE], hws[IMX8MN_ARM_PLL_OUT]); - imx_check_clk_hws(hws, IMX8MN_CLK_END); ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index 41469e2cc3de..e05ec56df285 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -735,9 +735,6 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) hws[IMX8MP_ARM_PLL_OUT]->clk, hws[IMX8MP_CLK_A53_DIV]->clk); - clk_hw_set_parent(hws[IMX8MP_CLK_A53_SRC], hws[IMX8MP_SYS_PLL1_800M]); - clk_hw_set_parent(hws[IMX8MP_CLK_A53_CORE], hws[IMX8MP_ARM_PLL_OUT]); - imx_check_clk_hws(hws, IMX8MP_CLK_END); of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index fdc68db68de5..201c7bbb201f 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -599,9 +599,6 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) hws[IMX8MQ_ARM_PLL_OUT]->clk, hws[IMX8MQ_CLK_A53_DIV]->clk); - clk_hw_set_parent(hws[IMX8MQ_CLK_A53_SRC], hws[IMX8MQ_SYS1_PLL_800M]); - clk_hw_set_parent(hws[IMX8MQ_CLK_A53_CORE], hws[IMX8MQ_ARM_PLL_OUT]); - imx_check_clk_hws(hws, IMX8MQ_CLK_END); err = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data); -- 2.16.4