Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2359799rwl; Sun, 26 Mar 2023 21:52:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZypF8TV2uMZu6Hpufbppb1lV7bwFJsUrUh4yHPBDA/V8CccdwL6U9luexWDPCqxBEp2mJq X-Received: by 2002:a17:907:3f81:b0:93d:bae1:ca9e with SMTP id hr1-20020a1709073f8100b0093dbae1ca9emr14250166ejc.25.1679892742812; Sun, 26 Mar 2023 21:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679892742; cv=none; d=google.com; s=arc-20160816; b=TB5a7cMeh3eAopERLcVeehaLa782wqv5gh7Z2R0OcWrjJY8Jx1R+GxD2GWpjf+DTR0 nkoI0l0k+V/o/aFiSB3E+CGW4wdKMXqa82ipRLbW9oZMyPnEfbAxpNBWbeTtp9sv2hh7 TwIXxOpzjutGCM7s+WfKMC8tmgJnO+zcRowzUW+1cBQC4zi7VYwVAGoMpTsctq4M/uea PvPKZEgvj68181rk84Cq2zJGjim4i49kU1LwsTY3AO6Vuumk86PuI1+kYkHZaqaIXys9 GY5YTOfgfsH/ayTdno1v3YlqMap6xyprijsdIiosNjunuVioLlLHGsnphhTczLqfaf32 CBnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bjSY41bQQpGILRbkz9Eg+0FYz6Tgel/gHE1QjbvjNH4=; b=g9S9bdZDAvO2js2Magktoh5ZHxtTk9MP/MTgjbZm5D2SfCWaasaeTcuu14lBS/4Jfl H1ASopdmPd8HYiYLFS222JQ6dlr24nsSm7YOK/dvmmcUVmRIHIUHRNwiHpC4T9dZcYGB /n0OVPE117+k/z0EbLdMSCqTKr/xsAsxbaW8+qLopFbC/MrNEvLLOE9y7CBLyy4fL0j2 ELl0cXqwJ1lnX/kkngn2WVyTCuD0BBkH0m1AMlMLx3S+NxHsYHKeysh4fv07ZznCNB3b HCtcrJJ+AQw9imZwEx9Ho83InYh7YlZVViyPoY4a3Z6P3QfUxq4BoWXbmpcqdTJTqOuv 4RkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170906584b00b008d70b974e03si25023187ejs.379.2023.03.26.21.51.57; Sun, 26 Mar 2023 21:52:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229596AbjC0Euw (ORCPT + 99 others); Mon, 27 Mar 2023 00:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjC0Euv (ORCPT ); Mon, 27 Mar 2023 00:50:51 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E0E646AE; Sun, 26 Mar 2023 21:50:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 7E93FCE0B26; Mon, 27 Mar 2023 04:50:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0459C433EF; Mon, 27 Mar 2023 04:50:40 +0000 (UTC) From: Greg Ungerer To: peng.fan@oss.nxp.com Cc: Markus.Niebel@ew.tq-group.com, abailon@baylibre.com, abelvesa@kernel.org, aford173@gmail.com, devicetree@vger.kernel.org, djakov@kernel.org, festevam@gmail.com, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, l.stach@pengutronix.de, laurent.pinchart@ideasonboard.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, marex@denx.de, paul.elder@ideasonboard.com, peng.fan@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, gerg@kernel.org Subject: Re: [PATCH V3 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl Date: Mon, 27 Mar 2023 14:50:37 +1000 Message-Id: <20230327045037.593326-1-gerg@linux-m68k.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703091451.1416264-8-peng.fan@oss.nxp.com> References: <20220703091451.1416264-8-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/3/22 17:13, Peng Fan wrote: > From: Peng Fan > > Add interconnect property for hsio blk ctrl > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 08bd57742294..9cceeeeb26be 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -1109,6 +1109,11 @@ hsio_blk_ctrl: blk-ctrl@32f10000 { > <&pgc_hsiomix>, <&pgc_pcie_phy>; > power-domain-names = "bus", "usb", "usb-phy1", > "usb-phy2", "pcie", "pcie-phy"; > + interconnects = <&noc IMX8MP_ICM_NOC_PCIE &noc IMX8MP_ICN_HSIO>, > + <&noc IMX8MP_ICM_USB1 &noc IMX8MP_ICN_HSIO>, > + <&noc IMX8MP_ICM_USB2 &noc IMX8MP_ICN_HSIO>, > + <&noc IMX8MP_ICM_PCIE &noc IMX8MP_ICN_HSIO>; > + interconnect-names = "noc-pcie", "usb1", "usb2", "pcie"; > #power-domain-cells = <1>; > }; > }; This change completely breaks USB for me on a new iMX8mp platform I am working with. Before this change normal USB probe looks good: xhci-hcd xhci-hcd.0.auto: xHCI Host Controller xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000000000010010 xhci-hcd xhci-hcd.0.auto: irq 206, io mem 0x38100000 xhci-hcd xhci-hcd.0.auto: xHCI Host Controller xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: xHCI Host Controller usb usb1: Manufacturer: Linux 6.3.0-rc4-dirty xhci-hcd .... But after this commit is applied, no USB probe messages at all. USB worked fine in 6.0 for me, but when I switched up to 6.1 USB was broken, I bisected to this as being the offending commit. This is still broken for me in todays 6.3-rc4. If I revert this change (and only this change) USB works again. Any thoughts on why this breaks USB? Regards greg