1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-22 02:52:56 +00:00
linux/drivers/phy/broadcom
Rafał Miłecki 32942d33d6 phy: phy-brcm-usb: fixup BCM4908 support
Just like every other family BCM4908 should get its own enum value. That
is required to properly handle it in chipset conditional code.

The real change is excluding BCM4908 from the PLL reprogramming code
(see brcmusb_usb3_pll_54mhz()). I'm not sure what's the BCM4908
reference clock frequency but:
1. BCM4908 custom driver from Broadcom's SDK doesn't reprogram PLL
2. Doing that in Linux driver stopped PHY handling some USB 3.0 devices

This change makes USB 3.0 PHY recognize e.g.:
1. 04e8:6860 - Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
2. 1058:259f - Western Digital My Passport 259F

Broadcom's STB SoCs come with a set of SUN_TOP_CTRL_* registers that
allow reading chip family and product ids. Such a block & register is
missing on BCM4908 so this commit introduces "compatible" string
specific binding.

Fixes: 4b402fa8e0 ("phy: phy-brcm-usb: support PHY on the BCM4908")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220218172459.10431-1-zajec5@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-02-25 14:32:37 +05:30
..
Kconfig phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option 2022-01-23 19:33:28 +05:30
Makefile phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm63xx-usbh.c phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm-cygnus-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-kona-usb2.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns2-pcie.c net: Convert more users of mdiobus_* to mdiodev_* 2021-10-24 13:40:33 +01:00
phy-bcm-ns2-usbdrd.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns-usb2.c phy: bcm-ns-usb2: improve printing ref clk errors 2021-11-25 10:45:04 +05:30
phy-bcm-ns-usb3.c net: Convert more users of mdiobus_* to mdiodev_* 2021-10-24 13:40:33 +01:00
phy-bcm-sr-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-sr-usb.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-brcm-sata.c phy: phy-brcm-sata: remove unneeded semicolon 2021-02-04 13:37:26 +05:30
phy-brcm-usb-init-synopsys.c phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers 2022-02-25 14:13:19 +05:30
phy-brcm-usb-init.c phy: phy-brcm-usb: fixup BCM4908 support 2022-02-25 14:32:37 +05:30
phy-brcm-usb-init.h phy: phy-brcm-usb: fixup BCM4908 support 2022-02-25 14:32:37 +05:30
phy-brcm-usb.c phy: phy-brcm-usb: fixup BCM4908 support 2022-02-25 14:32:37 +05:30