Re: [PATCH v3] regulator: dt-bindings: qcom,rpmh: Indicate regulator-allow-set-load dependencies

From: Krzysztof Kozlowski
Date: Thu Sep 08 2022 - 10:49:09 EST


On 08/09/2022 16:38, Mark Brown wrote:
> On Thu, Sep 08, 2022 at 04:29:29PM +0200, Krzysztof Kozlowski wrote:
>
>> Sorry, I don't find it related. Whether RPM has modes or not, does not
>> matter to this discussion unless it sets as well allow-set-load without
>> the mode... and then how does it work? In current implementation it
>> shouldn't...
>
> It works perfectly fine, if the driver has a set_load() operation then
> we call that and don't do anything to do with modes.

Ah, I see now set_load() in drms_uA_update() in first if-arm. Makes
sense I guess.


Best regards,
Krzysztof