From 45ad5beb809ea9421c0b150c8f03e5b24952b4ae Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Mon, 8 Nov 2021 23:06:02 +0100 Subject: ipq40xx: qca807x: always set PSGMII AZ WAR There is no point in using a DT property to trigger setting the PSGMII PHY AZ transmitting ability. Especially since EEE can be disabled using ethtool anyway. Fixup the mask for setting the workaround as only BIT(0) is actually being changed and use the phy_clear_bits_mmd helper instead of reading, then clearing the bit and writing back as it does everything for us. Signed-off-by: Robert Marko --- .../ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/ipq40xx/patches-5.15') diff --git a/target/linux/ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch b/target/linux/ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch index c08f3a83e6..d978693b4f 100644 --- a/target/linux/ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch +++ b/target/linux/ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch @@ -20,7 +20,7 @@ Signed-off-by: Robert Marko / { #address-cells = <1>; -@@ -598,22 +599,39 @@ +@@ -598,22 +599,38 @@ ethphy0: ethernet-phy@0 { reg = <0>; @@ -56,7 +56,6 @@ Signed-off-by: Robert Marko + reg = <5>; + + qcom,tx-driver-strength = ; -+ qcom,psgmii-az; }; }; -- cgit v1.2.3