]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: lantiq_gswip: convert accessors to use regmap
authorDaniel Golle <daniel@makrotopia.org>
Tue, 21 Oct 2025 11:16:37 +0000 (12:16 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Oct 2025 01:53:05 +0000 (18:53 -0700)
commit70535979738937d8397e76f850bd00e97115d02d
tree44973c070838d0c7b235e0c30227ce8068c6295d
parent41b66240e90b0dceb488ce5a4a285a97e6ca63c7
net: dsa: lantiq_gswip: convert accessors to use regmap

Use regmap for register access in preparation for supporting the MaxLinear
GSW1xx family of switches connected via MDIO or SPI.
Rewrite the existing accessor read-poll-timeout functions to use calls to
the regmap API for now.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Link: https://patch.msgid.link/535d968bc6319a74bdf76166ef19364ee659285f.1761045000.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/Kconfig
drivers/net/dsa/lantiq/lantiq_gswip.c
drivers/net/dsa/lantiq/lantiq_gswip.h