[][HIGH][kernel][common][eth][Update Airoha AN8801SB 1G PHY driver from v1.1.0 to v1.1.3]
[Description]
Add Airoha AN8801SB 1G PHY driver v1.1.3.
Change Log:
[2024/05/10]
* AN8801 V1.1.3
* Optimize RG setting while phy initialize
* Remove unnecessary configuration
[2024/03/15]
* AN8801 V1.1.2
* Add some fixes for Linux 4.4
[2024/03/12]
* AN8801 V1.1.1
* Compatible with Linux 4.4
Example:
=====================================================================
ð {
...
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
phy-mode = "sgmii";
phy-handle = <&phy5>;
};
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
phy5: phy@5 {
compatible = "ethernet-phy-idc0ff.0421";
reg = <24>;
phy-mode = "sgmii";
full-duplex;
pause;
airoha,polarity = <2>;
};
};
...
=====================================================================
Note:
SerDes polarity setting could be configured in dts.
Please refer to the following description.
Tx Normal, Rx Reverse:
airoha,polarity = <0>;
Tx Reverse, Rx Reverse:
airoha,polarity = <1>;
Tx Normal, Rx Normal:
airoha,polarity = <2>;
Tx Reverse, Rx Normal:
airoha,polarity = <3>;
Without this patch, kernel cannot load up-to-date PHY driver
for the Airoha AN8801SB.
[Release-log]
N/A
Change-Id: I422b5559578bdfa44f59d9ff169a33a62995cebc
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9157192
2 files changed