kernel: b53: update the BCM5365 UID
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Fri, 26 Feb 2021 19:49:00 +0000 (20:49 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 5 Mar 2021 11:23:25 +0000 (12:23 +0100)
commit5601da24a89f396c173c31252d679a9eeb9913c3
treeb754030168686e95af3e143a4db540275777b414
parentbdb18e0f84bccafe1497c418b6aaa924be2de6f8
kernel: b53: update the BCM5365 UID

BCM63XX internal PHYs and BCM5365 SoC internal switch are both using the
same phy_driver->phy_id, causing conflicts and unnecessary probes. E.g
the BCM63XX phy internal IRQ is lost on the first probe.

The full BCM5365 UID is 0x00406370.

Use an additional byte to mask the BCM5365 UID to avoid duplicate driver
phy_id's. This will fix the IRQ issue in internal BCM63XX PHYs and avoid
more conflicts in the future.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
(merge both cherry-picked commits)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commits cbcac4fde8 and cfa43f8119)
target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c
target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c