[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f855f2d-fbe8-fc51-0524-390605c9f91e@linaro.org>
Date: Wed, 8 Mar 2023 15:37:55 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Svyatoslav Ryhel <clamor95@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] dt-bindings: hwmon: ina2xx: add supply property
On 08/03/2023 15:01, Svyatoslav Ryhel wrote:
>>>>> + vdd-supply: true
>>>>> +
>>>>> required:
>>>>> - compatible
>>>>> - reg
>>
>>>> Unless the device can work without power the supply should be required.
>>
>>> Device can work without supply defined on most devices, but in my case power is gated with gpio and devices will not work without fixed regulator.
>>
>> If there are devices that work without any source of power at all that
>> would be very surprising. It doesn't matter if a particular system has
>> a non-controllable regulator, the binding should still make it mandatory
>> to describe that.
>
> Then question is WHY and WHO passed driver without power supply system implemented? Why it pops only now?
Why do you mention driver? We talk about bindings and device. What the
driver does, matters less here.
Best regards,
Krzysztof
Powered by blists - more mailing lists