Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4345236rwl; Tue, 28 Mar 2023 06:07:19 -0700 (PDT) X-Google-Smtp-Source: AKy350aeEuZoaePfbTOeADKxari+jH7UzONxAKQ+heI4f8uRVgljkZeMJI8L9W1JeZbhb4aDCZFh X-Received: by 2002:a17:906:551:b0:92a:8067:7637 with SMTP id k17-20020a170906055100b0092a80677637mr12350792eja.61.1680008839028; Tue, 28 Mar 2023 06:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680008839; cv=none; d=google.com; s=arc-20160816; b=kWAaAbkokXqGnZFYCqWSr2o/K7ly6Oj8NZkkcGWPxWpxem9add0nc4poTEzlvVXjtS /NbYErd4R9/U8n/eja7IvCL/P3yD9DwxvHpb9jQqG0SiJSX/3OMUmj0G1qBnCloeAAQ6 9X/TvQLFz5aXZ2RG8x1ovO1u9E8GZfeSEIbGgUvTaq2+G3+brF5LotaobX52ZqRsCyGh utnUyzskjOPMx7KWY0dC2tBoUsf+iOQGvyyK8wdFMhg8/hbNH8ECnlk/QfPyqA3xjF4K ABljFxhy8QBu7SpkSQLnQqIMuXirpvlEHq0//kk61LaftJf8EmZUS+Bdcgfomjlu+M2y w1kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=GnDfcwJbkhWsfhZ3ja0zJZqtAt+GgNS/W3TTDJIpQus=; b=sLCUSCk5bh2mSdKNzCUULT3PNhVBE/05d0A7T30tWBJBMPQntTn2+qYnIA7ZPLJL20 zv9lrfUEbG/laAn545211sXIjUaJFRuI5aOlFewl0zA1abzk8KWWY17Ay88EAS34NmJC UXrGsmdRl7/k8ou8qIW/VwQpGD/eU1TJJhuHD2LHRLIch8qhnQ/z0yNfVAh74UaBW0ez nD4pVBh5N0SPd/qP7mbgO/Oy+boY2z12SoFAUiHzdrjvHjYmFUxstOttHzC47GEWFkRi AkgD1NpSSCSZNWc43p18jGPmosNOXIioPydwVmZKXzNAP0Ly2NwINlNIF+xarjyljP5N gTrg== 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 ju28-20020a17090798bc00b0093428728851si20903217ejc.786.2023.03.28.06.06.51; Tue, 28 Mar 2023 06:07:19 -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 S230423AbjC1M7A (ORCPT + 99 others); Tue, 28 Mar 2023 08:59:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjC1M67 (ORCPT ); Tue, 28 Mar 2023 08:58:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 854A2B773; Tue, 28 Mar 2023 05:58:30 -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 dfw.source.kernel.org (Postfix) with ESMTPS id B8CE361776; Tue, 28 Mar 2023 12:58:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC61C4339B; Tue, 28 Mar 2023 12:58:22 +0000 (UTC) Message-ID: <426b4776-104c-cb47-c8cc-c26515fcb6e3@linux-m68k.org> Date: Tue, 28 Mar 2023 22:58:19 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH V3 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl Content-Language: en-US To: Marco Felsch Cc: Ahmad Fatoum , peng.fan@nxp.com, Alexander Stein , abailon@baylibre.com, krzysztof.kozlowski+dt@linaro.org, festevam@gmail.com, abelvesa@kernel.org, marex@denx.de, Markus.Niebel@ew.tq-group.com, paul.elder@ideasonboard.com, gerg@kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org, "Peng Fan (OSS)" , linux-pm@vger.kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org, aford173@gmail.com, "linux-arm-kernel@lists.infradead.org" , linux-kernel@vger.kernel.org, kernel@pengutronix.de, djakov@kernel.org, l.stach@pengutronix.de, shawnguo@kernel.org, laurent.pinchart@ideasonboard.com References: <20220703091451.1416264-8-peng.fan@oss.nxp.com> <20230327045037.593326-1-gerg@linux-m68k.org> <2678294.mvXUDI8C0e@steina-w> <20230328073302.jj64u5hvdpc6axa5@pengutronix.de> From: Greg Ungerer In-Reply-To: <20230328073302.jj64u5hvdpc6axa5@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_MED,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 Hi Marco, On 28/3/23 17:33, Marco Felsch wrote: > Hi Greg, > > On 23-03-27, Greg Ungerer wrote: >> Hi Ahmad, >> >> On 27/3/23 17:16, Ahmad Fatoum wrote: >>> On 27.03.23 08:27, Alexander Stein wrote: >>>> Am Montag, 27. März 2023, 06:50:37 CEST schrieb Greg Ungerer: >>>>> Any thoughts on why this breaks USB? >>>> >>>> Maybe you are missing CONFIG_INTERCONNECT_IMX8MP? >>> >>> And if that's the case, did you check /sys/kernel/debug/devices_deferred >>> to see if there was any indication that this is the reason? >> >> Yeah, it does: >> >> # cat /sys/kernel/debug/devices_deferred >> 32f10100.usb platform: supplier 32f10000.blk-ctrl not ready >> 32f10108.usb platform: supplier 32f10000.blk-ctrl not ready >> 32ec0000.blk-ctrl imx8m-blk-ctrl: failed to get noc entries >> 381f0040.usb-phy platform: supplier 32f10000.blk-ctrl not ready >> 382f0040.usb-phy platform: supplier 32f10000.blk-ctrl not ready >> imx-pgc-domain.11 >> imx-pgc-domain.12 >> imx-pgc-domain.13 >> 38330000.blk-ctrl platform: supplier imx-pgc-domain.11 not ready >> 32f10000.blk-ctrl imx8mp-blk-ctrl: failed to get noc entries >> >> As far as I can tell blk-ctrl should be good: >> >> # >> # i.MX SoC drivers >> # >> CONFIG_IMX_GPCV2_PM_DOMAINS=y >> CONFIG_SOC_IMX8M=y >> # CONFIG_SOC_IMX9 is not set >> CONFIG_IMX8M_BLK_CTRL=y >> # end of i.MX SoC drivers >> >> >>> If you didn't find any hint there, you might want to place a >>> dev_err_probe with a suitable message at the place where -EPROBE_DEFER >>> was returned. >> >> I will try that. > > Can you check that CONFIG_ARM_IMX_BUS_DEVFREQ is enabled? This is the > noc/interconnect driver. This could also the problem for you vpu issue. I do not have that enabled. Enabling that fixes the USB probing. So that is good, thanks. It doesn't fix the other problem I mentioned with the vpu pgc nodes though. I do get some extra messages now with this enabled and the 6.1 kernel: imx-pgc imx-pgc-domain.8: failed to command PGC imx-pgc imx-pgc-domain.8: failed to command PGC imx8m-blk-ctrl 38330000.blk-ctrl: deferred probe timeout, ignoring dependency imx8m-blk-ctrl 38330000.blk-ctrl: error -110: failed to attach power domain "g1" imx8m-blk-ctrl: probe of 38330000.blk-ctrl failed with error -110 Regards Greg