All of lore.kernel.org
 help / color / mirror / Atom feed
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 5/7] mfd: tps65910: Convert to use maple tree register cache
Date: Sun, 01 Oct 2023 11:27:52 +0100	[thread overview]
Message-ID: <20231001-mfd-ti-maple-v1-5-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/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


  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 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 ` Mark Brown [this message]
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

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-5-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.