Skip to content

Some mvebu comphy + mox + fdt_support changes

Marek Behún u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/211 patches 5 repliesIn review
  2. v1 posting 1/211 patches 16 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11include/linux/byteorder: Fix compilation of __constant_cpu_to_be32()include/linux/byteorder/swab.h+4 -00 replies
2/11treewide: Use fdt_create_phandle() where appropriateboard/Marvell/octeon_ebb7304/board.c drivers/misc/fsl_portals.c+6 -90 replies
3/11fdt_support: Remove fdt_alloc_phandle() in favor of fdt_generate_phandle()board/freescale/lx2160a/eth_lx2160aqds.c board/freescale/lx2160a/eth_lx2162aqds.c common/fdt_support.c +1 more+20 -251 reply
4/11fdt_support: Remove FDT_STATUS_FAIL_ERROR_CODEarch/arm/cpu/armv7/ls102xa/fdt.c board/gateworks/gw_ventana/common.c board/kontron/sl28/sl28.c +4 more+26 -391 reply
5/11fdt_support: Fix comment for fdt_create_phandle()common/fdt_support.c+1 -10 replies
6/11fdt_support: Add some useful functionscommon/fdt_support.c include/fdt_support.h+149 -00 replies
7/11arm: mvebu: turris_mox: Find DT nodes by compatible or alias instead of pathboard/CZ.NIC/turris_mox/turris_mox.c+63 -1230 replies
8/11arm: mvebu: turris_mox: Enable eth1 in U-Boot if a network module is presentboard/CZ.NIC/turris_mox/turris_mox.c+16 -50 replies
9/11phy: marvell: a3700: Convert to official DT bindings in COMPHY driverarch/arm/dts/armada-3720-espressobin.dts arch/arm/dts/armada-3720-turris-mox.dts arch/arm/dts/armada-3720-uDPU.dts +5 more+250 -1121 reply
10/11arm: mvebu: turris_mox: Fix unstable board topology readingboard/CZ.NIC/turris_mox/turris_mox.c+3 -10 replies
11/11fdt_support: Add fdt_delete_disabled_nodes() and use in Turris MOXboard/CZ.NIC/turris_mox/turris_mox.c common/fdt_support.c include/fdt_support.h+26 -190 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchStefan RoeseSimon Glass
1/11R-b
2/11R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v1 thread

Cover letter [PATCH u-boot-marvell RESEND 00/11] Some mvebu comphy + mox + fdt_support changes

From: Marek Behún <[email protected]>

Hello Stefan,

as requested I am resending this series with board maintainers added in Ccs.

Original message:

Pali prepared patches that convert A3720 comphy driver to use Linux' DT bindings. (Yes, I have patches that convert the whole driver into using SMC calls into ATF, but haven't found time yet to rebase them since last year, and Pali has done this in the meantime :-D Maybe I'll look into my old patches sometimes, but this is now usable.)

These patches needed some changes in Turris MOX board code, and I added some more changes to handling device-tree fixups, and this lead to adding some code into fdt_support, which can hopefully be used by other people as well.

Marek

Marek Behún (8):
treewide: Use fdt_create_phandle() where appropriate
fdt_support: Remove fdt_alloc_phandle() in favor of
fdt_generate_phandle()
fdt_support: Remove FDT_STATUS_FAIL_ERROR_CODE
fdt_support: Fix comment for fdt_create_phandle()
fdt_support: Add some useful functions
arm: mvebu: turris_mox: Find DT nodes by compatible or alias instead
of path
arm: mvebu: turris_mox: Fix unstable board topology reading
fdt_support: Add fdt_delete_disabled_nodes() and use in Turris MOX

Pali Rohár (3):
include/linux/byteorder: Fix compilation of __constant_cpu_to_be32()
arm: mvebu: turris_mox: Enable eth1 in U-Boot if a network module is
present
phy: marvell: a3700: Convert to official DT bindings in COMPHY driver

 arch/arm/cpu/armv7/ls102xa/fdt.c         |   6 +-
 arch/arm/dts/armada-3720-espressobin.dts |  21 +--
 arch/arm/dts/armada-3720-turris-mox.dts  |  25 +--
 arch/arm/dts/armada-3720-uDPU.dts        |  23 +--
 arch/arm/dts/armada-37xx.dtsi            |  20 +-
 board/CZ.NIC/turris_mox/turris_mox.c     | 223 ++++++++---------------
 board/Marvell/octeon_ebb7304/board.c     |   5 +-
 board/freescale/lx2160a/eth_lx2160aqds.c |   8 +-
 board/freescale/lx2160a/eth_lx2162aqds.c |   8 +-
 board/gateworks/gw_ventana/common.c      |   3 +-
 board/kontron/sl28/sl28.c                |   2 +-
 common/fdt_support.c                     | 174 +++++++++++++++---
 drivers/misc/fsl_portals.c               |  10 +-
 drivers/pci/pcie_layerscape_fixup.c      |   8 +-
 drivers/pci/pcie_layerscape_gen4_fixup.c |   8 +-
 drivers/phy/marvell/comphy_a3700.c       | 133 ++++++++++++++
 drivers/phy/marvell/comphy_core.c        |  59 +-----
 drivers/phy/marvell/comphy_core.h        |  23 +++
 drivers/phy/marvell/comphy_cp110.c       |  58 ++++++
 include/fdt_support.h                    |  51 ++++--
 include/linux/byteorder/swab.h           |   4 +
 21 files changed, 551 insertions(+), 321 deletions(-)
Signature · 1 line
2.32.0