mt76: mt7615: register ext_phy if DBDC is detected
authorShayne Chen <shayne.chen@mediatek.com>
Wed, 24 Jun 2020 09:39:37 +0000 (17:39 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:12 +0000 (18:10 +0200)
commit7660a1bd0c22a05ef9ee36409478ee63044cad0f
tree0b28f22d75deaf7cf69d7d62562b272e5b9870e7
parent5acbf34e2a2cee13208e6466346ca987eb772d55
mt76: mt7615: register ext_phy if DBDC is detected

MT_EE_WIFI_CONF field can be used to detect if the chipset is MT7615D.
Thus, add support to automatically register ext_phy if DBDC is detected.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c