From: Tero Kristo Date: Mon, 3 May 2021 10:03:12 +0300 Subject: [PATCH v2 0/5] Revert "fdt: translate address if #size-cells = <0>" In-Reply-To: <20210501150527.10273-1-dariobin@libero.it> References: <20210501150527.10273-1-dariobin@libero.it> Message-ID: <9691d78e-7470-af6c-4fd8-1b9aafeb83b3@kernel.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/05/2021 18:05, Dario Binacchi wrote: > As pointed by [1] and [2] the d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") > commit was wrong. The series reverts the patch and fixes the issue with > platform code, adding custom routines to access the clocks registers. > The solution has been inspired by the Linux Kernel code. > > [1] https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn at gmail.com/ > [2] https://lore.kernel.org/linux-clk/20210402192054.7934-1-dariobin at libero.it/T/ > > Changes in v2: > - Remove #if CONFIG_IS_ENABLED(AM33XX). It was counter intuitive. > - Added Bin Meng Reviewed-by tag. For the whole series: Reviewed-by: Tero Kristo > > Dario Binacchi (5): > clk: ti: add custom API for memory access > clk: ti: change clk_ti_latch() signature > clk: ti: gate: use custom API for memory access > clk: ti: am3-dpll: use custom API for memory access > Revert "fdt: translate address if #size-cells = <0>" > > arch/sandbox/dts/test.dts | 21 ------- > common/fdt_support.c | 6 +- > drivers/clk/ti/clk-am3-dpll.c | 86 +++++++++++++++++----------- > drivers/clk/ti/clk-divider.c | 20 ++++--- > drivers/clk/ti/clk-gate.c | 23 ++++---- > drivers/clk/ti/clk-mux.c | 20 +++---- > drivers/clk/ti/clk.c | 95 +++++++++++++++++++++++++++++-- > drivers/clk/ti/clk.h | 15 ++++- > drivers/core/Kconfig | 12 ---- > drivers/core/fdtaddr.c | 2 +- > drivers/core/of_addr.c | 13 ++++- > drivers/core/ofnode.c | 7 +-- > drivers/core/root.c | 3 - > include/asm-generic/global_data.h | 24 -------- > test/dm/test-fdt.c | 68 ---------------------- > 15 files changed, 206 insertions(+), 209 deletions(-) >