From patchwork Fri Sep 30 14:54:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12995619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 55D5BC4332F for ; Fri, 30 Sep 2022 15:15:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ofMSGmBoSzhNcNQMO1GTHLhqlZCZVzlt26b+Fpx3XU8=; b=GNuxCM8iy8M7gV ZRqVAb08FKOrD61nFr1hANca9WGdskPpEK8ySUSA/d7i1ul4pxBuGqz6Y33C7DdEklr6NMZlU4TOa 6o8O7HY7fnqe+YDt1roYW+woypudIfY/AEAa60EAEMms4mwu3eIpgP5yBDxarlbcHZ4Pcf9/UbwKb UrzayhkyETqRU0+atXwE0Rj4AS6g95Nwq1qRaF+2bSPle/srXDQ+TiMg4SPu3VnTXkfdiLo6KwCO0 nv66ej+p60zX8VsjnUrNtj9CGh9oI87Bpyx/kpLmWTUkwB9/cfzYUocOv6I0lu9n+vZLnSV8MhvAD gaV1npZQfObS/6Gu4YuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHi7-00A5Cx-6f; Fri, 30 Sep 2022 15:13:55 +0000 Received: from mail-am6eur05on2071.outbound.protection.outlook.com ([40.107.22.71] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHi3-00A58S-Kj for linux-arm-kernel@lists.infradead.org; Fri, 30 Sep 2022 15:13:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CnbX17iRo5/Pthg8VDxXSs1Oc0622nFwxfpQaHhoodxnBJNZPJPFjbnkJkjnHfbqiCggHyT3VuF9T3CWYfwuq2NRDeSNc/FGcYzMNWO0Tu5R6GlY7/1SyGZJfnjv6kJs2DWccNn/6USE0Jx5U6EiCP+WJ6oaCUBshJszmUjuE5cMqjjYIZvNigNfBhwcjLG2mMswHa+x4e/14e3RBIIQBgXB+WHiru+I0HpbKP1SpLA+X1TaWSQWwOQc0rcYKdUU1o6gaKiOyLU4bx3KBu14TxDx4JcLdjwDpFib2bRvsdJcFWRLuYksvLs5q7XdZ7yc4EgIty7UtrhVQ8ngBgXs/Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DyUIJGmE0lcKg4ju2UqmmLGKTFDVKEMhlHsb2sdSGXE=; b=X4j8k7igxZimCpvbAzu6Cl3XgidrKotcaoAiI0/9d4hKC/cKQrygDivOsKbgETA5p34izmwnTL4daFfUUfR7PPOs9G6YDQKwHsdUoLJs8oyyTeE78YQdGfhvm8qIOIjort55NiH+5HYkZYIYkbA/5rk1pgS6vtlqpW8xgLjQItgmwevI34C8kEB1krGeKubQwMp2PW8uZp2OhraWu1VnLw5eceN2cAJ9xyc+7NEF+6wmhzBNv+TWHnyXEuO/xR5Ma54b+wjoWYDW8+l5MKYYOsY8eWMME/yhAz9MDDouzcd+FzQgKSeJ8TmIAUchpmouh9ZC8RDEzSPsXXCZSDFXlA== 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=DyUIJGmE0lcKg4ju2UqmmLGKTFDVKEMhlHsb2sdSGXE=; b=qmF8+wlfwWo/UGtMDqXKvipz6zx2QQSoxFWuWAC4cz+64vud4Eem6l32xcXLEFzxbrRIrFKFvqVeBxZ79YbSTxjesqh40R6So+7hFDo+xURkdoGaBdxWavtoGhr1QYXnjKKriwxyJPNLUgDgDD9nx52XhKhvdq6dG2THXbY5H9k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) by AS8PR04MB8005.eurprd04.prod.outlook.com (2603:10a6:20b:2ac::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 15:13:45 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a%6]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 15:13:45 +0000 From: Li Jun To: sboyd@kernel.org, abelvesa@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mturquette@baylibre.com, l.stach@pengutronix.de, peng.fan@nxp.com, alexander.stein@ew.tq-group.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v4 1/3] dt-bindings: clocks: imx8mp: Add ID for usb suspend clock Date: Fri, 30 Sep 2022 22:54:21 +0800 Message-Id: <1664549663-20364-1-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SI2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:4:195::9) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9640:EE_|AS8PR04MB8005:EE_ X-MS-Office365-Filtering-Correlation-Id: 369c4130-0b9e-4b7d-4ed5-08daa2f65e44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b0Frk4C7+C17Jjy4uf2OeUgXG7Hs3qxo4Y/cbxbegEXdictyPxU8oRto6JHOAlsxKJ3yVNO623s7y8v0SgZtg6BJfrpr856MpZKVASsT3j8fO/GrhNfpgVN8LWah617Xiiwl7v6BluwhCcEKyPCA9fWUtBhAYjolie/7XlWiov9YE0nn9YQhhSPbV4KtI8y8snVuG+Y7vzCmzYfWmdknNXpGcRPwSOwGLDpwcZYaA8mJPPlJbIFSimvSEpATpsdG7AkI33AUxkQsbh9IyGkC1JD2JDKPqUlIkD1EoCvuEiYfLKLnDTvcVyH1G5SNtcdHADQCIaZyLCWwO1Ce+sjA2e9vaSZzLoKoUBMA4taT8g4MFI4wyG36LHbUd8xjE8XoTc9p5JdtAIHwN/zbe1f2NkRM+jLtOWlO4fdEL2OboITwRqE4oJKnL70cuxYlkrjn/QIwuhrG2ZNysUIcG4NhfYlGiHkqSQhUALIbI67rBmKj7O8PRPSfeoN2GCFTr/14PWUsKYXoU1ZOQch+epOqHwQpL2jiiHSUaAEwAEndzyQCY2v7uPuRUkjljxBMuokDho7xPlphvIUUoy2XOLQ4DKCr1RfHXF2GYH9asYAQhIjIJl0SwBkoXrW9283Az4d9oGEXzKNAXPW8JohNjmrTG6VVO9ECjfN+8IcSrBoPu5mfggLnLfJs2t8aQQfj0r5EAa6O8HlfYD5HXHTa7XgGV4tmLivpa0MrsvcQvE642H/dSumHdelq7vLgbD3URSrQJz1qp2UdXwK8TLh93KxUWCtgWFw8CHqvGxHBpXYU42g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9640.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199015)(6512007)(26005)(186003)(5660300002)(7416002)(4744005)(2616005)(83380400001)(66946007)(66476007)(66556008)(2906002)(6486002)(316002)(6506007)(8676002)(4326008)(478600001)(86362001)(6666004)(38100700002)(36756003)(38350700002)(52116002)(8936002)(15650500001)(41300700001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ja2jlBrPlLXjNO/FJV3c/pkT3dtnU1D774jBTjyIokgyIr6t6ZSGqETkW/Ly6A04hdohCTe2MAfkF0kr68rNOotapxQcS7YhD38H8Ub5iIPGQqYwzscHU0NhyvfSMlObE14qPzPm6+fT19tuMO89z2CQUNYAMuWVrRKccT9Gjd/LjvTVbUn0ZjrT4iZEGe/EZis07NPBl+RA/oMrW6qlfaEHWA2GHf+q2fMJnM/6HeRqVnDZkRpzq3zoPOO6HLaZhSmflwUMYkPUewLoMOEE7UoeXlW8Ljmb3c6PIBXVFqbXB3g7NfWpS5MhD61H3VnOXR8/qFdpHHHTBwFkrzV3AjhzZK8/NSj/Y87zrDN7/9tIY0udyhpqK8KMrj7Vjjt7V/86VlBuuURQuewU+2V3XNvkSFT/VEoxYswR4d0UROhyMqa6ZPdm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77oGZxpamVRZyeMG0B7x+dlRkINqORHXv9G6QPnNer9onq42Hkmh2CBcVYzUcoWqiegxqqfYcSXQ/jfM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 369c4130-0b9e-4b7d-4ed5-08daa2f65e44 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 15:13:45.6660 (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: zNrYuUi7x4A0yXQRhA02cjThfvJTPNEEZctBUVcZeqK9qOZcOpjqFBTYjh9gm93I X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220930_081351_948761_73FAA9C2 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org usb suspend clock has a gate shared with usb_root_clk. Fixes: 9c140d9926761 ("clk: imx: Add support for i.MX8MP clock driver") Cc: stable@vger.kernel.org # v5.19+ Acked-by: Krzysztof Kozlowski Tested-by: Alexander Stein Signed-off-by: Li Jun Reviewed-by: Abel Vesa --- include/dt-bindings/clock/imx8mp-clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h index 9d5cc2ddde89..1417b7b1b7df 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -324,8 +324,9 @@ #define IMX8MP_CLK_CLKOUT2_SEL 317 #define IMX8MP_CLK_CLKOUT2_DIV 318 #define IMX8MP_CLK_CLKOUT2 319 +#define IMX8MP_CLK_USB_SUSP 320 -#define IMX8MP_CLK_END 320 +#define IMX8MP_CLK_END 321 #define IMX8MP_CLK_AUDIOMIX_SAI1_IPG 0 #define IMX8MP_CLK_AUDIOMIX_SAI1_MCLK1 1 From patchwork Fri Sep 30 14:54:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12995620 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6F19DC433F5 for ; Fri, 30 Sep 2022 15:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jnJeTf+ZMApnvawih8x3IZojBI5uMT9bk9wgFMlA4h4=; b=iM3fjFgK3Y0/PY b35aCYWo7631KKxFKpvannBA0Q+kVSXA3PbTzp52p7OOnyYH5igjhshCw9F8vadmRlQgxORVfX/R1 NMQ0ocOwk3xezkYZl2rmDDUjrvtFVudRuNUh5HHzz+V92+jrGnZENwxCLBkDOqOWWD7oj1WPtK8So 9Bru5yOUyCFTarlAUICg09scotj58YQPfkmZVULTPE7DcZ8hFtmAr0E2oAhl6b3pLy1k9TT+z0LHQ YykimF4ZcGmSIZq0Siu5Ir8QfdlqY85ZdD3cml51BDw08LHH1kFn4OSbB9shqEgrnyo7nxja0igJJ u2vJ7kxDJ36J8TKxN9NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHiJ-00A5In-8W; Fri, 30 Sep 2022 15:14:07 +0000 Received: from mail-am6eur05on2071.outbound.protection.outlook.com ([40.107.22.71] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHi5-00A58S-JV for linux-arm-kernel@lists.infradead.org; Fri, 30 Sep 2022 15:13:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D1vQyzHDcp4g5T8YirrmkLgyHQZ06olKzUBtC60FxDqXfu4sODzv/m8o1XRBwTaqYr7AjvsbuqbmKSbGmr0lf2P70C+NiC4IBX2ODBj1iG8yiDVB4m6r7jlJ9hCOUIkkBT0dA8oLjyU36TmHo1GdQ1NXxEYjTWDZyEMgu04JWNCGVVxmfkdk9HNtaGFGtPYWbmbwzAaOUI3AVHngGY4k3gpEemuocS8VHeTdOTfGoixUEuLtv69qvPA1Ii9s7ZtrrH+dL8oBxT2Nv++/GuYlglxLXw+7ve+VpkQGEK8mrJZTD1rr75xVCRCr/j+P7HRX00Rv1mOXK4mTHlIm7ktqDQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+iqJ5QtAYf3fB8/CA29sbedHBiezVi0U64S2ETzVurA=; b=YoH3nOSDSgyCl6GGER8FtvGQ9oAjenid4Px8bEJCkmysQ0nsfTbs2+m2uwLnn0hAieF2iCbyM3gaLTtsq+p30N6J2dLvdr3k6RL/5BXzcRwhk95VVkERrIGUU8ekgcrqeB6xJJXGMw95su8majNWLA5I95lTaiJp1k7hCux9swwJuaXNBGWS8VZ4vcuOr2mVQKTzBK5j3UlA/q39WGacw5f5xVzdg3i7xna3MhNMEzZs6E/+aL8tQrF3j8KQYyhLqi7UEJBbYq3JSyZ0EElN4CR3vEEbBXfxGuIr3xEQ1cgC4RMR/wIZTjLAMjn4NF0uDDqZSPiJH1oQqQ5NerqcYQ== 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=+iqJ5QtAYf3fB8/CA29sbedHBiezVi0U64S2ETzVurA=; b=JOqadLr8DA+tEJgvAUwOhi+zX5oU2IDlysXd7aI1d0K94ukdqccRyRE3hkNGRZ1sOZxsryDlCTLBooTHfOnjiRKHYBgHNWRDQMr+QqUuvaORT5bbqC1m4GwI0ShDQc2wmUnYFnm07E24NNKD+S8h8o+lDQk2h4EWxTuGBxR1taA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) by AS8PR04MB8005.eurprd04.prod.outlook.com (2603:10a6:20b:2ac::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 15:13:50 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a%6]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 15:13:50 +0000 From: Li Jun To: sboyd@kernel.org, abelvesa@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mturquette@baylibre.com, l.stach@pengutronix.de, peng.fan@nxp.com, alexander.stein@ew.tq-group.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v4 2/3] clk: imx: imx8mp: add shared clk gate for usb suspend clk Date: Fri, 30 Sep 2022 22:54:22 +0800 Message-Id: <1664549663-20364-2-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664549663-20364-1-git-send-email-jun.li@nxp.com> References: <1664549663-20364-1-git-send-email-jun.li@nxp.com> X-ClientProxiedBy: SI2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:4:195::9) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9640:EE_|AS8PR04MB8005:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d4e6300-812f-435e-1580-08daa2f6612a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v94Tb08Tsu5ilzbqaIYBEXmMsViiNsoSWg5yfuhFxHFx08GmalD/CjydcvrUZILwTGJhnngWA2EsDfcmy8FIXIzAp0JPwNrTwGwv691eJ4GSpk71uWy3EOHkZrtIeclXe/MWx2oDagYN+onIEnNeYZB4SgTEjQEpeqLixZtKuQ+4K5PEm0gIDg2S95N3Ryd9TrQ2mW8fvReIQCnwqfhntrZazkCWiVFfaH6Zz/s0xHjcJojuGfDLq1iDl8ix3w4wd/bP8dzZgfcGI8j3q4gjQSE2sl/6Uy29iXTFuyl+/qzaFSkd/iNgHhrmMnzVBAOQ5gxFzevWJa+lS9N2EvkCd0jh7v80l6M/e0S+AmFh02ruEPBR876//xiZQWCO+ej+UqLP5jy6b7oBQ4lh8ey2FHOoBZ/5yJbB3ZBAzSqdnWQh35bvlTevVb/KG0yS9V/IJsNayMZDZrxmS+QDbc5J6aih64xtoDB9Lp20UYEaO77zaXwVMEK1bPL4JcTXZYUNfWw1e1jTfk/eCF7lcXQ0hUFvs8dS2aJs/VJB8JeiKf5yCzi9OevTibItMSl+17Ie7egoiCPR/kiZdpfI3LoXza86s1RcLAa+S1vYHvDm56g7UNqIyG8SmOhjPdMuFg7tLZ1K1i2J1SOLN1aqYXYx8e0Jsm/2wSGp5OS46gCPbPQrvYcmKsfj2IaK/i4N0BnStYxkgxacFySojXafISqfJDD+6smY0GFTl+uxUAyOVsDsGMngQGA7Zl8JKWaM3RM2MxX8cC3m1VHn8kLKg8p5mjlQaV6Yhx3VK826ZiCdrXs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9640.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199015)(6512007)(26005)(186003)(5660300002)(7416002)(2616005)(83380400001)(66946007)(66476007)(66556008)(2906002)(6486002)(316002)(6506007)(8676002)(4326008)(478600001)(86362001)(6666004)(38100700002)(36756003)(38350700002)(52116002)(8936002)(15650500001)(41300700001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P+AI62FcjsXgDny1BLO9SBtwX4azKqCzjckjK/rGnTrhSE9f1vSnTA5clzrF/w5YqYZu4OFEH2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6+lxq/YUyH9kN7JcZl9EywF9hu7Hj0pWCwiqxCvvwJ1C72UJ4wD6yCr2s4hDn3Dg3W2cWvNZ0ppL5wwGZ4/uahGDtlgp3SwW64obciCTKRA70owOvUXm9g1vtiZ3JLvuhSrlpGDJ+hT3If5rs5SnzQ6FPAsyfQS7aW90LfJGaiiIvqo9+sFVngmAK/y+rkycONtcxuq13x4FwCZ3mospW2RFllwaLi/qgNbCUwWJJanvANPtTArnAfbMLYEbrPYxLsSIIPgkb7TewLF7/aWDWUIZbw9PtWpc8LNLPETMhrNSLqVMYAl3ymx2/eNCALSzQTDQubByZta0tbN5UW3PDlBN7dFqOZMRRd8oXC4y4lKDqyYIz/ZQkD2BQYmOEjHO9lcCiDuIYW+4BtB+FMDzafbDP5zmZFnRwCfxu1WC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d4e6300-812f-435e-1580-08daa2f6612a X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 15:13:50.3880 (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: 3e0KW/oCm+8B8BMNp7xx6lnZy1juEDI8cgFSEP5qUIhws+cR3Zes6h4dwVChiP3E X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220930_081353_671060_D3A39835 X-CRM114-Status: GOOD ( 14.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 32K usb suspend clock gate is shared with usb_root_clk, this shared clock gate was initially defined only for usb suspend clock, usb suspend clk is kept on while system is active or system sleep with usb wakeup enabled, so usb root clock is fine with this situation; with the commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), this clock gate is changed to be for usb root clock, but usb root clock will be off while usb is suspended, so usb suspend clock will be gated too, this cause some usb functionalities will not work, so define this clock to be a shared clock gate to conform with the real HW status. Fixes: 9c140d9926761 ("clk: imx: Add support for i.MX8MP clock driver") Cc: stable@vger.kernel.org # v5.19+ Tested-by: Alexander Stein Signed-off-by: Li Jun Reviewed-by: Abel Vesa --- change for v4: - improve the commit log to explain why this is stable stuff. drivers/clk/imx/clk-imx8mp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index e89db568f5a8..5b66514bdd0c 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -17,6 +17,7 @@ static u32 share_count_nand; static u32 share_count_media; +static u32 share_count_usb; static const char * const pll_ref_sels[] = { "osc_24m", "dummy", "dummy", "dummy", }; static const char * const audio_pll1_bypass_sels[] = {"audio_pll1", "audio_pll1_ref_sel", }; @@ -673,7 +674,8 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) hws[IMX8MP_CLK_UART2_ROOT] = imx_clk_hw_gate4("uart2_root_clk", "uart2", ccm_base + 0x44a0, 0); hws[IMX8MP_CLK_UART3_ROOT] = imx_clk_hw_gate4("uart3_root_clk", "uart3", ccm_base + 0x44b0, 0); hws[IMX8MP_CLK_UART4_ROOT] = imx_clk_hw_gate4("uart4_root_clk", "uart4", ccm_base + 0x44c0, 0); - hws[IMX8MP_CLK_USB_ROOT] = imx_clk_hw_gate4("usb_root_clk", "hsio_axi", ccm_base + 0x44d0, 0); + hws[IMX8MP_CLK_USB_ROOT] = imx_clk_hw_gate2_shared2("usb_root_clk", "hsio_axi", ccm_base + 0x44d0, 0, &share_count_usb); + hws[IMX8MP_CLK_USB_SUSP] = imx_clk_hw_gate2_shared2("usb_suspend_clk", "osc_32k", ccm_base + 0x44d0, 0, &share_count_usb); hws[IMX8MP_CLK_USB_PHY_ROOT] = imx_clk_hw_gate4("usb_phy_root_clk", "usb_phy_ref", ccm_base + 0x44f0, 0); hws[IMX8MP_CLK_USDHC1_ROOT] = imx_clk_hw_gate4("usdhc1_root_clk", "usdhc1", ccm_base + 0x4510, 0); hws[IMX8MP_CLK_USDHC2_ROOT] = imx_clk_hw_gate4("usdhc2_root_clk", "usdhc2", ccm_base + 0x4520, 0); From patchwork Fri Sep 30 14:54:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12995621 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6AFA3C433F5 for ; Fri, 30 Sep 2022 15:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Rt5r9i55xjDS3jrOv5eUP6amChVfhSIvGoxFSt5AXjw=; b=hITYJ09dIAWXQL kIiN8v/4QIy23VS2LVxjTIpV3Q0wIpRlRKxhDtT/YUNz2zGna23KIEBVMEB+/J5UW23q2U1xf3aqQ 5bkDams+LHri0Reb48WVkSui4qXPhmF5ZE1oB9EyMslHvi9ErMGjfRjzUwaG+xplyr6PStjkJOZKG qt13ws513bHaId286kZn0JUBe6ZjJFtcn/Ey6NE6ITXtaHM8QBv6eJCOz8qKhALjGkj5BWuvP7El7 dOrJSsIiinshsN2BI+yOH36qB38F5Z5GgA70UH8+rM7duWg/GdPDUBDW2i66wauOk0LVRH3Nyv34n zF863HBup/4mYureL09g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHid-00A5UI-0W; Fri, 30 Sep 2022 15:14:27 +0000 Received: from mail-am6eur05on2087.outbound.protection.outlook.com ([40.107.22.87] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeHiA-00A5E1-Mz for linux-arm-kernel@lists.infradead.org; Fri, 30 Sep 2022 15:14:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DbM168HP+wbt5o+umcn7bnuyr0ZUeimgbrzsHEWY/NYdH1TYMC4LMOgcqlWpbL67bl4ukRInVyJg5UYqBePFnA0flG0s6bEjCRxZ3aiiyY5Ahoi0GrCdm3cFwSmLfSlKqX8D93iizfTA7ZFTB6RTrujI/OiSqSf/bNiJvggBx1fnxUvwv0zJ/wWyQ4fQrBYeUEGy9zQyWUweaAasKHpEtVzAoANDBYArAtNdwEU21qOeEMkJMvE4OsGjgN7VPspae1Z1Go9yEOgonkx1+q8npOJMt2aYBlwsZInETTxJuqMrHj2CYCu6AW1UlvENK15a6IeaAsVcjjyBnDD987el+w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=a5fwKpO2d4sF0/8A+nosQAwfmw63QSlxoTQ7xo92zIw=; b=TZ9bn6gnY3RVQ/6hw7webT/Eky1LbQLxOyqCVj44tCePN0xUXy9cdZm7UDZtpoYv7+NBU8FsXwDhaLedvJPpY747tItDfYRSCt0vm4tRHdM75I4LrrgNOQLELl8OkYHlHwYQp0UwqdB7Y1d7e/Bdtf1wiWPnK5UkKRH4SzQroDx8ytYqU8jM+extax9/mbj6XD1VlxQXzREWISBjZCsYx7a7lQFefofkaGKX4MRBOaoWGe4d5dCyFcPWhY1t04Ze14pawvpF/dNFyiLnBVhDD90WmmDzoxAR9vI+Q1h9N1rctp6hR6dAafxA+/O8ppUqG30moljKSyViKBGEWjFEPw== 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=a5fwKpO2d4sF0/8A+nosQAwfmw63QSlxoTQ7xo92zIw=; b=aaJBq6O+5AQudmfa02rXSRVP5MxTZay/MBHJN6/WSwvSptT+4pS6i5WZxUde2c+wZVQfzw7imqNlKEXe8JV9NpqdoIAPEIbJ6AhLJjHarSlivzJNAGGDmWPoM0kUY2yWqUQm59Ou/scUaQZkgvXUvciXwgolexh2Eae6z2/d+Ok= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) by AS8PR04MB8005.eurprd04.prod.outlook.com (2603:10a6:20b:2ac::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 15:13:55 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::a81a:385:308a:b85a%6]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 15:13:55 +0000 From: Li Jun To: sboyd@kernel.org, abelvesa@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mturquette@baylibre.com, l.stach@pengutronix.de, peng.fan@nxp.com, alexander.stein@ew.tq-group.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v4 3/3] arm64: dts: imx8mp: correct usb clocks Date: Fri, 30 Sep 2022 22:54:23 +0800 Message-Id: <1664549663-20364-3-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664549663-20364-1-git-send-email-jun.li@nxp.com> References: <1664549663-20364-1-git-send-email-jun.li@nxp.com> X-ClientProxiedBy: SI2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:4:195::9) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9640:EE_|AS8PR04MB8005:EE_ X-MS-Office365-Filtering-Correlation-Id: ce57204f-9d3c-4550-1d8f-08daa2f6640b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aCNPpyvRq0gP3WeiXJts++dsLfvBRpFNvpyHBVzHgUVlq34ACmnIm0C1Wg4WcXSO7J+TqXinStItbwfxsddtdIuaui2L8Zg0J+9LwF9LZ+7ktEriNSa+K4ZdtkXgfJ6sku7lO+iXk8jEalBna30RyL8vQMPIB4ioZWtVbPu93f3ZkxOdjX54RV1Vf0vSdR/cy29wcLk7m4kvUQDs3HGrAM2Il6F8MKQ6jxV/rPamYZZx0SaobqbIdO5Xd5MHAG7hbxk204a1tdvWlghwtA/iTs7Saj8MXeWNyni1/rmcELVHs32rWw52In6U75+Ti7751s5kJTFdMz/XDYnfgD12wst3Q/sKa+G6LJ0uOWs2aO+ffHTqz/u143nX8vlq/DvEIda+WK/YWoEw05nPAUH5fGGhlahUzy6tWgMd8+pdysNE2EU7MSImQaG0nv79GOVcC8t979QTr4eU1dIiQELnMgdh+ZtY775FuE77cYnJDGzhXUUN+5G99eXb56jhsFWCWTPUvDL426f5j6XJf4Hw+xG6lTvknS6B8MifOIWqycSygcaG9ZaScOobL9dvA7gtJ/iQlS1wvh3gJmNMmVOEkt5Kp0Rdqbl5NedN2HFulY8cdiKBlqwCWKS4o3bs9/Q7PfQgufloijEfnd+W8BrL4NP9PI+icK2s97lO9gnWNIPruNws/DoebLm7LC+q7ajT6xjp2gbDLX8qFWpvUebzM1sZQV9SlgG+SU30DUha8Zs96FnGFZs6ra+Gooei1t4e5+ITZkYWPPlI8rD8eZErAzEwS413umkBlHKqc7d0fUk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9640.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199015)(6512007)(26005)(186003)(5660300002)(7416002)(2616005)(83380400001)(66946007)(66476007)(66556008)(2906002)(6486002)(316002)(6506007)(8676002)(4326008)(478600001)(86362001)(6666004)(38100700002)(36756003)(38350700002)(52116002)(8936002)(41300700001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tFQzDakyvSSDdbreEMwqER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ROqtngN5AaSitFJnAH9N+O5CKXZHN7EW+MMTHFK1sgjRZQBLfXHNRF4p89/f+nUXOH2e8Au2/EujoJHW5uOQ2Myng6WattQAkd47+sO/pSll7H1aTWe0R9kbpX8DazfSO76qy+rW4wKgQ9fdKqc2GP4Celu/sS7Xr6GGRpqWs4dMkAnw1fI2+s89+3+LuUbxRQkgloEGqO8CmLQDUulcZX14GZPodkRx9o5RrWS6kv64FYSbAp2NQIZSvY42KKnfPl9v1CwxO1jAhjZKSEFAvts2xg8J7TWYC3B6nxChdZpvnbLdBrzlJEfyoe2nxuFjkPbnc/rUvyvWHTjUhxYiYEoTbMJEYEpL0uUTVOFJYPbfyBHiccflz/VmJ4KDT7C26w3A4ygd+yakqzrU3M3VGvX2Xmn6PuGQYa3I6wsySe58W2eqwa4vnLY1EY0NJYqyR2GYQ3KCGvM5X0CB5IuOeW4Db2CMcC9GOGQFuSOtCi65hvvg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce57204f-9d3c-4550-1d8f-08daa2f6640b X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 15:13:55.2013 (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: dwtMZuvehlzBwTHrhbkTy9/udlQvaN1KrreicK3r/1TbQcLzhjb00K7nMCB2u3qd X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220930_081358_780617_6F3A4123 X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org After commit cf7f3f4fa9e5 ("clk: imx8mp: fix usb_root_clk parent"), usb_root_clk is no longer for suspend clock so update dts accordingly to use right bus clock and suspend clock. Fixes: fb8587a2c165 ("arm64: dtsi: imx8mp: add usb nodes") Cc: stable@vger.kernel.org # v5.19+ Reviewed-by: Peng Fan Tested-by: Alexander Stein Acked-by: Shawn Guo Signed-off-by: Li Jun --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 522ab47426c3..c3dfeb4f4b15 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1169,7 +1169,7 @@ usb3_0: usb@32f10100 { reg = <0x32f10100 0x8>, <0x381f0000 0x20>; clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, - <&clk IMX8MP_CLK_USB_ROOT>; + <&clk IMX8MP_CLK_USB_SUSP>; clock-names = "hsio", "suspend"; interrupts = ; power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>; @@ -1182,9 +1182,9 @@ usb3_0: usb@32f10100 { usb_dwc3_0: usb@38100000 { compatible = "snps,dwc3"; reg = <0x38100000 0x10000>; - clocks = <&clk IMX8MP_CLK_HSIO_AXI>, + clocks = <&clk IMX8MP_CLK_USB_ROOT>, <&clk IMX8MP_CLK_USB_CORE_REF>, - <&clk IMX8MP_CLK_USB_ROOT>; + <&clk IMX8MP_CLK_USB_SUSP>; clock-names = "bus_early", "ref", "suspend"; interrupts = ; phys = <&usb3_phy0>, <&usb3_phy0>; @@ -1211,7 +1211,7 @@ usb3_1: usb@32f10108 { reg = <0x32f10108 0x8>, <0x382f0000 0x20>; clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, - <&clk IMX8MP_CLK_USB_ROOT>; + <&clk IMX8MP_CLK_USB_SUSP>; clock-names = "hsio", "suspend"; interrupts = ; power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>; @@ -1224,9 +1224,9 @@ usb3_1: usb@32f10108 { usb_dwc3_1: usb@38200000 { compatible = "snps,dwc3"; reg = <0x38200000 0x10000>; - clocks = <&clk IMX8MP_CLK_HSIO_AXI>, + clocks = <&clk IMX8MP_CLK_USB_ROOT>, <&clk IMX8MP_CLK_USB_CORE_REF>, - <&clk IMX8MP_CLK_USB_ROOT>; + <&clk IMX8MP_CLK_USB_SUSP>; clock-names = "bus_early", "ref", "suspend"; interrupts = ; phys = <&usb3_phy1>, <&usb3_phy1>;