Re: [PATCH 0/2] fdt: translate address if #size-cells = <0>
From: Rob Herring <robh+dt@kernel.org>
Date: 2021-04-06 14:06:47
Also in:
linux-clk, linux-omap, lkml
From: Rob Herring <robh+dt@kernel.org>
Date: 2021-04-06 14:06:47
Also in:
linux-clk, linux-omap, lkml
On Fri, Apr 2, 2021 at 2:21 PM Dario Binacchi [off-list ref] wrote:
The series comes from my commit in U-boot
d64b9cdcd4 ("fdt: translate address if #size-cells = <0>")
and from the subsequent exchange of emails at the end of which I was
suggested to send the patch to the linux kernel
(https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn@gmail.com/).It's 'ranges' that determines translatable which is missing from the DT. This should have not had a 0 size either though maybe we could support that. Does the DT have to be updated anyways for your spread spectrum support?
The second patch of the series aims to demonstrate that the first one, which enables the translation of addresses also for crossings of DT nodes with #size-cells = <0>, it really works.
I don't seem to have the 2nd patch... In any case, you should handle the special case for this platform in code for the platform. Rob