devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] arm64: dts: qcom: enable EMAC1 on sa8775p
@ 2023-08-08 19:01 Bartosz Golaszewski
  2023-08-08 19:01 ` [PATCH v2 1/8] arm64: dts: qcom: sa8775p: add a node for the second serdes PHY Bartosz Golaszewski
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Bartosz Golaszewski @ 2023-08-08 19:01 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alex Elder, Srini Kandagatla,
	Andrew Halaney
  Cc: linux-arm-msm, devicetree, linux-kernel, netdev,
	Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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

Bartosz Golaszewski (8):
  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: add an alias for ethernet0
  arm64: dts: qcom: sa8775p-ride: enable EMAC1

 arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 98 +++++++++++++++++++++--
 arch/arm64/boot/dts/qcom/sa8775p.dtsi     | 43 ++++++++++
 2 files changed, 135 insertions(+), 6 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-08 21:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 19:01 [PATCH v2 0/8] arm64: dts: qcom: enable EMAC1 on sa8775p Bartosz Golaszewski
2023-08-08 19:01 ` [PATCH v2 1/8] arm64: dts: qcom: sa8775p: add a node for the second serdes PHY Bartosz Golaszewski
2023-08-08 19:25   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 2/8] arm64: dts: qcom: sa8775p: add a node for EMAC1 Bartosz Golaszewski
2023-08-08 21:11   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 3/8] arm64: dts: qcom: sa8775p-ride: enable the second SerDes PHY Bartosz Golaszewski
2023-08-08 21:11   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 4/8] arm64: dts: qcom: sa8775p-ride: move the reset-gpios property of the PHY Bartosz Golaszewski
2023-08-08 21:09   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 5/8] arm64: dts: qcom: sa8775p-ride: index the first SGMII PHY Bartosz Golaszewski
2023-08-08 21:09   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 6/8] arm64: dts: qcom: sa8775p-ride: add the second " Bartosz Golaszewski
2023-08-08 21:09   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 7/8] arm64: dts: qcom: sa8775p-ride: add an alias for ethernet0 Bartosz Golaszewski
2023-08-08 21:10   ` Konrad Dybcio
2023-08-08 19:01 ` [PATCH v2 8/8] arm64: dts: qcom: sa8775p-ride: enable EMAC1 Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).