]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'add-further-dt-configuration-for-at803x-phys'
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 23:06:08 +0000 (15:06 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 23:06:09 +0000 (15:06 -0800)
commit1333cb83ea1c64e748bdd523e00f89a9ff835194
treed20104b60f63ca70e555935a19bf89f51e5acc2c
parent735c4fbe0f745b61dfadf92e7dd1dbd02527c07c
parent89156552e5020ea7d1faa0e6f48c6fdd1585d4b9
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 <kuba@kernel.org>