From: Jakub Kicinski Date: Fri, 15 Jan 2021 23:06:08 +0000 (-0800) Subject: Merge branch 'add-further-dt-configuration-for-at803x-phys' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e7fa5c80defe079190537fd6b6aecb8866b446a3;p=uclinux-h8%2Flinux.git Merge branch 'add-further-dt-configuration-for-at803x-phys' Russell King says: ==================== Add further DT configuration for AT803x PHYs This patch series adds the ability to configure the SmartEEE feature in AT803x PHYs. SmartEEE defaults to enabled on these PHYs, and has a history of causing random sporadic link drops at Gigabit speeds. There appears to be two solutions to this. There is the approach that Freescale adopted early on, which is to disable the SmartEEE feature. However, this loses the power saving provided by EEE. Another solution was found by Jon Nettleton is to increase the Tw parameter for Gigabit links. This patch series adds support for both approaches, by adding a boolean: qca,disable-smarteee if one wishes to disable SmartEEE, and two properties to configure the SmartEEE Tw parameters: qca,smarteee-tw-us-100m qca,smarteee-tw-us-1g Sadly, the PHY quirk I merged a while back for AT8035 on iMX6 is broken - rather than disabling SmartEEE mode, it enables it. The addition of these properties will be sent to the appropriate platform maintainers - although for SolidRun platforms, we only make use of "qca,smarteee-tw-us-1g". ==================== Link: https://lore.kernel.org/r/20210114104455.GP1551@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski --- e7fa5c80defe079190537fd6b6aecb8866b446a3