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>
This commit is contained in:
parent
46b616c157
commit
4b402fa8e0
2 changed files with 6 additions and 1 deletions
|
@ -91,10 +91,11 @@ config PHY_BRCM_SATA
|
||||||
|
|
||||||
config PHY_BRCM_USB
|
config PHY_BRCM_USB
|
||||||
tristate "Broadcom STB USB PHY driver"
|
tristate "Broadcom STB USB PHY driver"
|
||||||
depends on ARCH_BRCMSTB || COMPILE_TEST
|
depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST
|
||||||
depends on OF
|
depends on OF
|
||||||
select GENERIC_PHY
|
select GENERIC_PHY
|
||||||
select SOC_BRCMSTB
|
select SOC_BRCMSTB
|
||||||
|
default ARCH_BCM4908
|
||||||
default ARCH_BRCMSTB
|
default ARCH_BRCMSTB
|
||||||
help
|
help
|
||||||
Enable this to support the Broadcom STB USB PHY.
|
Enable this to support the Broadcom STB USB PHY.
|
||||||
|
|
|
@ -286,6 +286,10 @@ static const struct match_chip_info chip_info_7445 = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct of_device_id brcm_usb_dt_ids[] = {
|
static const struct of_device_id brcm_usb_dt_ids[] = {
|
||||||
|
{
|
||||||
|
.compatible = "brcm,bcm4908-usb-phy",
|
||||||
|
.data = &chip_info_7445,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.compatible = "brcm,bcm7216-usb-phy",
|
.compatible = "brcm,bcm7216-usb-phy",
|
||||||
.data = &chip_info_7216,
|
.data = &chip_info_7216,
|
||||||
|
|
Loading…
Add table
Reference in a new issue