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: tFQzDakyvSSDdbreEMwqERZ05JMATgpbruef3lRKK8zJ8vaDSEbkn0+2zfmIjLxpZKkX23SefewxURoNVEfZtU7SFFmhOp6IS0pGaF7JFZAREbK65e10HBPwoh55GtB4eS4t1EtqjzWLos+tj+MFHbVzwLpTloUVFBFuZ1j0HiN8jQQGyYFT5oxgRgFNc9QH9I32ewMN2nJM2GR77gYoi70wXmdhlnkyG4GXWJfjIcyGuUy/P1tqDvWjNtJI4Hb8VrD+Phepn8umhT5F6zC8D76BI0fbAdwoVxMvuOEts0o38qFzn96M8KBBiIBBK/GOb2qPIDQmXEkO3wdqBN/hpjz1e7wG7+sbHkDQhIWjEfO7V8YaLD+u9wfzldR8jnU/NtBuEOwe/3KKyIfty2STQ3KNPUrrKArGpDltNIxwdlxAH4EwN2B/rVzE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QYa3I6wsySe58W2eqwa4vnLY1EY0NJYqyR2GYQ3KCGvM5X0CB5IuOeW4Db2CMcC9GOGQFuSOtCi65hvvg 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>;