ASoC: codecs: Add power domains support in digital macro codecs
authorSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Sat, 26 Feb 2022 18:09:18 +0000 (23:39 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 13:30:37 +0000 (13:30 +0000)
commit9e3d83c52844f955aa2975f78cee48bf9f72f5e1
treef63b833a6f6b608d9b27dcd0507473ae305179c1
parent0f907c3880f82cf9e8884c98aa70dd9e61221dfc
ASoC: codecs: Add power domains support in digital macro codecs

Add support for enabling required power domains in digital macro codecs.
macro and dcodec power domains are being requested as clocks by HLOS
in ADSP based architectures and ADSP internally handling as powerdomains.
In ADSP bypass case need to handle them as power domains explicitly.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/1645898959-11231-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/lpass-macro-common.c [new file with mode: 0644]
sound/soc/codecs/lpass-macro-common.h [new file with mode: 0644]
sound/soc/codecs/lpass-rx-macro.c
sound/soc/codecs/lpass-tx-macro.c
sound/soc/codecs/lpass-va-macro.c
sound/soc/qcom/Kconfig