lkml.org 
[lkml]   [2014]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] ARM: dts: Add tps65090 FETs constraints
Hello Stephen,

On 08/13/2014 06:16 PM, Stephen Warren wrote:
>
> I'm worried that this file represents the limits of the PMIC itself,
> whereas the DT should be representing the limits of the circuits that
> the various PMIC regulators are attached to on the board.
>
> For example:
>
>> diff --git a/arch/arm/boot/dts/tps65090.dtsi b/arch/arm/boot/dts/tps65090.dtsi
>
>> tps65090_fet3: fet3 {
>> + regulator-min-microvolt = <3000000>;
>> + regulator-max-microvolt = <5500000>;
>> };
>
> I guess that on some boards, this output rail might be attached to
> devices that must run at 3.3V exactly, and on other boards it might be
> attached to devices that must run at 5V exactly. The DT for those two
> boards should each have regulator-{min,max}-microvolt set to the same
> value, which describes the board requirements.
>
> It feels dangerous/misleading to define the PMIC range by default. It
> might lead people to think that since the property already has a defined
> value, they don't need to think about what the correct value for their
> board is, and hence not change the value in their board file.
>

Yes, Mark already explained to me why this approach was broken so I've
dropped the whole series. Thanks a lot for your feedback.

Best regards,
Javier


\
 
 \ /
  Last update: 2014-08-13 19:21    [W:0.083 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site