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


Groups > linux.kernel > #1364736

Re: [PATCH v3 01/16] dt: davinci: use proper address after @

From Rob Herring <robh+dt@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 01/16] dt: davinci: use proper address after @
Date 2016-03-25 16:20 +0100
Message-ID <rgBGO-3tb-13@gated-at.bofh.it> (permalink)
References <rgnku-1AF-3@gated-at.bofh.it> <rgnku-1AF-1@gated-at.bofh.it> <rgzYn-2fh-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 25, 2016 at 8:29 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Hello.
>
> On 03/25/2016 02:51 AM, David Lechner wrote:
>
>> TI has been using the physical address in DT after the @ in device nodes.
>> The device tree convention is to use the same address that is used for
>> the reg property. This updates all davinci DT files to use the proper
>> convention.
>>
>> Signed-off-by: David Lechner <david@lechnology.com>
>
> [...]
>
>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>> index 226cda7..4294849 100644
>> --- a/arch/arm/boot/dts/da850.dtsi
>> +++ b/arch/arm/boot/dts/da850.dtsi
>> @@ -15,7 +15,7 @@
>>                 #address-cells = <1>;
>>                 #size-cells = <1>;
>>                 ranges;
>> -               intc: interrupt-controller {
>> +               intc: interrupt-controller@fffee000 {
>>                         compatible = "ti,cp-intc";
>>                         interrupt-controller;
>>                         #interrupt-cells = <1>;
>> @@ -23,7 +23,7 @@
>>                         reg = <0xfffee000 0x2000>;
>>                 };
>>         };
>> -       soc {
>> +       soc@1c00000 {
>
>
>    This node doesn't have the "reg" prop.

But probably has a ranges property which is correct.

Rob

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


Thread

[PATCH v3 01/16] dt: davinci: use proper address after @ David Lechner <david@lechnology.com> - 2016-03-25 01:00 +0100
  Re: [PATCH v3 01/16] dt: davinci: use proper address after @ Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-03-25 14:30 +0100
    Re: [PATCH v3 01/16] dt: davinci: use proper address after @ Rob Herring <robh+dt@kernel.org> - 2016-03-25 16:20 +0100
      Re: [PATCH v3 01/16] dt: davinci: use proper address after @ Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-03-25 17:40 +0100
  Re: [PATCH v3 01/16] dt: davinci: use proper address after @ Rob Herring <robh+dt@kernel.org> - 2016-03-25 16:20 +0100

csiph-web