Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: phy-brcm-usb: support PHY on the BCM4908

BCM4908 seems to have slightly different registers but works when
programmed just like the STB one.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210106205838.10964-3-zajec5@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rafał Miłecki and committed by
Vinod Koul
4b402fa8 46b616c1

+6 -1
+2 -1
drivers/phy/broadcom/Kconfig
··· 91 91 92 92 config PHY_BRCM_USB 93 93 tristate "Broadcom STB USB PHY driver" 94 - depends on ARCH_BRCMSTB || COMPILE_TEST 94 + depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST 95 95 depends on OF 96 96 select GENERIC_PHY 97 97 select SOC_BRCMSTB 98 + default ARCH_BCM4908 98 99 default ARCH_BRCMSTB 99 100 help 100 101 Enable this to support the Broadcom STB USB PHY.
+4
drivers/phy/broadcom/phy-brcm-usb.c
··· 287 287 288 288 static const struct of_device_id brcm_usb_dt_ids[] = { 289 289 { 290 + .compatible = "brcm,bcm4908-usb-phy", 291 + .data = &chip_info_7445, 292 + }, 293 + { 290 294 .compatible = "brcm,bcm7216-usb-phy", 291 295 .data = &chip_info_7216, 292 296 },