]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: cs35l56: Allow factory calibration through ALSA controls
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 25 Mar 2026 17:08:41 +0000 (17:08 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2026 10:20:44 +0000 (10:20 +0000)
commitee7d655dbaf5e57145c73fd3925b5f44f7a1a5cc
tree3f3d6b13f3a02f087431128b23b98277bf57fb54
parent37c277f050e8d24cb3db6d090d4e9cdd263ba1a3
ASoC: cs35l56: Allow factory calibration through ALSA controls

Add support for using ALSA controls to trigger a factory calibration.
This is protected by a new Kconfig option so that it is only available
if explicitly enabled in the kernel. By default it is not enabled.

Factory calibration is normally done through debugfs files.
Google have requested that factory calibration can be performed by
repair shops. These repair shops only have access to the standard
"user" kernel, which does not include debugfs.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260325170841.1405368-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l56.h
sound/soc/codecs/Kconfig
sound/soc/codecs/cs35l56-shared.c
sound/soc/codecs/cs35l56.c
sound/soc/codecs/cs35l56.h