]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: add support for QCA8328
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 13 Oct 2021 22:39:17 +0000 (00:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 10:06:38 +0000 (11:06 +0100)
commitf5635ab42495e00a37a3d6bb83066826227c12e1
treeb1be508f1217eff293eaa4f24565b39b75549821
parentf324e78e70ceda2b56a7334c1372cd37586cdf64
net: dsa: qca8k: add support for QCA8328

QCA8328 switch is the bigger brother of the qca8327. Same regs different
chip. Change the function to set the correct pin layout and introduce a
new match_data to differentiate the 2 switch as they have the same ID
and their internal PHY have the same ID.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
drivers/net/dsa/qca8k.h