mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 06:10:45 -04:00
ASoC: codecs: wcd934x: use wcd934x binding header
Replace AIF* enum with binding header include. This allow to get rid of mysterious indeces in dts. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Link: https://patch.msgid.link/20241209-starqltechn_integration_upstream-v8-2-ec604481d691@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
8478dadc81
commit
e27c125040
@@ -23,6 +23,8 @@
|
||||
#include "wcd-clsh-v2.h"
|
||||
#include "wcd-mbhc-v2.h"
|
||||
|
||||
#include <dt-bindings/sound/qcom,wcd934x.h>
|
||||
|
||||
#define WCD934X_RATES_MASK (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
|
||||
SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_48000 |\
|
||||
SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000)
|
||||
@@ -307,6 +309,7 @@
|
||||
{"SLIM TX" #id, NULL, "CDC_IF TX" #id " MUX"}
|
||||
|
||||
#define WCD934X_MAX_MICBIAS MIC_BIAS_4
|
||||
#define NUM_CODEC_DAIS 9
|
||||
|
||||
enum {
|
||||
SIDO_SOURCE_INTERNAL,
|
||||
@@ -434,19 +437,6 @@ enum {
|
||||
COMPANDER_MAX,
|
||||
};
|
||||
|
||||
enum {
|
||||
AIF1_PB = 0,
|
||||
AIF1_CAP,
|
||||
AIF2_PB,
|
||||
AIF2_CAP,
|
||||
AIF3_PB,
|
||||
AIF3_CAP,
|
||||
AIF4_PB,
|
||||
AIF4_VIFEED,
|
||||
AIF4_MAD_TX,
|
||||
NUM_CODEC_DAIS,
|
||||
};
|
||||
|
||||
enum {
|
||||
INTn_1_INP_SEL_ZERO = 0,
|
||||
INTn_1_INP_SEL_DEC0,
|
||||
|
||||
Reference in New Issue
Block a user