Re: [PATCH v1 0/9] fw_devlink improvements
From: Alexander Stein
Date: Mon Aug 15 2022 - 08:39:36 EST
Hello Saravana,
Am Mittwoch, 10. August 2022, 08:00:29 CEST schrieb Saravana Kannan:
> Alexander,
>
> This should fix your issue where the power domain device not having a
> compatible property. Can you give it a shot please?
thanks for the update. Unfortunately this does not work:
> [ 0.774838] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@0
> [ 0.775100] imx-pgc imx-pgc-domain.1: __genpd_dev_pm_attach() failed to
find PM domain: -2
> [ 0.775324] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@2
> [ 0.775601] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@3
> [ 0.775842] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@4
> [ 0.776642] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@7
> [ 0.776897] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@8
> [ 0.777158] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@9
> [ 0.777405] PM: Added domain provider from /soc@0/bus@30000000/
gpc@303a0000/pgc/power-domain@a
> [ 0.779342] genpd genpd:0:38320000.blk-ctrl: __genpd_dev_pm_attach()
failed to find PM domain: -2
> [ 0.779422] imx8m-blk-ctrl 38320000.blk-ctrl: error -ENODEV: failed to
attach power domain "bus"
> [ 0.848785] etnaviv-gpu 38000000.gpu: __genpd_dev_pm_attach() failed to
find PM domain: -2
> [ 1.114220] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
> [ 1.122267] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
> [ 1.132970] pfuze100-regulator 0-0008: pfuze100 found.
> [ 1.157011] imx-gpcv2 303a0000.gpc: Failed to create device link with
0-0008
> [ 1.164094] imx-gpcv2 303a0000.gpc: Failed to create device link with
0-0008
The required power-supply for the power domains is still not yet available.
Does this series require some other patches as well?
Whats worse, starting with commit 9/9 [of: property: Simplify
of_link_to_phandle()], other drivers fail to probe waiting for pinctrl to be
available.
> $ cat /sys/kernel/debug/devices_deferred
> gpio-leds platform: wait for supplier gpioledgrp
> extcon-usbotg0 platform: wait for supplier usb0congrp
> gpio-keys platform: wait for supplier gpiobuttongrp
> regulator-otg-vbus platform: wait for supplier reggotgvbusgrp
> regulator-vdd-arm platform: wait for supplier dvfsgrp
Apparently for some reason they are not probed again, once the pinctrl driver
probed.
Best reagrds,
Alexander