linux/drivers/phy
Florian Fainelli 0ed41b3388 phy: brcm-sata: Correct MDIO operations for 40nm platforms
The logic to write to MDIO registers on 40nm platforms was wrong
because it would use the port number as an offset from the base address
rather than the bank address of the PHY. This is hardly noticeable
because the only programming we do is enabling SSC or not, which is not
really causing an observable functional change.

Correct that mistake by passing down the struct brcm_sata_port structure
down to the brcm_sata_mdio_wr() and brcm_sata_mdio_rd() functions and do
the proper offsetting for 28nm, respectively 40nm platforms from there.
This means that brcm_sata_pcb_base() is now useless and is therefore
removed.

Fixes: c1602a1a0f ("phy: phy_brcmstb_sata: add support for MIPS-based platforms")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2020-02-21 14:01:47 +05:30
..
allwinner phy: Enable compile testing for some of drivers 2020-01-14 10:50:19 +05:30
amlogic phy: meson-g12a-usb3-pcie: Add support for PCIe mode 2019-10-15 14:57:32 +01:00
broadcom phy: brcm-sata: Correct MDIO operations for 40nm platforms 2020-02-21 14:01:47 +05:30
cadence phy: cadence: Sierra: add phy_reset hook 2020-01-14 10:50:19 +05:30
freescale phy: for 5.3 2019-07-01 15:04:59 +02:00
hisilicon phy: hisilicon: Fix Kconfig indentation 2019-12-20 17:00:45 +05:30
intel phy: intel-lgm-emmc: Fix warning by adding missing MODULE_LICENSE 2020-01-14 10:50:19 +05:30
lantiq phy: lantiq: vrx200-pcie: Remove unneeded semicolon 2020-01-08 12:58:06 +05:30
marvell USB/Thunderbolt/PHY driver updates for 5.6-rc1 2020-01-29 10:09:44 -08:00
mediatek phy: Enable compile testing for some of drivers 2020-01-14 10:50:19 +05:30
motorola phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval 2020-02-19 16:02:01 +05:30
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: for 5.6 2020-01-17 07:52:26 +01:00
ralink treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
renesas phy: renesas: phy-rcar-gen2: Fix the array off by one warning 2019-10-31 16:54:01 +05:30
rockchip phy: for 5.6 2020-01-17 07:52:26 +01:00
samsung USB/Thunderbolt/PHY driver updates for 5.6-rc1 2020-01-29 10:09:44 -08:00
socionext treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
st treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tegra phy: tegra: use regulator_bulk_set_supply_names() 2019-10-25 17:58:13 +05:30
ti phy: ti: gmii-sel: do not fail in case of gmii 2020-02-20 18:06:57 +05:30
Kconfig phy: intel-lgm-emmc: Add support for eMMC PHY 2020-01-14 10:50:19 +05:30
Makefile phy: intel-lgm-emmc: Add support for eMMC PHY 2020-01-14 10:50:19 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: core: Fix phy_get() to not return error on link creation failure 2020-02-19 16:02:02 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: xgene: make array serdes_reg static const, makes object smaller 2019-10-23 13:20:26 +05:30