Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754707AbbKCHSu (ORCPT ); Tue, 3 Nov 2015 02:18:50 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:12834 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754282AbbKCHSq (ORCPT ); Tue, 3 Nov 2015 02:18:46 -0500 X-AuditID: cbfec7f4-f79c56d0000012ee-b5-56385fd2ffbf Subject: Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration To: Pavel Fedin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <56330E6E.50003@samsung.com> <00d401d112ff$c426e9a0$4c74bce0$@samsung.com> <5635D1EE.5010604@samsung.com> <012101d11540$8c280be0$a47823a0$@samsung.com> <5637FCCB.1060007@samsung.com> <004d01d11604$fc7a2a80$f56e7f80$@samsung.com> Cc: k.kozlowski.k@gmail.com, "'Mark Rutland'" , "'Pawel Moll'" , "'Ian Campbell'" , "'Rob Herring'" , "'Kukjin Kim'" , "'Kumar Gala'" From: Krzysztof Kozlowski X-Enigmail-Draft-Status: N1110 Message-id: <56385FCC.1090007@samsung.com> Date: Tue, 03 Nov 2015 16:18:36 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <004d01d11604$fc7a2a80$f56e7f80$@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRmVeSWpSXmKPExsVy+t/xy7qX4i3CDLq3m1nMP3KO1aL/zUJW i3OvVjJaPP/3g93i9QtDi/7Hr5ktNj2+xmpxedccNosZ5/cxWSy9fpHJ4tWlVWwWE6avZbFo 3XuE3YHXY828NYwel/t6mTx2zrrL7rFy+Rc2j02rOtk8Ni+p9+jbsorR4/MmuQCOKC6blNSc zLLUIn27BK6M7cf2sRb0cFS8nnWWvYGxma2LkZNDQsBE4smefnYIW0ziwr31QHEuDiGBpYwS U3aeZodwvjBKXJ6znAWkSlggTGLLkQ6whIjAGkaJ5ecOMkJUfWSSeP9gHhOIwyzQziRx+Nod sMFsAsYSm5cvgVooJ9HbPQlsFK+AlkTL+svMXYwcHCwCqhIzF0mDhEUFIiQmTmhghSgRlPgx +R4LSAmngJVER38YiMksoCdx/6IWSAWzgLzE5jVvmScwCs5C0jALoWoWkqoFjMyrGEVTS5ML ipPScw31ihNzi0vz0vWS83M3MUJi6ssOxsXHrA4xCnAwKvHwLlhiHibEmlhWXJl7iFGCg1lJ hLcg0CJMiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/cXe9DhATSE0tSs1NTC1KLYLJMHJxSDYy1 Hef8Lcy+Hc8z9dCbVbrKt85l7dY8q23uKy7VPs5geCv9escp7xVfdisubdjMOFNc/27M09mx icfPcaktqTBQjOsS6HNhdv7+WW7RiS0MSpPfTPopfGD9f+mChopLDQzRKxI+uQvsF/hUFHmu 60CSw44jll/c3LKNDrRafWxvzJwzKcbj+y8lluKMREMt5qLiRADvMG0GpQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 40 On 03.11.2015 15:58, Pavel Fedin wrote: > Hello! > >>>>> --- cut exynos5410.dtsi --- >>>>> sromc: sromc@12250000 { >>>>> #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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/