Re: [PATCH V3 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl
From: Greg Ungerer
Date: Mon Mar 27 2023 - 04:07:57 EST
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.
Thanks
Greg