]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SDCA: Add regmap helpers for parsing for DisCo Constant values
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 17 Feb 2025 14:01:58 +0000 (14:01 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 27 Feb 2025 13:09:13 +0000 (13:09 +0000)
commit28c12866c22c2826ccbd8c82dc353f02ab2deea5
treebe1ca1ba039964137e82bc52eb4dc154bd9894dc
parente3f7caf74b795621252e3c25b4a9fb6888336ef1
ASoC: SDCA: Add regmap helpers for parsing for DisCo Constant values

Add helpers to parse the DisCo Constant values from ACPI and populate an
array of reg_defaults with these. This will allow drivers to access
these ACPI specified values through the same interface as other
registers that are physically present on the device, using the regmap
cache.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250217140159.2288784-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_regmap.h
sound/soc/sdca/sdca_regmap.c