Skip to content

arm64: dts: qcom: enable EMAC1 on sa8775p

Bartosz Golaszewski linux-arm-msm linux-devicetree lkml netdev 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 6 repliesApplied
  2. v28 patches 7 repliesSuperseded
  3. v19 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- add a patch sorting aliases in sa8775p-ride.dts and sort the ethernet entries
- remove a newline between clocks and clock-names properties
- collect tags

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9arm64: dts: qcom: sa8775p: add a node for the second serdes PHYarch/arm64/boot/dts/qcom/sa8775p.dtsi+9 -00 replies
2/9arm64: dts: qcom: sa8775p: add a node for EMAC1arch/arm64/boot/dts/qcom/sa8775p.dtsi+33 -00 replies
3/9arm64: dts: qcom: sa8775p-ride: enable the second SerDes PHYarch/arm64/boot/dts/qcom/sa8775p-ride.dts+5 -00 replies
4/9arm64: dts: qcom: sa8775p-ride: move the reset-gpios property of the PHYarch/arm64/boot/dts/qcom/sa8775p-ride.dts+4 -40 replies
5/9arm64: dts: qcom: sa8775p-ride: index the first SGMII PHYarch/arm64/boot/dts/qcom/sa8775p-ride.dts+2 -20 replies
6/9arm64: dts: qcom: sa8775p-ride: add the second SGMII PHYarch/arm64/boot/dts/qcom/sa8775p-ride.dts+9 -00 replies
7/9arm64: dts: qcom: sa8775p-ride: sort aliases alphabeticallyarch/arm64/boot/dts/qcom/sa8775p-ride.dts+2 -21 reply
8/9arm64: dts: qcom: sa8775p-ride: add an alias for ethernet0arch/arm64/boot/dts/qcom/sa8775p-ride.dts+1 -01 reply
9/9arm64: dts: qcom: sa8775p-ride: enable EMAC1arch/arm64/boot/dts/qcom/sa8775p-ride.dts+71 -00 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchAndrew HalaneyKonrad Dybcio
SeriesT-b
1/9R-b R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b
5/9R-b R-b
6/9R-b
7/9R-b
8/9R-b
9/9

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

Read the v3 thread

Cover letter [PATCH v3 0/9] arm64: dts: qcom: enable EMAC1 on sa8775p

From: Bartosz Golaszewski <[email protected]>

This series contains changes required to enable EMAC1 on sa8775p-ride. This iteration no longer depends on any changes to the stmmac driver to be functional. It turns out I was mistaken in thinking that the two MACs' MDIO masters share the MDIO clock and data lines. In reality, only one MAC is connected to an MDIO bus and it controlls PHYs for both MAC0 and MAC1. The MDIO master on MAC1 is not connected to anything.

v1 -> v2:
- remove pin functions for MDIO signals and don't assign them to MAC1
- add a delay after asserting the PHY's reset signal, not only when it's released
- remove the entire concept of shared-mdio property
- add aliases for ethernet nodes in order to avoid MDIO bus name conflicts in stmmac

v2 -> v3:
- add a patch sorting aliases in sa8775p-ride.dts and sort the ethernet entries
- remove a newline between clocks and clock-names properties
- collect tags

Bartosz Golaszewski (9):
arm64: dts: qcom: sa8775p: add a node for the second serdes PHY
arm64: dts: qcom: sa8775p: add a node for EMAC1
arm64: dts: qcom: sa8775p-ride: enable the second SerDes PHY
arm64: dts: qcom: sa8775p-ride: move the reset-gpios property of the
PHY
arm64: dts: qcom: sa8775p-ride: index the first SGMII PHY
arm64: dts: qcom: sa8775p-ride: add the second SGMII PHY
arm64: dts: qcom: sa8775p-ride: sort aliases alphabetically
arm64: dts: qcom: sa8775p-ride: add an alias for ethernet0
arm64: dts: qcom: sa8775p-ride: enable EMAC1

 arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 102 ++++++++++++++++++++--
 arch/arm64/boot/dts/qcom/sa8775p.dtsi     |  42 +++++++++
 2 files changed, 136 insertions(+), 8 deletions(-)
Signature · 1 line
2.39.2