[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <56385FCC.1090007@samsung.com>
Date: Tue, 03 Nov 2015 16:18:36 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Pavel Fedin <p.fedin@...sung.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: k.kozlowski.k@...il.com, 'Mark Rutland' <mark.rutland@....com>,
'Pawel Moll' <pawel.moll@....com>,
'Ian Campbell' <ijc+devicetree@...lion.org.uk>,
'Rob Herring' <robh+dt@...nel.org>,
'Kukjin Kim' <kgene@...nel.org>,
'Kumar Gala' <galak@...eaurora.org>
Subject: Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc
configuration
On 03.11.2015 15:58, Pavel Fedin wrote:
> Hello!
>
>>>>> --- cut exynos5410.dtsi ---
>>>>> sromc: sromc@...50000 {
>>>>> #address-cells = <2>;
>>>>> #size-cells = <1>;
>>>>> ranges = <0 0 0x04000000 0x20000
>>>>> 1 0 0x05000000 0x20000
>>>>> 2 0 0x06000000 0x20000
>>>>> 3 0 0x07000000 0x20000>;
>>>>
>>>> Do you have to use 2 cells for address? Cannot it be:
>>>> ranges = <0 0x04000000 0x20000
>>>> 1 0x05000000 0x20000
>>>> 2 0x06000000 0x20000
>>>> 3 0x07000000 0x20000>;
>>>
>>> I tried this first, but it didn't work, and ranges translation
>>> gave me something really weird (like addr = 0x80 and
>>> size = 0x04000004).
>>
>> Did you change the address-cells to <1>?
>
> Of course i did.
I saw some other nodes use the ranges without the offset but maybe some
more steps are required for such configuration.
So anyway send the version with the child offset and I will try to
figure out why it is required.
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists