devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4]  net: fec: add PPS channel configuration
@ 2024-08-07 14:43 Francesco Dolcini
  2024-08-07 14:43 ` [PATCH v1 1/4] dt-bindings: net: fec: add pps channel property Francesco Dolcini
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Francesco Dolcini @ 2024-08-07 14:43 UTC (permalink / raw)
  To: Wei Fang, Shenwei Wang, Clark Wang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, Richard Cochran, Linux Team
  Cc: Francesco Dolcini, imx, netdev, devicetree, linux-kernel,
	linux-arm-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

Make the FEC Ethernet PPS channel configurable from device tree.

The current code hard-code the PPS channel to be 0, however on i.MX8 the
channel is 1.

Francesco Dolcini (4):
  dt-bindings: net: fec: add pps channel property
  net: fec: refactor PPS channel configuration
  net: fec: make PPS channel configurable
  arm64: dts: imx8-ss-conn: add PPS channel to the FEC nodes

 Documentation/devicetree/bindings/net/fsl,fec.yaml |  7 +++++++
 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi    |  2 ++
 drivers/net/ethernet/freescale/fec_ptp.c           | 11 ++++++-----
 3 files changed, 15 insertions(+), 5 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-08-09  2:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 14:43 [PATCH v1 0/4] net: fec: add PPS channel configuration Francesco Dolcini
2024-08-07 14:43 ` [PATCH v1 1/4] dt-bindings: net: fec: add pps channel property Francesco Dolcini
2024-08-07 14:43 ` [PATCH v1 4/4] arm64: dts: imx8-ss-conn: add PPS channel to the FEC nodes Francesco Dolcini
2024-08-07 15:34   ` Frank Li
2024-08-07 17:51     ` Francesco Dolcini
2024-08-07 19:48       ` Rafael Beims
2024-08-07 20:25         ` Frank Li
2024-08-08  6:30           ` Francesco Dolcini
2024-08-08 21:57 ` [PATCH v1 0/4] net: fec: add PPS channel configuration Francesco Dolcini
2024-08-09  2:58   ` Jakub Kicinski

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).