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


Groups > linux.kernel > #1360095

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory
Date 2016-03-17 19:00 +0100
Message-ID <rdKnh-22V-13@gated-at.bofh.it> (permalink)
References <rbU7o-8oF-7@gated-at.bofh.it> <rdJAT-1Mf-31@gated-at.bofh.it> <rdJAT-1Mf-29@gated-at.bofh.it> <rdJKy-1PB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 17, 2016 at 12:11 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Thursday 17 March 2016 12:06:40 Rob Herring wrote:
>> > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt b/Documentation/devicetree/bindings/soc/fsl/guts.txt
>> > similarity index 91%
>> > rename from Documentation/devicetree/bindings/powerpc/fsl/guts.txt
>> > rename to Documentation/devicetree/bindings/soc/fsl/guts.txt
>> > index b71b203..07adca9 100644
>> > --- a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt
>> > +++ b/Documentation/devicetree/bindings/soc/fsl/guts.txt
>> > @@ -25,6 +25,9 @@ Recommended properties:
>> >   - fsl,liodn-bits : Indicates the number of defined bits in the LIODN
>> >     registers, for those SOCs that have a PAMU device.
>> >
>> > + - little-endian : Indicates that the global utilities block is little
>> > +   endian. The default is big endian.
>>
>> The default is "the native endianness of the system".
>
> This may be what is currently documented, but not what we are doing
> in practice, as there is no "native endianess" for either PowerPC or
> ARM -- both allow running big-endian or little-endian kernels and the
> device registers are fixed.

Notice I said system, not architecture. The way the device registers
are fixed is what I mean by native endianness.

If the purpose of adding this property now is to support GUTS on the
ARM SoCs, then I'd argue using this property is probably wrong. If the
PPC systems are designed with BE device registers and ARM systems with
LE, then this property is not needed.

> I think the property here is fine.

Unless you have studied the FSL ARM based SoCs, then there is not
enough information here to tell.

Rob

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


Thread

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Rob Herring <robh@kernel.org> - 2016-03-17 18:10 +0100
  Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Arnd Bergmann <arnd@arndb.de> - 2016-03-17 18:20 +0100
    Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Rob Herring <robh@kernel.org> - 2016-03-17 19:00 +0100
      Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Leo Li <pku.leo@gmail.com> - 2016-03-17 22:40 +0100
  Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Scott Wood <scott.wood@nxp.com> - 2016-03-18 19:20 +0100
    RE: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Yangbo Lu <yangbo.lu@nxp.com> - 2016-03-25 08:00 +0100

csiph-web