]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Fix VIP configuration for AN7583 SoC
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 12 Apr 2026 07:57:29 +0000 (09:57 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 14 Apr 2026 11:26:23 +0000 (13:26 +0200)
commit1acdfbdb516b32165a8ecd1d5f8c68e4eac64637
treee4838d3f790d307a49627cbb7f37d1fed627916b
parentf7cf8ece8cee3c1ee361991470cdb1eb65ab02e8
net: airoha: Fix VIP configuration for AN7583 SoC

EN7581 and AN7583 SoCs have different VIP definitions. Introduce
get_vip_port callback in airoha_eth_soc_data struct in order to take
into account EN7581 and AN7583 VIP register layout and definition
differences.
Introduce nbq parameter in airoha_gdm_port struct. At the moment nbq
is set statically to value previously used in airhoha_set_gdm2_loopback
routine and it will be read from device tree in subsequent patches.

Fixes: e4e5ce823bdd ("net: airoha: Add AN7583 SoC support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260412-airoha-7583-vip-fix-v1-1-c35e02b054bb@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/airoha/airoha_eth.c
drivers/net/ethernet/airoha/airoha_eth.h