mbox series

[0/4] clk: versaclock: regmap modernisations

Message ID 20230929-clk-maple-versaclk-v1-0-24dd5b3d8689@kernel.org (mailing list archive)
Headers show
Series clk: versaclock: regmap modernisations | expand

Message

Mark Brown Sept. 29, 2023, 2:26 p.m. UTC
The maple tree register cache is a more modern replacement for the
rbtree cache which uses a more modern data structure and makes decisions
likely to be better for more current hardware, update the versaclock
drivers to use it.

While looking at updating the cache types I noticed a minor optimisation
opportunity with a redundant _is_writeable() operation in versaclock3 so
I updated that too.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (4):
      clk: versaclock3: Remove redundant _is_writeable()
      clk: versaclock3: Convert to use maple tree register cache
      clk: versaclock5: Convert to use maple tree register cache
      clk: versaclock7: Convert to use maple tree register cache

 drivers/clk/clk-versaclock3.c | 8 +-------
 drivers/clk/clk-versaclock5.c | 2 +-
 drivers/clk/clk-versaclock7.c | 2 +-
 3 files changed, 3 insertions(+), 9 deletions(-)
---
base-commit: 6465e260f48790807eef06b583b38ca9789b6072
change-id: 20230929-clk-maple-versaclk-129fa4fb712f

Best regards,