Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: versaclock7: Convert to use maple tree register cache

The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230929-clk-maple-versaclk-v1-4-24dd5b3d8689@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Mark Brown and committed by
Stephen Boyd
9e952929 2902ba68

+1 -1
+1 -1
drivers/clk/clk-versaclock7.c
··· 1275 1275 .ranges = vc7_range_cfg, 1276 1276 .num_ranges = ARRAY_SIZE(vc7_range_cfg), 1277 1277 .volatile_reg = vc7_volatile_reg, 1278 - .cache_type = REGCACHE_RBTREE, 1278 + .cache_type = REGCACHE_MAPLE, 1279 1279 .can_multi_write = true, 1280 1280 .reg_format_endian = REGMAP_ENDIAN_LITTLE, 1281 1281 .val_format_endian = REGMAP_ENDIAN_LITTLE,