From patchwork Wed Aug 24 08:10:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12953049 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 ED901C00140 for ; Wed, 24 Aug 2022 08:28:53 +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=5OsksbZ/sjvWiE18jI1P0Ej6HDbudToqLJk4+VavHs8=; b=yKs69O9t6IJdRF 8iN0yYOn/GCjrNyHbHkY4/JxCFAcVxikNGzpn+Gp4bcCHb8Gp8oJKrQYKgXeqO6iWvCl0vBOoxo2y xWqS5o5adZn0RZMtapqGSNAd7F7FT95iSyDwcAX5SjOyfURVBhCCv2g1Ivh83Hmq+KQ93CRrvyLZA VHmiWwLAQSRNVXo3UEiJmvxIwZBL2C+Yni3Dw7WAdnaOhgs/uXmtKPodJECEhNvnodfhq+PtzqZh9 67sAlSbB8gA3TZVgCJr5exy7SEyXyFUHOxUUc/UaeJ+Xpnp6wZUOX9J+h5Si8Mmp8NhDPnjJVcOA6 FRBj0J0fcQfOB6izjrQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQljo-00BU4k-NS; Wed, 24 Aug 2022 08:27:48 +0000 Received: from mail-vi1eur05on2072.outbound.protection.outlook.com ([40.107.21.72] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQljm-00BU3C-9T for linux-arm-kernel@lists.infradead.org; Wed, 24 Aug 2022 08:27:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iZb4kqBwIEofzy7bIYw/fQ+EVYunu5zLJWV4NjzTC2neJFsGTNpbe+whjWPxlbJBTuiotIfQj/FkEmvZ6oNE3FyrpR8rs0xBIjZByIH+OOs1cyV9EREOdttKG5BesqYpVXFriyAcGOfxAH6ONr+qz7Y5lvka5g1IyO+S7r92bCsuGs4O/TuI2GmKlJ0a8VR6LZsIa9WLfEOvBn049ScA21DZIi8THxd3549IQd2y4LFZFoHaoasmF1N2Q30FM9Vl/e5vnhQ2NPxZafpnOVMP89BGRM9MEmy2ZrC7t2a1aUvTOv06QFAKIkhEiHL4UI9bt8Nquo6sw1IH3JdyD6Ffhw== 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=vcnGrfO2KpNMBs5GBhGSgn/jvl5M9TB4Ea3WoBVGNiM=; b=OUz3azeIIYQ6f1Qn6gxMr/u09c/jOBrFQbDxffzpLkaCSipcpsXvsGsbhy3j8YqP/LXsbkHGFNd9V1lS9WNDP/MdK4YgK+4AHvfthXELvDnLoMS8mO1u0wO5SBOpHqf0uJTlIUVg8Cx7/Pd9wKL81zgq0MjXepHBMiIDOXxC9l77i7OuTg3E4xBfNIjq0tcJB3t9yuseW2hNJlq9rLxJ+FRZYNMhVWyHexY7elRndfatRqx82ZSX0K8WOx3odzuhrBIsPSskEWKdHQ3wbTfK8QH1+3yKeQCo076sml9Ieyg49WR3+9EiAVjjy+drmifRMBEBYDs+RxxYhNI39JuJkQ== 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=vcnGrfO2KpNMBs5GBhGSgn/jvl5M9TB4Ea3WoBVGNiM=; b=QAMkzlC5Mc4f79JBN7Y3rVoP23ZpYpxc8qigvZc/H8lvLIzofwfgDnQB3SHny0MezVrS5M5At83n0kvfKNdQpmhk0UuHhae6vUASmQprgrKeLTpfHrwwuhWUl8qwX7IL/h3w9dyKV2qX8EshEsG1knpBtG/fQDhl9JDeubp/Sfw= 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 AM6PR04MB6279.eurprd04.prod.outlook.com (2603:10a6:20b:b7::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.24; Wed, 24 Aug 2022 08:27:41 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::1c65:f6a7:bc4:eb15]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::1c65:f6a7:bc4:eb15%6]) with mapi id 15.20.5546.022; Wed, 24 Aug 2022 08:27:41 +0000 From: Li Jun To: shawnguo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, l.stach@pengutronix.de, marex@denx.de, peng.fan@nxp.com, paul.elder@ideasonboard.com, jun.li@nxp.com, Markus.Niebel@ew.tq-group.com, aford173@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: imx8mp: correct usb clocks Date: Wed, 24 Aug 2022 16:10:12 +0800 Message-Id: <1661328612-3932-1-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR06CA0230.apcprd06.prod.outlook.com (2603:1096:4:ac::14) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c923e627-f871-4b5a-f31b-08da85aa8281 X-MS-TrafficTypeDiagnostic: AM6PR04MB6279:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Iotmj0CG2kGjIp/AYUnsx8eQuloOhwnIAx1I9aG4llHeS8S93EuKHwBZJ5Wb7O8mWwTF32Pada0QWndcdpJCMSWGa8bOYILNRQzlUiBrPFoKEz635E+U768lOtMjfE1Xpg4KX/1U7AfLNBlCxP+wtjoVnVI8q06ZFYga5zroXwk276ucX4zVE+OP3UHac5nt/L9R4kzbKrfYgNZTXASZlFVaTm2JwA+tAgrM+mzZ5KPRlsWBb/DXEZcuztcmrgpG0Qlf5kbqjRHBzS6Qz/1xuD6LP+biYa6O7gh7onUb//ZIqOFZXGGbAiDKAE/f/lDoWau8laQzSXaAIDMVYZE8hN056+D8DQ/eP8HcuzWQix8RGTBFxRLQGJk93c4DWakjXgXz5Av6Gd1RxjH09Kr+jku9OeSM8B9uv6hCEVLbDg+42Qc8+CoTo3GKHTukKTX397c4LZVKl8Rl/3r8k/x2AB75/7NDFkbwKspIpnPOjPd0q+mvpszb9Q99sm1JvrwvdOepwRy3us/bXS9VhCf7AwKwxkkey1k6A3Y591hl5hE4lE1IUPK3Xd8rlWEPPQkbwBFd6k4tJ4LLf44YSKEYOmYTJMfz4TjYs62znl22ex7hjWDHDJSwVyIJRbLRckH3O9mgb44hrBOaeG5oSxemSwus1acaFWqebtU//+9usMd3Dy8W0CnFkFvj1rrFs0BN3zr8CtIisWKHsozufdkJzV3C9fft2n7xKsz6DfRwrp6wQVqKITYFRd5Uam8FzmpN42+wJdImLqOUHKhYxrcj0arw9UNw3lDVf8KDR8O2YLY= 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:(13230016)(4636009)(396003)(346002)(39860400002)(136003)(376002)(366004)(478600001)(8676002)(5660300002)(6666004)(4326008)(6512007)(66476007)(66556008)(2906002)(66946007)(38100700002)(38350700002)(26005)(6506007)(7416002)(86362001)(316002)(36756003)(8936002)(83380400001)(6486002)(52116002)(186003)(41300700001)(2616005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xanGjDG3YZmrXuXXXZTGYzUKDlXMWFZFOHQgJbtAPLoar8129sDdx4Df1Oc+abIo9ruokz1R2nvSsoND/uKjNtteV0nZf0zDRu0SgKZK2eUU47bXjLc5n4IiAC3MzBAF86GFBdLypJGa5kDwkBpXPYKbtAmQygECehmjIyukzLY+xP3r2A0wLjHo7xyNnS2WotvWTrmlUMlXYFvfewWyWYf6J4VT/CfanDZ1KwAxPCEXQtMaWHomD/LP+15W9cJ6ZvcxBe8lV520Jwp3CEsIoH1a+FepvG/DBga7GbNmXUp4tz0+lWCi1Sa8/8mb2eWNHfjCEHThoGTyiNGoplTN+2eoeKGeA2bdualj6wOiusXUMbxtdn4aBzd5GsRr6fo3DVNwb4i95X7h85I06GgnYWcgcwIWyXD82RD6Rl4PdQ48uiQgX7WfrsNF1EVVtUvMtrZ46L1Jul9/pBbBrpsuaiAVYGAoKrq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moDWVsqc= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c923e627-f871-4b5a-f31b-08da85aa8281 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2022 08:27:40.9022 (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: QpT13nchFAWZ1Sha2wspMWVB1pwMC3tpsTBB55HgRizW8agufgjICvOuLnDjeHWv X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6279 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220824_012746_357644_DC1310EC X-CRM114-Status: UNSURE ( 8.31 ) 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. 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 fe178b7d063c..2f18778a057f 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>;