Re: [PATCH RFT] driver core: faux: allow to set the firmware node for a faux device
From: Bartosz Golaszewski
Date: Tue Mar 10 2026 - 09:38:05 EST
On Tue, Mar 10, 2026 at 2:16 PM Bartosz Golaszewski <brgl@xxxxxxxxxx> wrote:
>
> Actually, the cpuidle-psci-domain driver already binds to that node so it
> would need something like:
>
> diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c
> index b9e4ad7d43a3..f583156a6f41 100644
> --- a/drivers/cpuidle/cpuidle-psci-domain.c
> +++ b/drivers/cpuidle/cpuidle-psci-domain.c
> @@ -165,6 +165,10 @@ static int psci_cpuidle_domain_probe(struct platform_device *pdev)
> if (ret)
> goto remove_pd;
>
> + ret = devm_of_platform_populate(&pdev->dev);
> + if (ret)
> + return ret;
> +
> pr_info("Initialized CPU PM domain topology using %s mode\n",
> use_osi ? "OSI" : "PC");
> return 0;
>
> Though that also depends on whether we can live with the fact that it can
> be disabled in Kconfig.
>
Sorry for the noise but I forgot to add that in that case, maybe it
would be better to provide an MFD driver binding to the psci node and
creating separate cells for cpuidle-domain and reboot-mode.
Bart