Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1686410

Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings
Date 2017-07-13 11:40 +0200
Message-ID <u2ILh-3SK-23@gated-at.bofh.it> (permalink)
References <u2jtv-4CF-3@gated-at.bofh.it> <u2jtw-4CF-7@gated-at.bofh.it> <u2xmP-53z-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12-07-17, 16:28, Rob Herring wrote:
> Display is a pretty well known use case here. Do you have other
> examples in mind?

No, I don't.

@Stephen: Do you have more cases like this for your Qcom products ?

> Other cases I've seen are automotive with keeping
> the backup camera going and CAN bus handling. Though my new car has a
> flicker shortly after coming on, so I guess the handoff doesn't have
> to be completely seemless. :)

:)

> [...]
> 
> > +       mmc: mmc@0x0 {
> > +               ...
> > +               ...
> > +               vmmc-supply = <&twl_reg1>;
> > +               vmmcaux-supply = <&twl_reg2>;
> > +               boot-constraint-supplies = "vmmc", "vmmcaux";
> > +               boot-constraint-uV = <1800000 2000000>, /* vmmc */
> > +                                    <2000000 2000000>; /* vmmcaux */
> 
> No. I don't like how this is going to extend to all the other bindings
> people are going to want constraints for. We don't need a parallel set
> of properties for each type of binding.

Fair enough.

> I'm not convinced that we need a general solution for what's probably
> a handful of things that need a handoff versus just re-initialize.

What about keeping the first four patches (mostly) as it is and adding
these constraints from a platform specific constraints driver ?

Will that be acceptable ?

-- 
viresh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-12 08:40 +0200
  Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Rob Herring <robh+dt@kernel.org> - 2017-07-12 23:30 +0200
    Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Chen-Yu Tsai <wens@csie.org> - 2017-07-13 05:00 +0200
      Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-13 07:20 +0200
        Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Chen-Yu Tsai <wens@csie.org> - 2017-07-13 11:50 +0200
          Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-13 12:00 +0200
    Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-13 11:40 +0200
      Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Rob Herring <robh@kernel.org> - 2017-07-17 19:40 +0200
        Re: [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-18 08:00 +0200

csiph-web