From: Mark Brown <broonie@kernel.org>
To: Lee Jones <lee@kernel.org>, Tony Lindgren <tony@atomide.com>
Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
Mark Brown <broonie@kernel.org>
Subject: [PATCH 6/7] mfd: tps65912: Convert to use maple tree register cache
Date: Sun, 01 Oct 2023 11:27:53 +0100 [thread overview]
Message-ID: <20231001-mfd-ti-maple-v1-6-0657862de3f6@kernel.org> (raw)
In-Reply-To: <20231001-mfd-ti-maple-v1-0-0657862de3f6@kernel.org>
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
next prev parent reply other threads:[~2023-10-01 10:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-01 10:27 [PATCH 0/7] mfd: ti: Convert to " 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 ` Mark Brown [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231001-mfd-ti-maple-v1-6-0657862de3f6@kernel.org \
--to=broonie@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®