]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'net-dsa-lantiq_gswip-use-regmap-for-register-access'
authorJakub Kicinski <kuba@kernel.org>
Fri, 24 Oct 2025 01:53:08 +0000 (18:53 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Oct 2025 01:53:08 +0000 (18:53 -0700)
commitf0a24b2547cfdd5ec85a131e386a2ce4ff9179cb
treeba3bb97da10d5d2c340061eae21ed4d13924a77e
parent05774d7e4201b673b415d65a1344dc396e7c00e1
parentb0911b9e014004d3e617e8bba27000f521a26422
Merge branch 'net-dsa-lantiq_gswip-use-regmap-for-register-access'

Daniel Golle says:

====================
net: dsa: lantiq_gswip: use regmap for register access

This series refactors the lantiq_gswip driver to utilize the regmap API
for register access, replacing the previous approach of open-coding
register operations.

Using regmap paves the way for supporting different busses to access the
switch registers, for example it makes it easier to use an MDIO-based
method required to access the registers of the MaxLinear GSW1xx series
of dedicated switch ICs.

Apart from that, the use of regmap improves readability and
maintainability of the driver by standardizing register access.

When ever possible changes were made using Coccinelle semantic patches,
sometimes adjusting white space and adding line breaks when needed.
The remaining changes which were not done using semantic patches are
small and should be easy to review and verify.

The whole series has been
Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
====================

Link: https://patch.msgid.link/cover.1761045000.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>