ALSA: cs35l41: Add shared boost feature
authorLucas Tanure <lucas.tanure@collabora.com>
Thu, 23 Feb 2023 08:43:23 +0000 (08:43 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:36:43 +0000 (23:36 +0000)
commitf5030564938be112183ba3df0cdd6dea3f694c2e
treefb28143a527bfa85eebcf316fc1c7b85a8f93b96
parentbe9457f12e84437259707415364cc5fc96041ed6
ALSA: cs35l41: Add shared boost feature

Shared boost allows two amplifiers to share a single boost circuit by
communicating on the MDSYNC bus.
The passive amplifier does not control the boost and receives data from
the active amplifier.

Shared Boost is not supported in HDA Systems.
Based on David Rhodes shared boost patches.

Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com>
Reviewed-by: David Rhodes <david.rhodes@cirrus.com>
Link: https://lore.kernel.org/r/20230223084324.9076-4-lucas.tanure@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l41.h
sound/pci/hda/cs35l41_hda.c
sound/soc/codecs/cs35l41-lib.c
sound/soc/codecs/cs35l41.c
sound/soc/codecs/cs35l41.h