[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9927403d-6dd9-3e5e-8f9d-f38e6640f95f@linaro.org>
Date: Sat, 19 Aug 2023 10:04:05 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Shenwei Wang <shenwei.wang@....com>,
Rob Herring <robh+dt@...nel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
"imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH 1/2] dt-bindings: power: Add regulator-pd yaml file
On 18/08/2023 23:06, Shenwei Wang wrote:
>
>
>> -----Original Message-----
>> From: Rob Herring <robh+dt@...nel.org>
>> Sent: Friday, August 18, 2023 3:52 PM
>> To: Shenwei Wang <shenwei.wang@....com>
>> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>; Conor Dooley
>> <conor+dt@...nel.org>; Ulf Hansson <ulf.hansson@...aro.org>; Liam Girdwood
>> <lgirdwood@...il.com>; Mark Brown <broonie@...nel.org>;
>> imx@...ts.linux.dev; devicetree@...r.kernel.org; linux-kernel@...r.kernel.org;
>> dl-linux-imx <linux-imx@....com>
>> Subject: [EXT] Re: [PATCH 1/2] dt-bindings: power: Add regulator-pd yaml file
>>>
>>> Documenting the regulator power domain properties and usage examples.
>>
>> This needs to answer why we need this.
>>
>> It looks like just an abstraction layer to make regulators look like a power
>> domain.
>>
>
> Yes, it is a wrapper that allows using regulators as a power domain. This removes
> the need to add regulator operating code in each consumer device driver. As a power
> domain, the regulator will be managed automatically by the device driver framework
> and PM subsystem.
>
> This is very useful when a device's power is controlled by a GPIO pin, which currently
> requires using the fixed-regulator to achieve the same purpose. However, the
> fixed-regulator approach may have to add code in the driver in order to use it.
Why do you start discussion from zero ignoring all previous history of
this patchset?
https://lore.kernel.org/all/20220609150851.23084-1-max.oss.09@gmail.com/
Best regards,
Krzysztof
Powered by blists - more mailing lists