]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: at803x: add DAC amplitude fix for 8327 phy
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 9 Oct 2021 22:46:16 +0000 (00:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Oct 2021 10:27:42 +0000 (11:27 +0100)
commit300be846b14629f81ea91864a3a97f724ccea0a7
tree23d8d6632318cc5668cfdaff1a73808d627ca733
parent7f92b481686cfdd944d9b3ff26e729dc2688e79c
net: phy: at803x: add DAC amplitude fix for 8327 phy

QCA8327 internal phy require DAC amplitude adjustement set to +6% with
100m speed. Also add additional define to report a change of the same
reg in QCA8337. (different scope it does set 1000m voltage)
Add link_change_notify function to set the proper amplitude adjustement
on PHY_RUNNING state and disable on any other state.

Fixes: d9655e640f44 ("net: phy: at803x: add support for qca 8327 A variant internal phy")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c