]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: fec: make PPS channel configurable
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Fri, 4 Oct 2024 15:24:19 +0000 (17:24 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 10:29:34 +0000 (12:29 +0200)
commit566c2d83887f0570056833102adc5b88e681b0c7
tree2a8c74ea64e9de0abdde22113993c45b6ed21152
parentbf8ca67e21671e7a56e31da45360480b28f185f1
net: fec: make PPS channel configurable

Depending on the SoC where the FEC is integrated into the PPS channel
might be routed to different timer instances. Make this configurable
from the devicetree.

When the related DT property is not present fallback to the previous
default and use channel 0.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Tested-by: Rafael Beims <rafael.beims@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Csókás, Bence <csokas.bence@prolan.hu>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/fec_ptp.c