Re: [PATCH v26 04/10] firmware: psci: Add support for PSCI auxiliary devices

From: Bartosz Golaszewski

Date: Fri Oct 02 2026 - 09:34:53 EST


On Mon, 28 Sep 2026 08:09:16 +0200, Shivendra Pratap
<shivendra.pratap@xxxxxxxxxxxxxxxx> said:
> PSCI has multiple kernel consumers, such as cpuidle-psci-domain.
> Currently, both the PSCI core driver and cpuidle-psci-domain bind
> directly to the same PSCI node "arm,psci-1.0". Additional consumers, if
> introduced, would also need to bind in the same way, leading to multiple
> drivers attached to a single device node.
>
> Introduce a PSCI auxiliary-device provider that binds to "arm,psci-1.0"
> and registers PSCI child devices on the auxiliary bus. As the first
> user, register cpuidle-psci-domain as an auxiliary device.
>
> Update cpuidle-psci-domain to probe as an auxiliary driver and use
> the PSCI device node for power-domain traversal. Allow the probe to
> succeed if at least one auxiliary device is created.
>
> Suggested-by: Ulf Hansson <ulf.hansson@xxxxxxxxxxxxxxxx>
> Suggested-by: Lee Jones <lee@xxxxxxxxxx>
> Suggested-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> Signed-off-by: Shivendra Pratap <shivendra.pratap@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>