]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: Support for factory calibration through ALSA controls
authorMark Brown <broonie@kernel.org>
Thu, 26 Mar 2026 10:20:46 +0000 (10:20 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2026 10:20:46 +0000 (10:20 +0000)
commit7b907b55eb180f89b5ce9d66ed230892aef30e33
treea63808684c2e5656bdf6cffdb4fadc114a630e75
parent8a6391ec669366cbe7bde92b468c561e8b309fd6
parentee7d655dbaf5e57145c73fd3925b5f44f7a1a5cc
ASoC: cs35l56: Support for factory calibration through ALSA controls

Richard Fitzgerald <rf@opensource.cirrus.com> says:

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.

Patch #1 adds a new control definition macro to create a boolean control
         with specified access permissions. (new in V2)

Patch #2 is the implementation in the cs35l56 driver.
include/sound/cs35l56.h
include/sound/soc.h
sound/soc/codecs/Kconfig
sound/soc/codecs/cs35l56.c
sound/soc/codecs/cs35l56.h