lkml.org 
[lkml]   [2015]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision
    * Pali Rohár <pali.rohar@gmail.com> [150706 06:14]:
    > On Monday 06 July 2015 14:31:27 Tony Lindgren wrote:
    > > * Pali Rohár <pali.rohar@gmail.com> [150706 05:25]:
    > > > into which file should I put documentation about new DT properties?
    > >
    > > If it's Linux generic like linux,revision, then how about
    > > Documentation/devicetree/bindings/revision.txt?
    > >
    > > For the ATAGs, Documentation/devicetree/bindings/arm/atag.txt?
    >
    > Hm... now I'm thinking into which DT field should I put atags and
    > revision. In previous emails you wrote to use "linux,atags", now
    > "arm,atags"? And put them into root node? Or other?
    >
    > In arch/arm/boot/compressed/atags_to_fdt.c code I see that most atag
    > properties are converted into "/chosen" node in DT...
    >
    > So what do you prefer for "revision" and what for "atags"?

    I'd prefer linux,revision and arm,atags. Chances are the ATAGs
    won't be used on other architectures. I'm find with linux,atags
    too if people prefer that.

    Regards,

    Tony

    > Some mentioned examples:
    >
    > "/revision"
    > "/chosen/revision"
    > "/linux,revision"
    > "/chosen/linux,revision"
    > ...
    >
    > "/atags"
    > "/chosen/atags"
    > "/linux,atags"
    > "/chosen/linux,atags"
    > "/arm,atags"
    > "/chosen/arm,atags"
    > ...
    >
    > --
    > Pali Rohár
    > pali.rohar@gmail.com




    \
     
     \ /
      Last update: 2015-07-06 16:01    [W:4.236 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site