Skip to content

mx6cuboxi: add eth support for SoMs revision 1.9+

Josua Mayer u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- applied proper compile fix by Nate Drude
- removed -recovered clock options as requested by Linux maintainers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5phy: adin: fix broken support for adi, phy-mode-overridedrivers/net/phy/adin.c+11 -111 reply
2/5phy: adin: add support for clock outputdrivers/net/phy/adin.c+42 -01 reply
3/5ARM: dts: imx6qdl-sr-som: add support for alternate phy addressesarch/arm/dts/imx6qdl-sr-som.dtsi+15 -23 replies
4/5mx6cuboxi: fixup dtb ethernet phy nodes before booting an OSboard/solidrun/mx6cuboxi/mx6cuboxi.c configs/mx6cuboxi_defconfig+79 -02 replies
5/5mx6cuboxi: enable driver for adin1300 phyconfigs/mx6cuboxi_defconfig+1 -01 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJosua Mayer
1/5T-b
2/5
3/5
4/5
5/5

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] mx6cuboxi: add eth support for SoMs revision 1.9+

As of Revision 1.9 the SolidRun i.MX6 SoMs ship with a new PHY - an ADIN1300 at address 1. This patchset carries many small parts to facilitate proper operation of the ethernet port in U-Boot as well as Linux:

1. Fix a compile error in the recently added phy driver
2. Add support for configuring the clock output pins to the phy driver
3. update device-tree with support for the new phy
4. support runtime patching of device-tree for Linux:
enable only the phy node detected during boot, to avoid warning messages when Linux probes the phys.
5. finally enable the phy driver in the cuboxi defconfig

I have included Nate's patch here only so that it won't get lost - it is fully independent and I have not made any changes.

Changes since v1:
- applied proper compile fix by Nate Drude
- removed -recovered clock options as requested by Linux maintainers

Josua Mayer (4):
phy: adin: add support for clock output
ARM: dts: imx6qdl-sr-som: add support for alternate phy addresses
mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS
mx6cuboxi: enable driver for adin1300 phy

Nate Drude (1):
phy: adin: fix broken support for adi,phy-mode-override

 arch/arm/dts/imx6qdl-sr-som.dtsi     | 17 +++++-
 board/solidrun/mx6cuboxi/mx6cuboxi.c | 78 ++++++++++++++++++++++++++++
 configs/mx6cuboxi_defconfig          |  2 +
 drivers/net/phy/adin.c               | 64 +++++++++++++++++++----
 4 files changed, 148 insertions(+), 13 deletions(-)
Signature · 1 line
2.35.3