aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/lpass-macro-common.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-03-13 08:54:39 +0100
committerMark Brown <broonie@kernel.org>2023-03-28 14:46:50 +0100
commit492fe974fed0754f7076580e069e1e182e7b3603 (patch)
tree5419a3fc162154a839bb8036e04ebcbf477f1295 /sound/soc/codecs/lpass-macro-common.h
parentASoC: dt-bindings: qcom,lpass-rx-macro: Add SM8550 RX macro (diff)
downloadwireguard-linux-492fe974fed0754f7076580e069e1e182e7b3603.tar.xz
wireguard-linux-492fe974fed0754f7076580e069e1e182e7b3603.zip
ASoC: codecs: lpass-rx-macro: add support for SM8550
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/20230313075445.17160-3-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/lpass-macro-common.h')
-rw-r--r--sound/soc/codecs/lpass-macro-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/lpass-macro-common.h b/sound/soc/codecs/lpass-macro-common.h
index f2cbf9fe2c6e..4eb886565ea3 100644
--- a/sound/soc/codecs/lpass-macro-common.h
+++ b/sound/soc/codecs/lpass-macro-common.h
@@ -6,6 +6,9 @@
#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;