2023-08-30 17:31:07 +02:00
|
|
|
/* 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__
|
|
|
|
|
2023-10-24 12:59:35 +02:00
|
|
|
/* NPL clock is expected */
|
|
|
|
#define LPASS_MACRO_FLAG_HAS_NPL_CLOCK BIT(0)
|
|
|
|
|
2023-08-30 17:31:07 +02:00
|
|
|
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__ */
|