From patchwork Wed Jun 3 03:36:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11584947 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 37A3D90 for ; Wed, 3 Jun 2020 03:47:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DFE012074B for ; Wed, 3 Jun 2020 03:47:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FhhZn/kN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="F1b9fqGs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DFE012074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DLnRtYkV1133HAJ/FFkMItR5ZcJW2q9w5e5ubK1WdT8=; b=FhhZn/kN/nRDht yUZSAyKMWYW/4fO3AXoew+2zwbFvIiiNf7zykFA/EL5zs5jTBBUvzdsB6j1I2FYFId3WHO6A29F4O K18s8Tpl1pf6B3GQv4tSvH6FKnJ7dZjxe+CjLsjVCVA/O5RdOC9Ykf8rJ7bzyCprPMlOojsGTW1k6 hKVMdfxz+TFDBb6ncck1+s5RAAF/CL0J6Ac8Jgp5hi2DeLLx6wdv8lzl+oTc4IeqxKQLGFIAI6VVY tAnWSvOBX5o4zqyLpE2XAHXD1+7uCpGqU44e9ZGvRGNahVqy5cKQIXP10hCkOAzL4eukUeLtx9eWk QHlBI/+yVpdDZW7HJ7EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgKMs-0006sK-Oa; Wed, 03 Jun 2020 03:47:06 +0000 Received: from mail-eopbgr60065.outbound.protection.outlook.com ([40.107.6.65] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgKMa-0006aw-MB for linux-arm-kernel@lists.infradead.org; Wed, 03 Jun 2020 03:46:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ks+wZpr9/3G76HAcslMzjrvusgwgRFG4JTCOp2tqMVg5KaySJrzFweKfmX0Nl0TWXp+k+sHycM1AzqjcGaxeoiLzgm1AJ6wq2IUr05FfC1I8DNqQhRM4zthMImnLnIHMPmJS16FWIgyjZnrzmdmCqNT9FGvjZP8ym1kleXuJjSTON/uP6J/6Zk1pos8H9IoPswD981/JDLZ7mhtVx/DFrfeqkL2FgWhAHmpeY3WQyjAb+AtDLC3TMjkwwLQKhL5C1DivQ/SAJDUTOwabNcA1PZ/smZZx4vWmd1+HN9LG5U4YwEO3w9PcmyLCfyjgsdGT3PpYGol9ic+g5pnoC6jgdQ== 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=8ruvIzOSMZF3SHzfC80qeNDBWE4NIJ+y4nAukjDkwis=; b=C2JaauzkPhfya6SPV+Neqd2CO7YElFqXbN1NH51JN7rx8uSbvGz1ss2kMPObbPURxT0n3qod7Ejtv6tKX3seuTEb0/4jOvgQjJ/D7pAScbHy15ao62dZCZvPe0ETNgTEdvsUkDJbAI04nQNJXdB5THj4bxlQ/oP5i2f9Wijfo4CRL+nKMoje0dOAC7KHsQSXbfhRswyrUt0FF2K3VfYI1dVL7YBt3O/cbfkbmOB0QPoAIntI88GCkP7jkkmGG6sLsxzqrrgiEGtIoHp7lxhaXYlxBbqoHx2AwLUkFFzsAL8lpeLI74JCo4AdYZ+3DF2W8P/AD18SCMbEisSPQZxE+w== 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=8ruvIzOSMZF3SHzfC80qeNDBWE4NIJ+y4nAukjDkwis=; b=F1b9fqGsodhq1mOgpOSdmnZVvS8sue6cguYDxisKxVCa2PzL/k2AczpiLrq23RU+ogUpVUnFEDGsC6X+v7+NTBWgBOPSpd3695K6Jcgh72ehRAzYkluqTbppacGWVrmehG1IjyebCUhrlpIdkOtA3lp4zW49m471GDsnUMMhZag= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2870.eurprd04.prod.outlook.com (2603:10a6:4:9a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.22; Wed, 3 Jun 2020 03:46:46 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871%6]) with mapi id 15.20.3066.018; Wed, 3 Jun 2020 03:46:46 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, fabio.estevam@nxp.com, kernel@pengutronix.de, aisheng.dong@nxp.com, robh+dt@kernel.org, sboyd@kernel.org, linux@rempel-privat.de Subject: [PATCH V4 2/2] clk: imx8mp: add mu root clk Date: Wed, 3 Jun 2020 11:36:00 +0800 Message-Id: <1591155360-26173-3-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591155360-26173-1-git-send-email-peng.fan@nxp.com> References: <1591155360-26173-1-git-send-email-peng.fan@nxp.com> X-ClientProxiedBy: SG2PR01CA0113.apcprd01.prod.exchangelabs.com (2603:1096:4:40::17) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR01CA0113.apcprd01.prod.exchangelabs.com (2603:1096:4:40::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3066.18 via Frontend Transport; Wed, 3 Jun 2020 03:46:41 +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: 4608e8c7-2d6c-4716-69bd-08d80770bcdf X-MS-TrafficTypeDiagnostic: DB6PR0402MB2870: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1079; X-Forefront-PRVS: 04238CD941 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7G/hNQKbosNlOzJNp1P0v9iXHSQC1gMIGo6vIoCgw7x2WxfbEGPqc9Blv1tdExGSLf0mJNzW1W4ljndYrUSaYDCq6N8v7Fzeh9JWVtlz5FKmkbveStL2V0RozS/ZUFllt3A+jUXzDX0HRMkBmiuUvwVEyVri3piBjvG9rwkVG5GbtoJALSxXsQKDEljQnPl1X31Xj7dFREuHMzNeZDLMnRT0dyE2JDtlU8soroOtHQHA8aiTqWZAvowZg1pcK1PGpnes6v5h+bWwBbVkSX6vU/f/Ur5+GkKnjCYQqusZcgirEeui23nLnBURZMxTa3V4v26oyhQg1fnz12qKoq9Nkuko+ExEBl5MAMcNzyzBQRa9I9AEdrgkCVAOpEvysxIfkgYBhSKyokAjnR0vbEl9+hKzsDNKtADNAUgUvsqQINg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(346002)(136003)(366004)(396003)(376002)(6486002)(478600001)(2616005)(6506007)(4326008)(26005)(956004)(6666004)(9686003)(7416002)(6512007)(86362001)(16526019)(186003)(66946007)(36756003)(8676002)(5660300002)(8936002)(2906002)(83380400001)(316002)(69590400007)(66556008)(52116002)(66476007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: S4hEHOW5k+cvZt8bRIilDQcYvpsYwKiIhVDC15Uia32VAjaY1fWwtdIh2zgfG9fM21XDpAbBZ7cxmPoUGF7FO7USCESfwa5bC9nT9hgDnvqzJS9NWEbFeQSkrP6OtRqeY55KtlwaHYfktAlp/L51uTcBiC1/c4lzGd9Q7mCY6Vr4cvhrGmSs6mmSM+gaVMSX+zq0Km+0XNp3GAzkdtJ/NvKi2B4fRgfMU1be6A2yVI6KG7Els9oOJ+o/GvP9qnJf7WM4OrLdg8UafonlanZK1lGdvnEsZSCGQyI+3dQRwW8tdX0lYI8rK1D5o1ltUmQwjo0wPUlHuRapOCeWQ3Yz1Fq6tM9Buz7CxQgcfB2PC9caI2ymitt4SguyDr00KnTYBm0AsgM0urWQxNDDBdVma2laoc57W/6ugxybGVEktGwaA7H/U6BQ2JjYUYIyjgfOi4M88vGIkY1/KQKNUtPGTj/U5Xq6L7/4ww0BEcQcsROzilrq7JWLawhWTykw5xTA X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4608e8c7-2d6c-4716-69bd-08d80770bcdf X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2020 03:46:46.2643 (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: c9s/9Dva7zABX09cz+fBvTZ51UQYnuIfCDDNgqniNUz6SY7wvUoLbSkCMchsvg1pmBKKRbaOiG4HnZYgjpcaSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200602_204648_765564_3EC47B23 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.6.65 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.6.65 listed in wl.mailspike.net] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, leonard.crestez@nxp.com, daniel.baluta@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, l.stach@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Peng Fan Add mu root clk for mu mailbox usage. Reviewed-by: Dong Aisheng Signed-off-by: Peng Fan Acked-by: Stephen Boyd --- drivers/clk/imx/clk-imx8mp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index b4d9db9d5bf1..ca747712400f 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -680,6 +680,7 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) hws[IMX8MP_CLK_I2C2_ROOT] = imx_clk_hw_gate4("i2c2_root_clk", "i2c2", ccm_base + 0x4180, 0); hws[IMX8MP_CLK_I2C3_ROOT] = imx_clk_hw_gate4("i2c3_root_clk", "i2c3", ccm_base + 0x4190, 0); hws[IMX8MP_CLK_I2C4_ROOT] = imx_clk_hw_gate4("i2c4_root_clk", "i2c4", ccm_base + 0x41a0, 0); + hws[IMX8MP_CLK_MU_ROOT] = imx_clk_hw_gate4("mu_root_clk", "ipg_root", ccm_base + 0x4210, 0); hws[IMX8MP_CLK_OCOTP_ROOT] = imx_clk_hw_gate4("ocotp_root_clk", "ipg_root", ccm_base + 0x4220, 0); hws[IMX8MP_CLK_PCIE_ROOT] = imx_clk_hw_gate4("pcie_root_clk", "pcie_aux", ccm_base + 0x4250, 0); hws[IMX8MP_CLK_PWM1_ROOT] = imx_clk_hw_gate4("pwm1_root_clk", "pwm1", ccm_base + 0x4280, 0);