This is continued work on Samsung S9(SM-9600)
Merge series from Dzmitry Sankouski <dsankouski@gmail.com>: Contains starqltechn device tree changes. - sound (headphones and mics only)
This commit is contained in:
@@ -19149,6 +19149,7 @@ F: Documentation/devicetree/bindings/soc/qcom/qcom,apr*
|
||||
F: Documentation/devicetree/bindings/sound/qcom,*
|
||||
F: drivers/soc/qcom/apr.c
|
||||
F: include/dt-bindings/sound/qcom,wcd9335.h
|
||||
F: include/dt-bindings/sound/qcom,wcd934x.h
|
||||
F: sound/soc/codecs/lpass-rx-macro.*
|
||||
F: sound/soc/codecs/lpass-tx-macro.*
|
||||
F: sound/soc/codecs/lpass-va-macro.c
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef __DT_SOUND_QCOM_WCD934x_H
|
||||
#define __DT_SOUND_QCOM_WCD934x_H
|
||||
|
||||
#define AIF1_PB 0
|
||||
#define AIF1_CAP 1
|
||||
#define AIF2_PB 2
|
||||
#define AIF2_CAP 3
|
||||
#define AIF3_PB 4
|
||||
#define AIF3_CAP 5
|
||||
#define AIF4_PB 6
|
||||
#define AIF4_VIFEED 7
|
||||
#define AIF4_MAD_TX 8
|
||||
|
||||
#endif
|
||||
@@ -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