Re: [PATCH v1 0/5] power: domain: Add driver for a PM domain provider which controls

From: Krzysztof Kozlowski
Date: Wed Jun 15 2022 - 13:15:23 EST


On 15/06/2022 09:10, Max Krummenacher wrote:
> Hi
>
> On Tue, Jun 14, 2022 at 9:22 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
>>
>> Hi Rob,
>>
>> On Mon, Jun 13, 2022 at 9:15 PM Rob Herring <robh@xxxxxxxxxx> wrote:
>>> On Thu, Jun 09, 2022 at 05:08:46PM +0200, Max Krummenacher wrote:
>>>> From: Max Krummenacher <max.krummenacher@xxxxxxxxxxx>
>>>>
>>>> its power enable by using a regulator.
>>>>
>>>> The currently implemented PM domain providers are all specific to
>>>> a particular system on chip.
>>>
>>> Yes, power domains tend to be specific to an SoC... 'power-domains' is
>>> supposed to be power islands in a chip. Linux 'PM domains' can be
>>> anything...
>
> I don't see why such power islands should be restricted to a SoC. You can
> build the exact same idea on a PCB or even more modular designs.

In the SoC these power islands are more-or-less defined. These are real
regions gated by some control knob.

Calling few devices on a board "power domain" does not make it a power
domain. There is no grouping, there is no control knob.

Aren't you now re-implementing regulator supplies? How is this different
than existing supplies?

Best regards,
Krzysztof