mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
3e226b4db2
Add support for the RX macro codec on Qualcomm SM8550. SM8550 does not use NPL clock, thus add flags allowing to skip it. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230327132254.147975-4-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
21 lines
492 B
C
21 lines
492 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__
|
|
|
|
/* NPL clock is expected */
|
|
#define LPASS_MACRO_FLAG_HAS_NPL_CLOCK BIT(0)
|
|
|
|
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__ */
|