summaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3-lpm.c
diff options
context:
space:
mode:
authorJulien Beraud <julien.beraud@orolia.com>2020-04-15 14:24:31 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-18 15:02:18 -0700
commit15ce30609d1e88d42fb1cd948f453e6d5f188249 (patch)
treefd787b9946ff93ddf975756d9a9acb0aade4547b /drivers/ps3/ps3-lpm.c
parent7717cbec172c3554d470023b4020d5781961187e (diff)
downloadlinux-15ce30609d1e88d42fb1cd948f453e6d5f188249.tar.bz2
net: stmmac: fix enabling socfpga's ptp_ref_clock
There are 2 registers to write to enable a ptp ref clock coming from the fpga. One that enables the usage of the clock from the fpga for emac0 and emac1 as a ptp ref clock, and the other to allow signals from the fpga to reach emac0 and emac1. Currently, if the dwmac-socfpga has phymode set to PHY_INTERFACE_MODE_MII, PHY_INTERFACE_MODE_GMII, or PHY_INTERFACE_MODE_SGMII, both registers will be written and the ptp ref clock will be set as coming from the fpga. Separate the 2 register writes to only enable signals from the fpga to reach emac0 or emac1 when ptp ref clock is not coming from the fpga. Signed-off-by: Julien Beraud <julien.beraud@orolia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ps3/ps3-lpm.c')
0 files changed, 0 insertions, 0 deletions