summaryrefslogtreecommitdiffstats
path: root/drivers/net/mdio/mdio-ipq8064.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* net: mdio: ipq8064: replace ioremap() with devm_ioremap()Yang Yingliang2021-11-291-1/+1
| | | | | | | Use devm_ioremap() instead of ioremap() to avoid iounmap() missing. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: mdio: ipq8064: enlarge sleep after read/write operationAnsuel Smith2021-05-151-2/+9
| | | | | | | | | | | | | With the use of the qca8k dsa driver, some problem arised related to port status detection. With a load on a specific port (for example a simple speed test), the driver starts to behave in a strange way and garbage data is produced. To address this, enlarge the sleep delay and address a bug for the reg offset 31 that require additional delay for this specific reg. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: mdio: ipq8064: add regmap config to disable REGCACHEAnsuel Smith2021-05-151-10/+24
| | | | | | | | | mdio drivers should not use REGCHACHE. Also disable locking since it's handled by the mdio users and regmap is always accessed atomically. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: mdio: ipq8064: clean whitespaces in defineAnsuel Smith2021-05-151-12/+13
| | | | | | | | Fix mixed whitespace and tab for define spacing. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: mdio: Alphabetically sort header inclusionCalvin Johnson2021-03-161-2/+2
| | | | | | | Alphabetically sort header inclusion Signed-off-by: Calvin Johnson <calvin.johnson@oss.nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: mdio: Move MDIO drivers into a new subdirectoryAndrew Lunn2020-08-271-0/+166
Move all the MDIO drivers and multiplexers into drivers/net/mdio. The mdio core is however left in the phy directory, due to mutual dependencies between the MDIO core and the PHY core. Take this opportunity to sort the Kconfig based on the menuconfig strings, and move the multiplexers to the end with a separating comment. v2: Fix typo in commit message Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>