From patchwork Mon Sep 19 05:26:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 12979687 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 C1845ECAAD3 for ; Mon, 19 Sep 2022 05:46:59 +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=Egk2K6G7Qe8dTiCRDLmSAD3jFiKX1Y80R5TBwDFvBis=; b=SKl6fTcOIg2Mv0 DLMHmkAPYFQXfJ5suHs5vl70qtUh0lGHFUFIHlmYOMlxPNPt1qPHi6XovTH7h9ZCiBCuS/yo2roYf utVmlMFJBL3FoMbJNHKl4OXhLNiuZxHRs+k/NvOQNyyDzRX7e+p5pwWW0/eQTdqqqN++xodjejdWE ZYfYWG998hSclhn2Bb8ts9a3q8p0Lt9Mj41Rs0RymDBssfrrQ7+YEOzAM00M6OEV73FKy3OY4QIK6 CoXl6+1uv5sIXVgDvJHpa5PRm2km4MsLBlr1zlq6vTTeWmdqmAp3hfmqMfiBkMzp+6isjdq3KSe1e 1HK4YVb4aREnNCc2Qkdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oa9b6-008IjQ-DA; Mon, 19 Sep 2022 05:45:36 +0000 Received: from mail-am7eur03on2051.outbound.protection.outlook.com ([40.107.105.51] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oa9b2-008If8-4z for linux-arm-kernel@lists.infradead.org; Mon, 19 Sep 2022 05:45:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mJUoQxgHqemUOy/niVamHZoy0x2fl/xSz/0I5f+BXMQi25oQIM+I6oJP7vwXLIBucwCcag36w+TtdPXCrS6ZJu4Tgo/8Jn04bxDIyRE8QcM9e1qJqAYFjDj13V/AmedbYVfmCpKWVNwO1AHFx0UISK3w4oeODIwalD5fITQESz7WBUB7Ce1t+rRZBparAxq/lM7UCue1mw+/07H4VIffyBv2wpOI2OhqCrHWi95Sp3BItShODNNqLLKivBFruo36iBvLbeFPFWLDXiU+QBlIUdMIEnsun4b3pT4Lu3NUvtWQRbfX5VOua73hyG1ACvhLJLpwKWoUGR0AMxiOQo5PeQ== 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=CWhSpPkaR82tk29/PIO6mSmc3o3zLeAxSAiIYp2nglo=; b=OtDzUh1zcc7ySKvuH3XoPV7xpa+PZGJKVkDO/nlZFEnlrrMwKMeTc8NKlJp3FcPrHqXADQ4lWHeTSvzjj6yZPPAIl6jzhaH2oxaWtX5e4n78BaJbOMX3JudxvXmXqGtA3NkQkLltiv7lXRJpgeJSbiwfpGX3+0dZdJ72EYGpv2splnPj1GUhQVh0ZjLTGUzO9wzpHayjrpcZtSyq38iCoOgB8AlRzUrzVlUaEY5XY5Fl60vechxgSr9TalmMtXwVES+mRP1Xz9EJVfuxlHa9Yu2K6LKjS9vPAz4kMIelWf8cxpUPbNaPpxaHJ6mobEaFggTqWrGgnrkbjYL9SVl4GQ== 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=CWhSpPkaR82tk29/PIO6mSmc3o3zLeAxSAiIYp2nglo=; b=A4f6Bxf1VXNxWzq1vVNVQOF44+AAL949uovOLQHVF0XMlkUazgmyRRtnT3T4xHeOfvsZiaCz+L1su3zQu86Q5w/NiJpJtNXl2ndqCrg2rAH3e9B12/lPRuhfPWUwdfdKEm7bTeJJ5appvhJyWZaEr/H560BemeboGHaMOzZoZxs= 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 AM9PR04MB7569.eurprd04.prod.outlook.com (2603:10a6:20b:2d8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.19; Mon, 19 Sep 2022 05:45:25 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::4ceb:3c8:9764:6dea]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::4ceb:3c8:9764:6dea%6]) with mapi id 15.20.5632.018; Mon, 19 Sep 2022 05:45:25 +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 v3] arm64: dts: imx8mp: correct usb clocks Date: Mon, 19 Sep 2022 13:26:37 +0800 Message-Id: <1663565197-3961-1-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9640:EE_|AM9PR04MB7569:EE_ X-MS-Office365-Filtering-Correlation-Id: f634938a-f8b3-4a9a-d916-08da9a022658 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Dm5rbqHi8BAkUrDTFcLI+aI2W3ediyhe/R33ZBVGYl2o8hP6p3owkqYHLyf1gpbO7nOtyRGDAy0R+SWbSwBTc0KG2596A2P4+m9Ed7KiyWzE/6XykHLItQ7hANkbshq5NTfYMhAv3ggsHW23UJrszGoaLdYFf+S2RrGyKFl0GOaWH07HnbvZEqhkGRH1DYa6sbBa0nxRz7v5hP30mgU6ECVuH9pmCFsHEeSVmILlil6diyp6fbrVY+FNgiBb3aEu9gQEvzWe3KuUpMx0/TSKEv4f9XnW2FZuHYIAkTrwaiC4P59sTiY8CC0A6bU+JHc9hMhLBbvOy+eLtZvKg1+S6sFOwQan5G+1Q8hITk1I9IMC8I2XZ09hiGZLthduwDKYpfWs6pCz/GO2ZsqISDwUsr3s2TeiM3T2Pg85DWZ3+3MevOj/vrakVMzJTPYvh4e3E1x17lmxYsrs66nGS/YHtj+9JrFhQFvg4Hbp53DTylvjEvqB6M8CwTC7/q+VZhk9VEbmsvkDOEsC7poJQLOgfvhWip0VYedDRsnUXDfp4EVhOe30JOB29IlgVYkR/W7sLe28Of0xIl+WNrqUoufQ8DgCn6i86xjmry9vsKgTHxElumpUaYB5qRZg6CLC1Pi9Okx1fSijOyeGgSA5RlQK8mS9xcR5fbsJUll+UmDWKh7F4n+3C3EgjgcPE3QRXZRg+QF1ZORv79eRaoKio9sIKFwwSbcvYUDZWQzqvFps+GsuQxjoKrvdfyzlXmEyQb+xJSA9JU8+UimnIc8EshVC+SwN9DDjKiEssWmGikeoHpY= 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)(136003)(346002)(39860400002)(396003)(376002)(366004)(451199015)(36756003)(5660300002)(7416002)(6666004)(86362001)(316002)(38100700002)(38350700002)(2906002)(83380400001)(6486002)(186003)(8936002)(2616005)(6506007)(4326008)(52116002)(6512007)(26005)(41300700001)(478600001)(8676002)(66556008)(66946007)(66476007)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NPx+0dPOSPoNaFtLToOE5tUKCSkWsnUTgCS+yjROT+bzOPY8M8IU7ZhV2qkqdtg+r9Rru6tlCDJmbxn98bgg7zHA4NGC3QVgRWSAfD7zTbjrEakkKQATUmGaI0LD/7/kG7bbmCs04YgpYlLV9dhraQV0M4PT4pMM6pWW964Jo7r4YKMvamhRxvMBmhV8YqZhW4jOt9C46ORC2uYxJK0sHcIl/Su+eQ8LuoU6F/y86TwYn5Pij8E4gJaOD7p9z4UAMs1XFb2xdGOctJkK9Z4oK/xNPqOxTqzxqq1TeRFbve2ZNxhzjYmHDqOQOA+1eS5RvGdxKNZnhuoQ2xSwJKRnfP28VuNKuhiOIDNotq5841s6gasiG/O0A5yhW0M+SMXeiDQm7nhmNY6NQyGxkmKekBWjhdl/J9z4wK3fXYJbW+qvNXlwl2P5y6YSSHC/Ml/UB3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OZy+KErexslOOcX5L91XmLaJZWyJe6+qWQICWxIuS9Y= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f634938a-f8b3-4a9a-d916-08da9a022658 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2022 05:45:25.2346 (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: d3ZENm6jKOr5rFfYmVVCIoZx2KT8tsuaHEcQS0pwcaZ3r8atl8MP5Pd/B4P2Y44V X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7569 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220918_224532_393026_1EA1750A X-CRM114-Status: UNSURE ( 9.19 ) 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 Signed-off-by: Li Jun Acked-by: Shawn Guo --- change for v3: - Add fixes tag, Alexander's T-b and Peng's R-b tages. change for v2: - Add stable tag to apply v5.19+ 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>;