Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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)

+20 -13
+1
MAINTAINERS
··· 19149 19149 F: Documentation/devicetree/bindings/sound/qcom,* 19150 19150 F: drivers/soc/qcom/apr.c 19151 19151 F: include/dt-bindings/sound/qcom,wcd9335.h 19152 + F: include/dt-bindings/sound/qcom,wcd934x.h 19152 19153 F: sound/soc/codecs/lpass-rx-macro.* 19153 19154 F: sound/soc/codecs/lpass-tx-macro.* 19154 19155 F: sound/soc/codecs/lpass-va-macro.c
+16
include/dt-bindings/sound/qcom,wcd934x.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + 3 + #ifndef __DT_SOUND_QCOM_WCD934x_H 4 + #define __DT_SOUND_QCOM_WCD934x_H 5 + 6 + #define AIF1_PB 0 7 + #define AIF1_CAP 1 8 + #define AIF2_PB 2 9 + #define AIF2_CAP 3 10 + #define AIF3_PB 4 11 + #define AIF3_CAP 5 12 + #define AIF4_PB 6 13 + #define AIF4_VIFEED 7 14 + #define AIF4_MAD_TX 8 15 + 16 + #endif
+3 -13
sound/soc/codecs/wcd934x.c
··· 23 23 #include "wcd-clsh-v2.h" 24 24 #include "wcd-mbhc-v2.h" 25 25 26 + #include <dt-bindings/sound/qcom,wcd934x.h> 27 + 26 28 #define WCD934X_RATES_MASK (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 27 29 SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_48000 |\ 28 30 SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000) ··· 309 307 {"SLIM TX" #id, NULL, "CDC_IF TX" #id " MUX"} 310 308 311 309 #define WCD934X_MAX_MICBIAS MIC_BIAS_4 310 + #define NUM_CODEC_DAIS 9 312 311 313 312 enum { 314 313 SIDO_SOURCE_INTERNAL, ··· 435 432 COMPANDER_7, /* SWR SPK CH1 */ 436 433 COMPANDER_8, /* SWR SPK CH2 */ 437 434 COMPANDER_MAX, 438 - }; 439 - 440 - enum { 441 - AIF1_PB = 0, 442 - AIF1_CAP, 443 - AIF2_PB, 444 - AIF2_CAP, 445 - AIF3_PB, 446 - AIF3_CAP, 447 - AIF4_PB, 448 - AIF4_VIFEED, 449 - AIF4_MAD_TX, 450 - NUM_CODEC_DAIS, 451 435 }; 452 436 453 437 enum {