mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 20:34:05 +00:00
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 <[email protected]> Co-developed-by: Venkata Prasad Potturu <[email protected]> Signed-off-by: Venkata Prasad Potturu <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
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__ */
|