[PATCH 0/6] backport fixes and improvements for MT7530
Arınç ÜNAL
arinc.unal at arinc9.com
Sun Feb 6 00:43:40 PST 2022
On 06/02/2022 00:15, Arınç ÜNAL wrote:
> On 05/02/2022 21:30, Rosen Penev wrote:
>> On Sat, Feb 5, 2022 at 10:23 AM Hauke Mehrtens <hauke at hauke-m.de> wrote:
>>>
>>> On 2/5/22 19:21, Rosen Penev wrote:
>>>> On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens <hauke at hauke-m.de>
>>>> wrote:
>>>>>
>>>>> On 2/3/22 13:06, DENG Qingfang wrote:
>>>>>> Hi,
>>>>>>
>>>>>> This series backports some patches from upstream to address the
>>>>>> current
>>>>>> MT7530 DSA driver's problems.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> DENG Qingfang (6):
>>>>>> kernel: backport MediaTek jumbo frame support
>>>>>> kernel: backport MT7530 ageing time support
>>>>>> kernel: backport MT7530 VLAN fix
>>>>>> kernel: backport MT7530 MDB operations
>>>>>> kernel: backport MediaTek Ethernet PHY driver
>>>>>> kernel: backport MT7530 IRQ support
>>>>>>
>>>>> Hi,
>>>>>
>>>>> The last two patches are breaking the Linksys e8450 (mt7622) for me.
>>>>>
>>>>> I am getting these errors:
>>>> Note the commentary in
>>>> https://github.com/openwrt/openwrt/commit/3f4301e123f29348b4ad87578d62b7d1f5f210c6
>>>>
>>>>
>>>> The message in dmesg is harmless. It just says the functionality in
>>>> this patch needs dts bindings, which were only provided for ramips.
>>>
>>> The following error messages are a bigger problem:
>>> --------
>>> [ 1.312943] mt7530 mdio-bus:00 lan1 (uninitialized): failed to
>>> connect to PHY: -EINVAL
>>> [ 1.320890] mt7530 mdio-bus:00 lan1 (uninitialized): error -22
>>> setting up PHY for tree 0, switch 0, port 0
>>> ---------
>>>
>>> The LAN ports are not registered and then LAN is not working at all.
>> I think the PHY driver was written for mt7530. The e8450 uses mt7531
>> AFAIK.
>
> No, the Mediatek GE PHY driver supports both mt7530 and mt7531 switch
> PHYs. Linksys E8450 has an MT7622B chip which seems to have a built-in
> MT7531 switch.
Correction:
MT7622X chips do not have a built-in mt7531 switch, there's a Fast
Ethernet switch which is different. Linksys put an external mt7531 chip
on the board for their E8450.
Arınç
More information about the openwrt-devel
mailing list