The maple tree based register cache is based on a more modern data
structure and makes more current implementation decisions than the
rbtree cache, convert the TI drivers that use rbtree caches to use
maple tree instead.
Signed-off-by: Mark Brown <[email protected]>
---
Mark Brown (7):
mfd: tps65086: Convert to use maple tree register cache
mfd: tps65090: Convert to use maple tree register cache
mfd: tps65128: Convert to use maple tree register cache
mfd: tps6586x: Convert to use maple tree register cache
mfd: tps65910: Convert to use maple tree register cache
mfd: tps65912: Convert to use maple tree register cache
mfd: twl: Convert to use maple tree register cache
drivers/mfd/tps65086.c | 2 +-
drivers/mfd/tps65090.c | 2 +-
drivers/mfd/tps65218.c | 2 +-
drivers/mfd/tps6586x.c | 2 +-
drivers/mfd/tps65910.c | 2 +-
drivers/mfd/tps65912-core.c | 2 +-
drivers/mfd/twl-core.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
---
base-commit: 6465e260f48790807eef06b583b38ca9789b6072
change-id: 20230929-mfd-ti-maple-7258488c0083
Best regards,
--
Mark Brown <[email protected]>
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 <[email protected]>
---
drivers/mfd/tps65910.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 41408df1712f..307d30da274b 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -281,7 +281,7 @@ static const struct regmap_config tps65910_regmap_config = {
.val_bits = 8,
.volatile_reg = is_volatile_reg,
.max_register = TPS65910_MAX_REGISTER - 1,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int tps65910_ck32k_init(struct tps65910 *tps65910,
--
2.39.2
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 <[email protected]>
---
drivers/mfd/twl-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index ce01a87f8dc3..1c1fefbeeb80 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -312,7 +312,7 @@ static const struct regmap_config twl4030_regmap_config[4] = {
.reg_defaults = twl4030_49_defaults,
.num_reg_defaults = ARRAY_SIZE(twl4030_49_defaults),
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
},
{
/* Address 0x4a */
--
2.39.2
On Sun, 01 Oct 2023 11:27:47 +0100, Mark Brown wrote:
> The maple tree based register cache is based on a more modern data
> structure and makes more current implementation decisions than the
> rbtree cache, convert the TI drivers that use rbtree caches to use
> maple tree instead.
>
>
Applied, thanks!
[1/7] mfd: tps65086: Convert to use maple tree register cache
commit: aa732bb3da329abc28b4eee89efd974acb5b8c36
[2/7] mfd: tps65090: Convert to use maple tree register cache
commit: 21a3beab2dbf6c0f3fdc45a14dfffbe2d1c53e79
[3/7] mfd: tps65128: Convert to use maple tree register cache
commit: d252f0f6c8df10559cca85bc8824e9b7c45c1c51
[4/7] mfd: tps6586x: Convert to use maple tree register cache
commit: 0c16d3d6b758aca06c7c550cc43b8a0368525bba
[5/7] mfd: tps65910: Convert to use maple tree register cache
commit: f77a3bcff35c1c8bccb347f2f7cf3e25af782984
[6/7] mfd: tps65912: Convert to use maple tree register cache
commit: 6e554a744ff576223275fbedafccf9d88581b1fd
[7/7] mfd: twl: Convert to use maple tree register cache
commit: 680d253c3ba0674b8da269e5c51e6caaa623cad5
--
Lee Jones [李琼斯]