public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] regmap: Add cache_default_is_zero flag for flat cache
@ 2026-01-06 14:08 Sheetal .
  2026-01-06 14:08 ` [RFC PATCH 1/2] " Sheetal .
  2026-01-06 14:08 ` [RFC PATCH 2/2] ASoC: tegra: Enable cache_default_is_zero for audio drivers Sheetal .
  0 siblings, 2 replies; 8+ messages in thread
From: Sheetal . @ 2026-01-06 14:08 UTC (permalink / raw)
  To: Mark Brown
  Cc: Sander Vanheule, Greg Kroah-Hartman, Rafael J . Wysocki,
	Danilo Krummrich, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
	Thierry Reding, Jonathan Hunter, linux-kernel, linux-sound,
	linux-tegra, Sheetal

From: Sheetal <sheetal@nvidia.com>

This patch series adds a cache_default_is_zero flag for REGCACHE_FLAT that
marks cache entries as valid on first read.

For hardware with zero power-on-reset registers, this avoids the need
to add all such registers to reg_defaults (maintenance burden, code
bloat, no functional benefit) just to set the validity bits.

Sheetal (2):
  regmap: Add cache_default_is_zero flag for flat cache
  ASoC: tegra: Enable cache_default_is_zero for audio drivers

 drivers/base/regmap/internal.h      |  2 ++
 drivers/base/regmap/regcache-flat.c | 11 +++++++----
 drivers/base/regmap/regcache.c      |  1 +
 include/linux/regmap.h              |  3 +++
 sound/soc/tegra/tegra186_asrc.c     |  1 +
 sound/soc/tegra/tegra186_dspk.c     |  1 +
 sound/soc/tegra/tegra210_admaif.c   |  3 +++
 sound/soc/tegra/tegra210_adx.c      |  2 ++
 sound/soc/tegra/tegra210_ahub.c     |  3 +++
 sound/soc/tegra/tegra210_amx.c      |  3 +++
 sound/soc/tegra/tegra210_dmic.c     |  1 +
 sound/soc/tegra/tegra210_i2s.c      |  2 ++
 sound/soc/tegra/tegra210_mbdrc.c    |  1 +
 sound/soc/tegra/tegra210_mixer.c    |  1 +
 sound/soc/tegra/tegra210_mvc.c      |  1 +
 sound/soc/tegra/tegra210_ope.c      |  1 +
 sound/soc/tegra/tegra210_peq.c      |  1 +
 sound/soc/tegra/tegra210_sfc.c      |  1 +
 18 files changed, 35 insertions(+), 4 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-01-07 11:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 14:08 [RFC PATCH 0/2] regmap: Add cache_default_is_zero flag for flat cache Sheetal .
2026-01-06 14:08 ` [RFC PATCH 1/2] " Sheetal .
2026-01-06 15:12   ` Mark Brown
2026-01-07  6:55     ` Sheetal .
2026-01-07 11:20       ` Mark Brown
2026-01-06 21:19   ` Sander Vanheule
2026-01-07  7:30     ` Sheetal .
2026-01-06 14:08 ` [RFC PATCH 2/2] ASoC: tegra: Enable cache_default_is_zero for audio drivers Sheetal .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox