summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-11-22 16:23:44 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-22 15:35:16 +0000
commit8b5f3f29a81a71934d004e21a1292c1148b05926 (patch)
treec5032b631e6c286066edc93545cb5613215eeac0 /mm
parent36b8af12f424e7a7f60a935c60a0fd4aa0822378 (diff)
net: dsa: qca8k: initial conversion to regmap helper
Convert any qca8k set/clear/pool to regmap helper and add missing config to regmap_config struct. Read/write/rmw operation are reworked to use the regmap helper internally to keep the delta of this patch low. These additional function will then be dropped when the code split will be proposed. Ipq40xx SoC have the internal switch based on the qca8k regmap but use mmio for read/write/rmw operation instead of mdio. In preparation for the support of this internal switch, convert the driver to regmap API to later split the driver to common and specific code. The overhead introduced by the use of regamp API is marginal as the internal mdio will bypass it by using its direct access and regmap will be used only by configuration functions or fdb access. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions