lkml.org 
[lkml]   [2015]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs
On 10-08-15, 14:22, Lee Jones wrote:
> > Optional properties:
> > +- opp-cuts: One or more strings, describing the versions of hardware the OPPs
> > + can support.
>
> This isn't very generic.
>
> I'm guessing some vendors my have quite a few ways to differentiate
> between board versions/revisions/cuts etc.
>
> How about another array where a vendor can choose to identify a piece
> of hardware however they see fit.
>
> Example 1 (simple version):
>
> /* Version 1 */
> opp-version = <1>;
>
> Example 2 (using the kernel's versioning):
>
> /* 2.6.32-rc1 */
> opp-version = <2 6 32 1>;
>
> Example 3 (using ST's versioning):
>
> /* Major 2, Minor 0, Cut 2, All substrates */
> opp-version = <2 0 2 0xff>;

But how will we parse this with generic code ?

--
viresh


\
 
 \ /
  Last update: 2015-08-11 10:21    [W:0.206 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site