* [PATCH 0/7] mfd: ti: Convert to maple tree register cache
@ 2023-10-01 10:27 Mark Brown
2023-10-01 10:27 ` [PATCH 1/7] mfd: tps65086: Convert to use " Mark Brown
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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 <broonie@kernel.org>
---
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 <broonie@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/7] mfd: tps65086: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 2/7] mfd: tps65090: " Mark Brown
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
drivers/mfd/tps65086.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65086.c b/drivers/mfd/tps65086.c
index 9bb7d7d8dcfc..152179ee11ca 100644
--- a/drivers/mfd/tps65086.c
+++ b/drivers/mfd/tps65086.c
@@ -34,7 +34,7 @@ static const struct regmap_access_table tps65086_volatile_table = {
static const struct regmap_config tps65086_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.volatile_table = &tps65086_volatile_table,
};
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/7] mfd: tps65090: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
2023-10-01 10:27 ` [PATCH 1/7] mfd: tps65086: Convert to use " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 3/7] mfd: tps65128: " Mark Brown
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
drivers/mfd/tps65090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c
index 9245e11219f3..b764badaa62a 100644
--- a/drivers/mfd/tps65090.c
+++ b/drivers/mfd/tps65090.c
@@ -151,7 +151,7 @@ static const struct regmap_config tps65090_regmap_config = {
.val_bits = 8,
.max_register = TPS65090_MAX_REG,
.num_reg_defaults_raw = TPS65090_NUM_REGS,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.volatile_reg = is_volatile_reg,
};
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/7] mfd: tps65128: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
2023-10-01 10:27 ` [PATCH 1/7] mfd: tps65086: Convert to use " Mark Brown
2023-10-01 10:27 ` [PATCH 2/7] mfd: tps65090: " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 4/7] mfd: tps6586x: " Mark Brown
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
drivers/mfd/tps65218.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
index 11e4e52b56be..427a2b97f117 100644
--- a/drivers/mfd/tps65218.c
+++ b/drivers/mfd/tps65218.c
@@ -127,7 +127,7 @@ static const struct regmap_access_table tps65218_volatile_table = {
static const struct regmap_config tps65218_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.volatile_table = &tps65218_volatile_table,
};
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 4/7] mfd: tps6586x: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
` (2 preceding siblings ...)
2023-10-01 10:27 ` [PATCH 3/7] mfd: tps65128: " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 5/7] mfd: tps65910: " Mark Brown
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
drivers/mfd/tps6586x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c
index 55675ceedcd3..378ee626c04d 100644
--- a/drivers/mfd/tps6586x.c
+++ b/drivers/mfd/tps6586x.c
@@ -454,7 +454,7 @@ static const struct regmap_config tps6586x_regmap_config = {
.val_bits = 8,
.max_register = TPS6586X_MAX_REGISTER,
.volatile_reg = is_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static struct device *tps6586x_dev;
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 5/7] mfd: tps65910: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
` (3 preceding siblings ...)
2023-10-01 10:27 ` [PATCH 4/7] mfd: tps6586x: " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 6/7] mfd: tps65912: " Mark Brown
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 6/7] mfd: tps65912: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
` (4 preceding siblings ...)
2023-10-01 10:27 ` [PATCH 5/7] mfd: tps65910: " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-01 10:27 ` [PATCH 7/7] mfd: twl: " Mark Brown
2023-10-05 11:37 ` [PATCH 0/7] mfd: ti: Convert to " Lee Jones
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
drivers/mfd/tps65912-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65912-core.c b/drivers/mfd/tps65912-core.c
index 7d994b8a5965..2305ea60367a 100644
--- a/drivers/mfd/tps65912-core.c
+++ b/drivers/mfd/tps65912-core.c
@@ -81,7 +81,7 @@ static const struct regmap_access_table tps65912_volatile_table = {
const struct regmap_config tps65912_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.volatile_table = &tps65912_volatile_table,
};
EXPORT_SYMBOL_GPL(tps65912_regmap_config);
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 7/7] mfd: twl: Convert to use maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
` (5 preceding siblings ...)
2023-10-01 10:27 ` [PATCH 6/7] mfd: tps65912: " Mark Brown
@ 2023-10-01 10:27 ` Mark Brown
2023-10-05 11:37 ` [PATCH 0/7] mfd: ti: Convert to " Lee Jones
7 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2023-10-01 10:27 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren; +Cc: linux-kernel, linux-omap, Mark Brown
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>
---
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/7] mfd: ti: Convert to maple tree register cache
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
` (6 preceding siblings ...)
2023-10-01 10:27 ` [PATCH 7/7] mfd: twl: " Mark Brown
@ 2023-10-05 11:37 ` Lee Jones
7 siblings, 0 replies; 9+ messages in thread
From: Lee Jones @ 2023-10-05 11:37 UTC (permalink / raw)
To: Lee Jones, Tony Lindgren, Mark Brown; +Cc: linux-kernel, linux-omap
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 [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-10-05 15:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to maple tree register cache Mark Brown
2023-10-01 10:27 ` [PATCH 1/7] mfd: tps65086: Convert to use " Mark Brown
2023-10-01 10:27 ` [PATCH 2/7] mfd: tps65090: " Mark Brown
2023-10-01 10:27 ` [PATCH 3/7] mfd: tps65128: " Mark Brown
2023-10-01 10:27 ` [PATCH 4/7] mfd: tps6586x: " Mark Brown
2023-10-01 10:27 ` [PATCH 5/7] mfd: tps65910: " Mark Brown
2023-10-01 10:27 ` [PATCH 6/7] mfd: tps65912: " Mark Brown
2023-10-01 10:27 ` [PATCH 7/7] mfd: twl: " Mark Brown
2023-10-05 11:37 ` [PATCH 0/7] mfd: ti: Convert to " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®