aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorAntonio Borneo <antonio.borneo@st.com>2019-10-07 17:43:05 +0200
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-09 15:52:52 -0700
commit520cf6002147281d1e7b522bb338416b623dcb93 (patch)
tree8cf0d50590b7b653b641adef423094cbeadbe09b /drivers/net/bonding
parentnet: stmmac: fix length of PTP clock's name string (diff)
downloadlinux-dev-520cf6002147281d1e7b522bb338416b623dcb93.tar.xz
linux-dev-520cf6002147281d1e7b522bb338416b623dcb93.zip
net: stmmac: fix disabling flexible PPS output
Accordingly to Synopsys documentation [1] and [2], when bit PPSEN0 in register MAC_PPS_CONTROL is set it selects the functionality command in the same register, otherwise selects the functionality control. Command functionality is required to either enable (command 0x2) and disable (command 0x5) the flexible PPS output, but the bit PPSEN0 is currently set only for enabling. Set the bit PPSEN0 to properly disable flexible PPS output. Tested on STM32MP15x, based on dwmac 4.10a. [1] DWC Ethernet QoS Databook 4.10a October 2014 [2] DWC Ethernet QoS Databook 5.00a September 2017 Signed-off-by: Antonio Borneo <antonio.borneo@st.com> Fixes: 9a8a02c9d46d ("net: stmmac: Add Flexible PPS support") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions