net: phy: add qca8081 config_init
authorLuo Jie <luoj@codeaurora.org>
Sun, 24 Oct 2021 08:27:35 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:04:18 +0000 (14:04 +0100)
commit2acdd43fe009a99817c2324b086f32403f9faecd
tree281d261f7da0a425776fe2bfe1a882e5fbfa6346
parent63c67f526db86d3102a77437a510c949f6debb08
net: phy: add qca8081 config_init

Add the qca8081 phy driver config_init function, which includes:
1. Enable fast restrain.
2. Add 802.3az configurations.
3. Initialize ADC threshold as 100mv.

Signed-off-by: Luo Jie <luoj@codeaurora.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c