9e3d83c528
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>
18 lines
416 B
C
18 lines
416 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __LPASS_MACRO_COMMON_H__
|
|
#define __LPASS_MACRO_COMMON_H__
|
|
|
|
struct lpass_macro {
|
|
struct device *macro_pd;
|
|
struct device *dcodec_pd;
|
|
};
|
|
|
|
struct lpass_macro *lpass_macro_pds_init(struct device *dev);
|
|
void lpass_macro_pds_exit(struct lpass_macro *pds);
|
|
|
|
#endif /* __LPASS_MACRO_COMMON_H__ */
|