Skip to content

Revert "fdt: translate address if #size-cells = <0>"

Dario Binacchi u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Remove #if CONFIG_IS_ENABLED(AM33XX). It was counter intuitive.
- Added Bin Meng Reviewed-by tag.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: ti: add custom API for memory accessdrivers/clk/ti/clk.c drivers/clk/ti/clk.h+98 -00 replies
2/5clk: ti: change clk_ti_latch() signaturedrivers/clk/ti/clk-divider.c drivers/clk/ti/clk-mux.c drivers/clk/ti/clk.c +1 more+28 -240 replies
3/5clk: ti: gate: use custom API for memory accessdrivers/clk/ti/clk-gate.c+12 -110 replies
4/5clk: ti: am3-dpll: use custom API for memory accessdrivers/clk/ti/clk-am3-dpll.c+53 -330 replies
5/5Revert "fdt: translate address if #size-cells = <0>"arch/sandbox/dts/test.dts common/fdt_support.c drivers/core/Kconfig +6 more+15 -1410 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBin MengTero Kristo
SeriesR-b
1/5
2/5
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Revert "fdt: translate address if #size-cells = <0>"

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.

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(-)
Signature · 1 line
2.17.1