dt-bindings: Check in pineapple and sun dt files
Initial check in of pineapple and sun dt files on new branch. Signed-off-by: Eric Rosas <quic_erosas@quicinc.com> Change-Id: I8332884d94e2f2c52113f2630d66c79def470004
This commit is contained in:
31
Kbuild
Normal file
31
Kbuild
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
|
||||||
|
dtbo-y += pineapple-audio.dtbo \
|
||||||
|
pineapple-audio-cdp.dtbo \
|
||||||
|
pineapple-audio-wsa883x-cdp.dtbo \
|
||||||
|
pineapple-audio-cdp-nfc.dtbo \
|
||||||
|
pineapple-audio-mtp.dtbo \
|
||||||
|
pineapple-audio-mtp-nfc.dtbo \
|
||||||
|
pineapple-audio-qrd.dtbo \
|
||||||
|
pineapple-audio-atp.dtbo \
|
||||||
|
pineapple-audio-rumi.dtbo \
|
||||||
|
pineapple-audio-rcm.dtbo \
|
||||||
|
pineapple-audio-qrd-sku2.dtbo \
|
||||||
|
pineapplep-audio-hdk.dtbo
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_SUN), y)
|
||||||
|
dtbo-y += sun-audio.dtbo \
|
||||||
|
sun-audio-cdp.dtbo \
|
||||||
|
sun-audio-cdp-nfc.dtbo \
|
||||||
|
sun-audio-rumi.dtbo \
|
||||||
|
sun-audio-mtp.dtbo \
|
||||||
|
sun-audio-mtp-nfc.dtbo \
|
||||||
|
sun-audio-qrd.dtbo \
|
||||||
|
sun-audio-qrd-sku2.dtbo \
|
||||||
|
sun-audio-atp.dtbo \
|
||||||
|
sun-audio-rcm.dtbo
|
||||||
|
endif
|
||||||
|
|
||||||
|
always-y := $(dtb-y) $(dtbo-y)
|
||||||
|
subdir-y := $(dts-dirs)
|
||||||
|
clean-files := *.dtb *.dtbo
|
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
AUDIO_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
|
||||||
|
AUDIO_KERNEL_ROOT=$(AUDIO_DEVICETREE_ROOT)/../../opensource/audio-kernel/include
|
||||||
|
|
||||||
|
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(AUDIO_KERNEL_ROOT)
|
||||||
|
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
|
||||||
|
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
|
||||||
|
KBUILD_OPTIONS += MODNAME=audio-devicetree
|
||||||
|
|
||||||
|
|
||||||
|
all: dtbs
|
||||||
|
|
||||||
|
dtbs:
|
||||||
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) dtbs $(KBUILD_OPTIONS)
|
||||||
|
|
||||||
|
modules_install:
|
||||||
|
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
|
27
msm-audio-lpass.dtsi
Normal file
27
msm-audio-lpass.dtsi
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
stub_codec: qcom,msm-stub-codec {
|
||||||
|
compatible = "qcom,msm-stub-codec";
|
||||||
|
};
|
||||||
|
|
||||||
|
audio_pkt_core_platform: qcom,audio-pkt-core-platform {
|
||||||
|
compatible = "qcom,audio-pkt-core-platform";
|
||||||
|
};
|
||||||
|
|
||||||
|
adsp_loader: qcom,msm-adsp-loader {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,adsp-loader";
|
||||||
|
qcom,rproc-handle = <&adsp_pas>;
|
||||||
|
qcom,adsp-state = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
adsp_notify: qcom,msm-adsp-notify {
|
||||||
|
status = "ok";
|
||||||
|
compatible = "qcom,adsp-notify";
|
||||||
|
qcom,rproc-handle = <&adsp_pas>;
|
||||||
|
};
|
||||||
|
};
|
1004
msm-auto-audio-lpass.dtsi
Normal file
1004
msm-auto-audio-lpass.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
973
msm-auto-vm-audio-lpass.dtsi
Normal file
973
msm-auto-vm-audio-lpass.dtsi
Normal file
@@ -0,0 +1,973 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
pcm0: qcom,msm-pcm {
|
||||||
|
compatible = "qcom,msm-pcm-dsp";
|
||||||
|
qcom,msm-pcm-dsp-id = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
routing: qcom,msm-pcm-routing {
|
||||||
|
compatible = "qcom,msm-pcm-routing";
|
||||||
|
};
|
||||||
|
|
||||||
|
compr: qcom,msm-compr-dsp {
|
||||||
|
compatible = "qcom,msm-compr-dsp";
|
||||||
|
};
|
||||||
|
|
||||||
|
pcm1: qcom,msm-pcm-low-latency {
|
||||||
|
compatible = "qcom,msm-pcm-dsp";
|
||||||
|
qcom,msm-pcm-dsp-id = <1>;
|
||||||
|
qcom,msm-pcm-low-latency;
|
||||||
|
qcom,latency-level = "regular";
|
||||||
|
};
|
||||||
|
|
||||||
|
pcm2: qcom,msm-ultra-low-latency {
|
||||||
|
compatible = "qcom,msm-pcm-dsp";
|
||||||
|
qcom,msm-pcm-dsp-id = <2>;
|
||||||
|
qcom,msm-pcm-low-latency;
|
||||||
|
qcom,latency-level = "ultra";
|
||||||
|
};
|
||||||
|
|
||||||
|
pcm_noirq: qcom,msm-pcm-dsp-noirq {
|
||||||
|
compatible = "qcom,msm-pcm-dsp-noirq";
|
||||||
|
qcom,msm-pcm-low-latency;
|
||||||
|
qcom,latency-level = "ultra";
|
||||||
|
};
|
||||||
|
|
||||||
|
trans_loopback: qcom,msm-transcode-loopback {
|
||||||
|
compatible = "qcom,msm-transcode-loopback";
|
||||||
|
};
|
||||||
|
|
||||||
|
compress: qcom,msm-compress-dsp {
|
||||||
|
compatible = "qcom,msm-compress-dsp";
|
||||||
|
};
|
||||||
|
|
||||||
|
voip: qcom,msm-voip-dsp {
|
||||||
|
compatible = "qcom,msm-voip-dsp";
|
||||||
|
};
|
||||||
|
|
||||||
|
voice: qcom,msm-pcm-voice {
|
||||||
|
compatible = "qcom,msm-pcm-voice";
|
||||||
|
qcom,destroy-cvd;
|
||||||
|
};
|
||||||
|
|
||||||
|
stub_codec: qcom,msm-stub-codec {
|
||||||
|
compatible = "qcom,msm-stub-codec";
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-fe {
|
||||||
|
compatible = "qcom,msm-dai-fe";
|
||||||
|
};
|
||||||
|
|
||||||
|
afe: qcom,msm-pcm-afe {
|
||||||
|
compatible = "qcom,msm-pcm-afe";
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_hdmi: qcom,msm-dai-q6-hdmi {
|
||||||
|
compatible = "qcom,msm-dai-q6-hdmi";
|
||||||
|
qcom,msm-dai-q6-dev-id = <8>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_dp: qcom,msm-dai-q6-dp {
|
||||||
|
compatible = "qcom,msm-dai-q6-hdmi";
|
||||||
|
qcom,msm-dai-q6-dev-id = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_dp1: qcom,msm-dai-q6-dp1 {
|
||||||
|
compatible = "qcom,msm-dai-q6-hdmi";
|
||||||
|
qcom,msm-dai-q6-dev-id = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
loopback: qcom,msm-pcm-loopback {
|
||||||
|
compatible = "qcom,msm-pcm-loopback";
|
||||||
|
};
|
||||||
|
|
||||||
|
loopback1: qcom,msm-pcm-loopback-low-latency {
|
||||||
|
compatible = "qcom,msm-pcm-loopback";
|
||||||
|
qcom,msm-pcm-loopback-low-latency;
|
||||||
|
};
|
||||||
|
|
||||||
|
pcm_dtmf: qcom,msm-pcm-dtmf {
|
||||||
|
compatible = "qcom,msm-pcm-dtmf";
|
||||||
|
};
|
||||||
|
|
||||||
|
msm_dai_mi2s: qcom,msm-dai-mi2s {
|
||||||
|
compatible = "qcom,msm-dai-mi2s";
|
||||||
|
dai_mi2s0_rx: qcom,msm-dai-q6-mi2s-prim-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <0>;
|
||||||
|
qcom,msm-mi2s-lines = <3>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s0_tx: qcom,msm-dai-q6-mi2s-prim-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <1>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s1_rx: qcom,msm-dai-q6-mi2s-sec-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <2>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s1_tx: qcom,msm-dai-q6-mi2s-sec-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <3>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s2_rx: qcom,msm-dai-q6-mi2s-tert-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <4>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s2_tx: qcom,msm-dai-q6-mi2s-tert-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <5>;
|
||||||
|
qcom,msm-mi2s-lines = <3>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s3_rx: qcom,msm-dai-q6-mi2s-quat-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <6>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s3_tx: qcom,msm-dai-q6-mi2s-quat-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <7>;
|
||||||
|
qcom,msm-mi2s-lines = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s4_rx: qcom,msm-dai-q6-mi2s-quin-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <8>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s4_tx: qcom,msm-dai-q6-mi2s-quin-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <9>;
|
||||||
|
qcom,msm-mi2s-lines = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s5_rx: qcom,msm-dai-q6-mi2s-senary-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <10>;
|
||||||
|
qcom,msm-mi2s-lines = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_mi2s5_tx: qcom,msm-dai-q6-mi2s-senary-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-mi2s";
|
||||||
|
qcom,msm-dai-q6-mi2s-dev-id = <11>;
|
||||||
|
qcom,msm-mi2s-lines = <3>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
msm_dai_cdc_dma: qcom,msm-dai-cdc-dma {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma";
|
||||||
|
wsa_cdc_dma_0_rx: qcom,msm-dai-wsa-cdc-dma-0-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45056>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_cdc_dma_0_tx: qcom,msm-dai-wsa-cdc-dma-0-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45057>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_cdc_dma_1_rx: qcom,msm-dai-wsa-cdc-dma-1-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45058>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_cdc_dma_1_tx: qcom,msm-dai-wsa-cdc-dma-1-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45059>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_cdc_dma_2_tx: qcom,msm-dai-wsa-cdc-dma-2-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45061>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_cdc_dma_0_tx: qcom,msm-dai-va-cdc-dma-0-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45089>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_cdc_dma_1_tx: qcom,msm-dai-va-cdc-dma-1-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45091>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_cdc_dma_2_tx: qcom,msm-dai-va-cdc-dma-2-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45093>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_0_rx: qcom,msm-dai-rx-cdc-dma-0-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45104>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_1_rx: qcom,msm-dai-rx-cdc-dma-1-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45106>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_2_rx: qcom,msm-dai-rx-cdc-dma-2-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45108>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_3_rx: qcom,msm-dai-rx-cdc-dma-3-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45110>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_4_rx: qcom,msm-dai-rx-cdc-dma-4-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45112>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_5_rx: qcom,msm-dai-rx-cdc-dma-5-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45114>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_6_rx: qcom,msm-dai-rx-cdc-dma-6-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45116>;
|
||||||
|
qcom,msm-cdc-dma-data-align = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_cdc_dma_7_rx: qcom,msm-dai-rx-cdc-dma-7-rx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45118>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_0_tx: qcom,msm-dai-tx-cdc-dma-0-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45105>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_1_tx: qcom,msm-dai-tx-cdc-dma-1-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45107>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_2_tx: qcom,msm-dai-tx-cdc-dma-2-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45109>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_3_tx: qcom,msm-dai-tx-cdc-dma-3-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45111>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_4_tx: qcom,msm-dai-tx-cdc-dma-4-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45113>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_cdc_dma_5_tx: qcom,msm-dai-tx-cdc-dma-5-tx {
|
||||||
|
compatible = "qcom,msm-dai-cdc-dma-dev";
|
||||||
|
qcom,msm-dai-cdc-dma-dev-id = <45115>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
lsm: qcom,msm-lsm-client {
|
||||||
|
compatible = "qcom,msm-lsm-client";
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_msm_q6:qcom,msm-dai-q6 {
|
||||||
|
compatible = "qcom,msm-dai-q6";
|
||||||
|
sb_7_rx: qcom,msm-dai-q6-sb-7-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <16398>;
|
||||||
|
qcom,msm-dai-q6-slim-dev-id = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sb_7_tx: qcom,msm-dai-q6-sb-7-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <16399>;
|
||||||
|
qcom,msm-dai-q6-slim-dev-id = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sb_8_tx: qcom,msm-dai-q6-sb-8-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <16401>;
|
||||||
|
qcom,msm-dai-q6-slim-dev-id = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
bt_sco_rx: qcom,msm-dai-q6-bt-sco-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <12288>;
|
||||||
|
};
|
||||||
|
|
||||||
|
bt_sco_tx: qcom,msm-dai-q6-bt-sco-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <12289>;
|
||||||
|
};
|
||||||
|
|
||||||
|
int_fm_rx: qcom,msm-dai-q6-int-fm-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <12292>;
|
||||||
|
};
|
||||||
|
|
||||||
|
int_fm_tx: qcom,msm-dai-q6-int-fm-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <12293>;
|
||||||
|
};
|
||||||
|
|
||||||
|
afe_pcm_rx: qcom,msm-dai-q6-be-afe-pcm-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <224>;
|
||||||
|
};
|
||||||
|
|
||||||
|
afe_pcm_tx: qcom,msm-dai-q6-be-afe-pcm-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <225>;
|
||||||
|
};
|
||||||
|
|
||||||
|
afe_proxy_rx: qcom,msm-dai-q6-afe-proxy-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <241>;
|
||||||
|
};
|
||||||
|
|
||||||
|
afe_proxy_tx: qcom,msm-dai-q6-afe-proxy-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <240>;
|
||||||
|
};
|
||||||
|
|
||||||
|
incall_record_rx: qcom,msm-dai-q6-incall-record-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <32771>;
|
||||||
|
};
|
||||||
|
|
||||||
|
incall_record_tx: qcom,msm-dai-q6-incall-record-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <32772>;
|
||||||
|
};
|
||||||
|
|
||||||
|
incall_music_rx: qcom,msm-dai-q6-incall-music-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <32773>;
|
||||||
|
};
|
||||||
|
|
||||||
|
incall_music_2_rx: qcom,msm-dai-q6-incall-music-2-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <32770>;
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-q6-afe-proxy-tx-1 {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <242>;
|
||||||
|
};
|
||||||
|
|
||||||
|
proxy_rx: qcom,msm-dai-q6-proxy-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <8194>;
|
||||||
|
};
|
||||||
|
|
||||||
|
proxy_tx: qcom,msm-dai-q6-proxy-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <8195>;
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_audio_rx: qcom,msm-dai-q6-usb-audio-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <28672>;
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_audio_tx: qcom,msm-dai-q6-usb-audio-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <28673>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
hostless: qcom,msm-pcm-hostless {
|
||||||
|
compatible = "qcom,msm-pcm-hostless";
|
||||||
|
};
|
||||||
|
|
||||||
|
audio_apr: qcom,msm-audio-apr {
|
||||||
|
compatible = "qcom,msm-audio-apr";
|
||||||
|
qcom,subsys-name = "apr_adsp";
|
||||||
|
|
||||||
|
msm_audio_ion: qcom,msm-audio-ion {
|
||||||
|
compatible = "qcom,msm-audio-ion";
|
||||||
|
qcom,smmu-version = <2>;
|
||||||
|
qcom,smmu-enabled;
|
||||||
|
qcom,iommu-dma-addr-pool = <0x10000000 0x10000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_pri_auxpcm_rx: qcom,msm-pri-auxpcm_rx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "primaryRx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_pri_auxpcm_tx: qcom,msm-pri-auxpcm_tx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "primaryTx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_sec_auxpcm_rx: qcom,msm-sec-auxpcm_rx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "secondaryRx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_sec_auxpcm_tx: qcom,msm-sec-auxpcm_tx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "secondaryTx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_tert_auxpcm_rx: qcom,msm-tert-auxpcm_rx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "tertiaryRx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_tert_auxpcm_tx: qcom,msm-tert-auxpcm_tx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "tertiaryTx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_quat_auxpcm_rx: qcom,msm-quat-auxpcm_rx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "quaternaryRx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_quat_auxpcm_tx: qcom,msm-quat-auxpcm_tx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "quaternaryTx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_quin_auxpcm_rx: qcom,msm-quin-auxpcm_rx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "quinaryRx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_quin_auxpcm_tx: qcom,msm-quin-auxpcm_tx {
|
||||||
|
compatible = "qcom,msm-auxpcm-dev";
|
||||||
|
qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
|
||||||
|
qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
|
||||||
|
qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
|
||||||
|
qcom,msm-cpudai-auxpcm-data = <0>, <0>;
|
||||||
|
qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
|
||||||
|
qcom,msm-auxpcm-interface = "quinaryTx";
|
||||||
|
qcom,msm-cpudai-afe-clk-ver = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
hdmi_dba: qcom,msm-hdmi-dba-codec-rx {
|
||||||
|
compatible = "qcom,msm-hdmi-dba-codec-rx";
|
||||||
|
qcom,dba-bridge-chip = "adv7533";
|
||||||
|
};
|
||||||
|
|
||||||
|
adsp_loader: qcom,msm-adsp-loader {
|
||||||
|
status = "ok";
|
||||||
|
compatible = "qcom,adsp-loader";
|
||||||
|
qcom,adsp-state = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
adsp_notify: qcom,msm-adsp-notify {
|
||||||
|
status = "ok";
|
||||||
|
compatible = "qcom,adsp-notify";
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-pri-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37120>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36864>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-pri-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36864>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-pri-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37121>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36865>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-pri-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36865>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-sec-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37136>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36880>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-sec-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36880>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-sec-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37137>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36881>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-sec-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36881>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-tert-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37152>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36896>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-tert-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36896>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-tert-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37153>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36897 >;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-tert-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36897 >;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-quat-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37168>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36912>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-quat-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36912>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-quat-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37169>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36913 >;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-quat-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36913 >;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-quin-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37184>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36928>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-quin-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36928>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,msm-dai-tdm-quin-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37185>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36929>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
qcom,msm-dai-q6-tdm-quin-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36929>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_sen_rx: qcom,msm-dai-tdm-sen-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37200>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36944>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_sen_tdm_rx_0: qcom,msm-dai-q6-tdm-sen-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36944>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_sen_tx: qcom,msm-dai-tdm-sen-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37201>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36945>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_sen_tdm_tx_0: qcom,msm-dai-q6-tdm-sen-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36945>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_sep_rx: qcom,msm-dai-tdm-sep-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37216>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36960>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_sep_tdm_rx_0: qcom,msm-dai-q6-tdm-sep-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36960>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_sep_tx: qcom,msm-dai-tdm-sep-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37217>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36961>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_sep_tdm_tx_0: qcom,msm-dai-q6-tdm-sep-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36961>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif0_rx: qcom,msm-dai-tdm-hsif0-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37232>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36976>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif0_tdm_rx_0: qcom,msm-dai-q6-tdm-hsif0-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36976>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif0_tx: qcom,msm-dai-tdm-hsif0-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37231>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36977>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif0_tdm_tx_0: qcom,msm-dai-q6-tdm-hsif0-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36977>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif1_rx: qcom,msm-dai-tdm-hsif1-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37248>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36992>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif1_tdm_rx_0: qcom,msm-dai-q6-tdm-hsif1-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36992>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif1_tx: qcom,msm-dai-tdm-hsif1-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37249>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <36993>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif1_tdm_tx_0: qcom,msm-dai-q6-tdm-hsif1-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <36993>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif2_rx: qcom,msm-dai-tdm-hsif2-rx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37264>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <37008>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif2_tdm_rx_0: qcom,msm-dai-q6-tdm-hsif2-rx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <37008>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdm_hsif2_tx: qcom,msm-dai-tdm-hsif2-tx {
|
||||||
|
compatible = "qcom,msm-dai-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-group-id = <37265>;
|
||||||
|
qcom,msm-cpudai-tdm-group-num-ports = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-group-port-id = <37009>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-rate = <1536000>;
|
||||||
|
qcom,msm-cpudai-tdm-clk-internal = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-mode = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-sync-src = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-out = <0>;
|
||||||
|
qcom,msm-cpudai-tdm-invert-sync = <1>;
|
||||||
|
qcom,msm-cpudai-tdm-data-delay = <1>;
|
||||||
|
dai_hsif2_tdm_tx_0: qcom,msm-dai-q6-tdm-hsif2-tx-0 {
|
||||||
|
compatible = "qcom,msm-dai-q6-tdm";
|
||||||
|
qcom,msm-cpudai-tdm-dev-id = <37009>;
|
||||||
|
qcom,msm-cpudai-tdm-data-align = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_pri_spdif_rx: qcom,msm-dai-q6-spdif-pri-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-spdif";
|
||||||
|
qcom,msm-dai-q6-dev-id = <20480>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_pri_spdif_tx: qcom,msm-dai-q6-spdif-pri-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-spdif";
|
||||||
|
qcom,msm-dai-q6-dev-id = <20481>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_sec_spdif_rx: qcom,msm-dai-q6-spdif-sec-rx {
|
||||||
|
compatible = "qcom,msm-dai-q6-spdif";
|
||||||
|
qcom,msm-dai-q6-dev-id = <20482>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dai_sec_spdif_tx: qcom,msm-dai-q6-spdif-sec-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-spdif";
|
||||||
|
qcom,msm-dai-q6-dev-id = <20483>;
|
||||||
|
};
|
||||||
|
|
||||||
|
afe_loopback_tx: qcom,msm-dai-q6-afe-loopback-tx {
|
||||||
|
compatible = "qcom,msm-dai-q6-dev";
|
||||||
|
qcom,msm-dai-q6-dev-id = <24577>;
|
||||||
|
};
|
||||||
|
};
|
15
pineapple-audio-atp.dts
Normal file
15
pineapple-audio-atp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-atp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple ATP";
|
||||||
|
compatible = "qcom,pineapple-atp", "qcom,pineapple", "qcom,atp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x10021 0>;
|
||||||
|
};
|
82
pineapple-audio-atp.dtsi
Normal file
82
pineapple-audio-atp.dtsi
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-mtp.dtsi"
|
||||||
|
|
||||||
|
&swr_haptics {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&wsa884x_0220>,
|
||||||
|
<&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "wsa-codec1", "wsa-codec2";
|
||||||
|
swr-haptics-unsupported;
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS3",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS3",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC0", "VA MIC BIAS3",
|
||||||
|
"VA DMIC1", "VA MIC BIAS3",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <4>, <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <4>, <4>;
|
||||||
|
};
|
16
pineapple-audio-cdp-nfc.dts
Normal file
16
pineapple-audio-cdp-nfc.dts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-cdp-nfc.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple CDP ST54L NFC";
|
||||||
|
compatible = "qcom,pineapple-cdp", "qcom,pineapple", "qcom,pineapplep-cdp", "qcom,pineapplep", "qcom,cdp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x50001 0>;
|
||||||
|
};
|
6
pineapple-audio-cdp-nfc.dtsi
Normal file
6
pineapple-audio-cdp-nfc.dtsi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-cdp.dtsi"
|
15
pineapple-audio-cdp.dts
Normal file
15
pineapple-audio-cdp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-cdp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple CDP";
|
||||||
|
compatible = "qcom,pineapple-cdp", "qcom,pineapple", "qcom,cdp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <1 0>;
|
||||||
|
};
|
150
pineapple-audio-cdp.dtsi
Normal file
150
pineapple-audio-cdp.dtsi
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&lpass_cdc {
|
||||||
|
qcom,num-macros = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr_dmic_01 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr_dmic_02 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr_dmic_03 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr_dmic_04 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_pri_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&fm_i2s1_gpios {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_tert_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_quat_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_quin_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_sen_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_sep_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,model = "pineapple-cdp-snd-card";
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS1",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS1",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS1",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS1",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"TX DMIC4", "Digital Mic4",
|
||||||
|
"TX DMIC4", "MIC BIAS3",
|
||||||
|
"TX DMIC5", "Digital Mic5",
|
||||||
|
"TX DMIC5", "MIC BIAS3",
|
||||||
|
"TX DMIC6", "Digital Mic6",
|
||||||
|
"TX DMIC6", "MIC BIAS4",
|
||||||
|
"TX DMIC7", "Digital Mic7",
|
||||||
|
"TX DMIC7", "MIC BIAS4",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC4", "Digital Mic4",
|
||||||
|
"VA DMIC5", "Digital Mic5",
|
||||||
|
"VA DMIC6", "Digital Mic6",
|
||||||
|
"VA DMIC7", "Digital Mic7",
|
||||||
|
"VA DMIC0", "VA MIC BIAS1",
|
||||||
|
"VA DMIC1", "VA MIC BIAS1",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1",
|
||||||
|
"VA DMIC4", "VA MIC BIAS3",
|
||||||
|
"VA DMIC5", "VA MIC BIAS3",
|
||||||
|
"VA DMIC6", "VA MIC BIAS4",
|
||||||
|
"VA DMIC7", "VA MIC BIAS4";
|
||||||
|
qcom,cdc-dmic67-gpios = <&cdc_dmic67_gpios>;
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa884x_0220>, <&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "swr-haptics",
|
||||||
|
"wsa-codec1", "wsa-codec2";
|
||||||
|
qcom,wsa-max-devs = <2>;
|
||||||
|
qcom,pri-mi2s-gpios = <&cdc_pri_mi2s_gpios>;
|
||||||
|
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
||||||
|
qcom,tert-mi2s-gpios = <&cdc_tert_mi2s_gpios>;
|
||||||
|
qcom,quat-mi2s-gpios = <&cdc_quat_mi2s_gpios>;
|
||||||
|
qcom,quin-mi2s-gpios = <&cdc_quin_mi2s_gpios>;
|
||||||
|
qcom,sen-mi2s-gpios = <&cdc_sen_mi2s_gpios>;
|
||||||
|
qcom,sep-mi2s-gpios = <&cdc_sep_mi2s_gpios>;
|
||||||
|
qcom,usbss-hsj-connect-enabled;
|
||||||
|
};
|
16
pineapple-audio-mtp-nfc.dts
Normal file
16
pineapple-audio-mtp-nfc.dts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-mtp-nfc.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple MTP ST54L NFC";
|
||||||
|
compatible = "qcom,pineapple-mtp", "qcom,pineapple", "qcom,pineapplep-mtp", "qcom,pineapplep", "qcom,mtp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x50008 0>;
|
||||||
|
};
|
6
pineapple-audio-mtp-nfc.dtsi
Normal file
6
pineapple-audio-mtp-nfc.dtsi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-overlay.dtsi"
|
15
pineapple-audio-mtp.dts
Normal file
15
pineapple-audio-mtp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-mtp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple MTP";
|
||||||
|
compatible = "qcom,pineapple-mtp", "qcom,pineapple", "qcom,mtp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <8 0>;
|
||||||
|
};
|
14
pineapple-audio-mtp.dtsi
Normal file
14
pineapple-audio-mtp.dtsi
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&fm_i2s1_gpios {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
||||||
|
};
|
812
pineapple-audio-overlay.dtsi
Normal file
812
pineapple-audio-overlay.dtsi
Normal file
@@ -0,0 +1,812 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bindings/qcom,audio-ext-clk.h>
|
||||||
|
#include <bindings/qcom,lpass-cdc-clk-rsc.h>
|
||||||
|
#include <bindings/audio-codec-port-types.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include "pineapple-lpi.dtsi"
|
||||||
|
|
||||||
|
&lpass_cdc {
|
||||||
|
qcom,num-macros = <4>;
|
||||||
|
qcom,lpass-cdc-version = <7>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
lpass-cdc-clk-rsc-mngr {
|
||||||
|
compatible = "qcom,lpass-cdc-clk-rsc-mngr";
|
||||||
|
qcom,fs-gen-sequence = <0x3000 0x1 0x1>, <0x3004 0x3 0x3>,
|
||||||
|
<0x3004 0x3 0x1>, <0x3080 0x2 0x2>;
|
||||||
|
qcom,rx_mclk_mode_muxsel = <0x06BEC0D8>;
|
||||||
|
qcom,wsa_mclk_mode_muxsel = <0x06BEA100>;
|
||||||
|
qcom,va_mclk_mode_muxsel = <0x06E28000>;
|
||||||
|
clock-names = "tx_core_clk", "rx_core_clk", "wsa_core_clk",
|
||||||
|
"wsa2_core_clk", "rx_tx_core_clk",
|
||||||
|
"wsa_tx_core_clk", "wsa2_tx_core_clk", "va_core_clk";
|
||||||
|
clocks = <&clock_audio_tx_1 0>, <&clock_audio_rx_1 0>,
|
||||||
|
<&clock_audio_wsa_1 0>,
|
||||||
|
<&clock_audio_wsa_2 0>, <&clock_audio_rx_tx 0>,
|
||||||
|
<&clock_audio_wsa_tx 0>, <&clock_audio_wsa2_tx 0>,
|
||||||
|
<&clock_audio_va_1 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_macro: va-macro@6D44000 {
|
||||||
|
compatible = "qcom,lpass-cdc-va-macro";
|
||||||
|
reg = <0x6D44000 0x0>;
|
||||||
|
clock-names = "lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,va-dmic-sample-rate = <600000>;
|
||||||
|
qcom,va-clk-mux-select = <1>;
|
||||||
|
qcom,va-island-mode-muxsel = <0x06E28000>;
|
||||||
|
qcom,default-clk-id = <TX_CORE_CLK>;
|
||||||
|
qcom,use-clk-id = <VA_CORE_CLK>;
|
||||||
|
qcom,is-used-swr-gpio = <1>;
|
||||||
|
qcom,va-swr-gpios = <&va_swr_gpios>;
|
||||||
|
swr2: va_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <3>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <1>;
|
||||||
|
swrm-io-base = <0x6d30000 0x0>;
|
||||||
|
interrupts =
|
||||||
|
<GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq", "swr_wake_irq";
|
||||||
|
qcom,swr-wakeup-required = <1>;
|
||||||
|
qcom,swr-num-ports = <5>;
|
||||||
|
qcom,swr-port-mapping = <1 SWRM_TX_PCM_OUT 0x3>,
|
||||||
|
<2 SWRM_TX1_CH1 0x1>, <2 SWRM_TX1_CH2 0x2>,
|
||||||
|
<2 SWRM_TX1_CH3 0x4>, <2 SWRM_TX1_CH4 0x8>,
|
||||||
|
<3 SWRM_TX2_CH1 0x1>, <3 SWRM_TX2_CH2 0x2>,
|
||||||
|
<3 SWRM_TX2_CH3 0x4>, <3 SWRM_TX2_CH4 0x8>,
|
||||||
|
<4 SWRM_TX3_CH1 0x1>, <4 SWRM_TX3_CH2 0x2>,
|
||||||
|
<4 SWRM_TX3_CH3 0x4>, <4 SWRM_TX3_CH4 0x8>,
|
||||||
|
<5 SWRM_TX_PCM_IN 0x3>;
|
||||||
|
qcom,swr-num-dev = <5>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-mstr-irq-wakeup-capable = <1>;
|
||||||
|
qcom,is-always-on = <1>;
|
||||||
|
wcd939x_tx_slave: wcd939x-tx-slave {
|
||||||
|
compatible = "qcom,wcd939x-slave";
|
||||||
|
reg = <0x0E 0x01170223>;
|
||||||
|
};
|
||||||
|
|
||||||
|
swr_dmic_04: dmic_swr@58350223 {
|
||||||
|
compatible = "qcom,swr-dmic";
|
||||||
|
reg = <0x08 0x58350223>;
|
||||||
|
sound-name-prefix = "SWR_MIC3";
|
||||||
|
qcom,codec-name = "swr-dmic.04";
|
||||||
|
qcom,swr-dmic-supply = <3>;
|
||||||
|
qcom,wcd-handle = <&wcd939x_codec>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
swr_dmic_03: dmic_swr@58350222 {
|
||||||
|
compatible = "qcom,swr-dmic";
|
||||||
|
reg = <0x08 0x58350222>;
|
||||||
|
sound-name-prefix = "SWR_MIC2";
|
||||||
|
qcom,codec-name = "swr-dmic.03";
|
||||||
|
qcom,swr-dmic-supply = <1>;
|
||||||
|
qcom,wcd-handle = <&wcd939x_codec>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
swr_dmic_02: dmic_swr@58350221 {
|
||||||
|
compatible = "qcom,swr-dmic";
|
||||||
|
reg = <0x08 0x58350221>;
|
||||||
|
sound-name-prefix = "SWR_MIC1";
|
||||||
|
qcom,codec-name = "swr-dmic.02";
|
||||||
|
qcom,swr-dmic-supply = <1>;
|
||||||
|
qcom,wcd-handle = <&wcd939x_codec>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
swr_dmic_01: dmic_swr@58350220 {
|
||||||
|
compatible = "qcom,swr-dmic";
|
||||||
|
reg = <0x08 0x58350220>;
|
||||||
|
sound-name-prefix = "SWR_MIC0";
|
||||||
|
qcom,codec-name = "swr-dmic.01";
|
||||||
|
qcom,swr-dmic-supply = <3>;
|
||||||
|
qcom,wcd-handle = <&wcd939x_codec>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_macro: tx-macro@6AE0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-tx-macro";
|
||||||
|
reg = <0x6AE0000 0x0>;
|
||||||
|
qcom,default-clk-id = <TX_CORE_CLK>;
|
||||||
|
qcom,tx-dmic-sample-rate = <2400000>;
|
||||||
|
qcom,is-used-swr-gpio = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_macro: rx-macro@6AC0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-rx-macro";
|
||||||
|
reg = <0x6AC0000 0x0>;
|
||||||
|
qcom,rx-swr-gpios = <&rx_swr_gpios>;
|
||||||
|
qcom,rx_mclk_mode_muxsel = <0x06BEC0D8>;
|
||||||
|
qcom,rx-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <RX_TX_CORE_CLK>;
|
||||||
|
clock-names = "rx_mclk2_2x_clk";
|
||||||
|
clocks = <&clock_audio_rx_mclk2_2x_clk 0>;
|
||||||
|
swr1: rx_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <2>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <1>;
|
||||||
|
swrm-io-base = <0x6ad0000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <12>;
|
||||||
|
qcom,swr-port-mapping = <1 HPH_L 0x1>,
|
||||||
|
<1 HPH_R 0x2>, <2 CLSH 0x3>,
|
||||||
|
<3 COMP_L 0x1>, <3 COMP_R 0x2>,
|
||||||
|
<4 LO 0x1>, <5 DSD_L 0x1>,
|
||||||
|
<5 DSD_R 0x2>, <6 PCM_OUT1 0x01>,
|
||||||
|
<7 GPPO 0x03>, <8 HAPT 0x03>,
|
||||||
|
<9 HIFI_PCM_L 0x01>, <9 HIFI_PCM_R 0x2>,
|
||||||
|
<10 HPTH 0x03>, <11 CMPT 0x03>, <12 IPCM 0x03>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
swr_haptics: swr_haptics@f0170220 {
|
||||||
|
compatible = "qcom,pm8550b-swr-haptics";
|
||||||
|
reg = <0x02 0xf0170220>;
|
||||||
|
swr-slave-supply = <&hap_swr_slave_reg>;
|
||||||
|
qcom,rx_swr_ch_map = <0 0x01 0x01 0 PCM_OUT1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_rx_slave: wcd939x-rx-slave {
|
||||||
|
compatible = "qcom,wcd939x-slave";
|
||||||
|
reg = <0x0E 0x01170224>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_macro: wsa-macro@6B00000 {
|
||||||
|
compatible = "qcom,lpass-cdc-wsa-macro";
|
||||||
|
reg = <0x6B00000 0x0>;
|
||||||
|
wsa_data_fs_ctl_reg = <0x6B6F000>;
|
||||||
|
qcom,wsa-swr-gpios = <&wsa_swr_gpios>;
|
||||||
|
qcom,wsa-bat-cfgs= <1>, <1>;
|
||||||
|
qcom,wsa-rloads= <2>, <2>;
|
||||||
|
qcom,wsa-system-gains= <0 9>, <0 9>;
|
||||||
|
qcom,wsa-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <WSA_TX_CORE_CLK>;
|
||||||
|
qcom,thermal-max-state = <11>;
|
||||||
|
qcom,noise-gate-mode = <2>;
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
swr0: wsa_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <1>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <0>;
|
||||||
|
swrm-io-base = <0x6b10000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <13>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-port-mapping = <1 SPKR_L 0x1>,
|
||||||
|
<2 SPKR_L_COMP 0xF>, <3 SPKR_L_BOOST 0x3>,
|
||||||
|
<4 SPKR_R 0x1>, <5 SPKR_R_COMP 0xF>,
|
||||||
|
<6 SPKR_R_BOOST 0x3>, <7 PBR 0x3>,
|
||||||
|
<8 SPKR_HAPT 0x3>, <9 OCPM 0x3>,
|
||||||
|
<10 SPKR_L_VI 0x3>, <11 SPKR_R_VI 0x3>,
|
||||||
|
<12 SPKR_IPCM 0x3>, <13 CPS 0x3>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,dynamic-port-map-supported = <0>;
|
||||||
|
wsa884x_0220: wsa884x@02170220 {
|
||||||
|
compatible = "qcom,wsa884x";
|
||||||
|
reg = <0x4 0x2170220>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrLeft";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa884x_0221: wsa884x@02170221 {
|
||||||
|
compatible = "qcom,wsa884x";
|
||||||
|
reg = <0x4 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrRight";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_macro: wsa2-macro@6AA0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-wsa2-macro";
|
||||||
|
reg = <0x6AA0000 0x0>;
|
||||||
|
wsa_data_fs_ctl_reg = <0x6B6F000>;
|
||||||
|
qcom,wsa2-swr-gpios = <&wsa2_swr_gpios>;
|
||||||
|
qcom,wsa-bat-cfgs= <1>, <1>;
|
||||||
|
qcom,wsa-rloads= <2>, <2>;
|
||||||
|
qcom,wsa-system-gains= <0 9>, <0 9>;
|
||||||
|
qcom,wsa2-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <WSA2_TX_CORE_CLK>;
|
||||||
|
qcom,thermal-max-state = <11>;
|
||||||
|
qcom,noise-gate-mode = <2>;
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
swr3: wsa2_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <4>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <0>;
|
||||||
|
swrm-io-base = <0x6ab0000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <13>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-port-mapping = <1 SPKR_L 0x1>,
|
||||||
|
<2 SPKR_L_COMP 0xF>, <3 SPKR_L_BOOST 0x3>,
|
||||||
|
<4 SPKR_R 0x1>, <5 SPKR_R_COMP 0xF>,
|
||||||
|
<6 SPKR_R_BOOST 0x3>, <7 PBR 0x3>,
|
||||||
|
<8 SPKR_HAPT 0x3>, <9 OCPM 0x3>,
|
||||||
|
<10 SPKR_L_VI 0x3>, <11 SPKR_R_VI 0x3>,
|
||||||
|
<12 SPKR_IPCM 0x3>, <13 CPS 0x3>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,dynamic-port-map-supported = <0>;
|
||||||
|
wsa884x_2_0220: wsa884x@02170220 {
|
||||||
|
compatible = "qcom,wsa884x_2";
|
||||||
|
reg = <0x4 0x2170220>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa2_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Left";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa884x_2_0221: wsa884x@02170221 {
|
||||||
|
compatible = "qcom,wsa884x_2";
|
||||||
|
reg = <0x4 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa2_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Right";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_codec: wcd939x-codec {
|
||||||
|
compatible = "qcom,wcd939x-codec";
|
||||||
|
qcom,split-codec = <1>;
|
||||||
|
qcom,rx_swr_ch_map = <0 HPH_L 0x1 0 HPH_L>,
|
||||||
|
<0 HPH_R 0x2 0 HPH_R>, <1 CLSH 0x1 0 CLSH>,
|
||||||
|
<2 COMP_L 0x1 0 COMP_L>, <2 COMP_R 0x2 0 COMP_R>,
|
||||||
|
<3 LO 0x1 0 LO>, <4 DSD_L 0x1 0 DSD_L>,
|
||||||
|
<4 DSD_R 0x2 0 DSD_R>, <5 HIFI_PCM_L 0x1 0 HIFI_PCM_L>,
|
||||||
|
<5 HIFI_PCM_R 0x2 0 HIFI_PCM_R>;
|
||||||
|
|
||||||
|
qcom,tx_swr_ch_map = <0 ADC1 0x1 0 SWRM_TX1_CH1>,
|
||||||
|
<0 ADC2 0x2 0 SWRM_TX1_CH2>,
|
||||||
|
<1 ADC3 0x1 0 SWRM_TX1_CH3>,
|
||||||
|
<1 ADC4 0x2 0 SWRM_TX1_CH4>,
|
||||||
|
<2 DMIC0 0x1 0 SWRM_TX2_CH1>,
|
||||||
|
<2 DMIC1 0x2 0 SWRM_TX2_CH2>,
|
||||||
|
<2 MBHC 0x4 0 SWRM_TX2_CH3>,
|
||||||
|
<2 DMIC2 0x4 0 SWRM_TX2_CH3>,
|
||||||
|
<2 DMIC3 0x8 0 SWRM_TX2_CH4>,
|
||||||
|
<3 DMIC4 0x1 0 SWRM_TX3_CH1>,
|
||||||
|
<3 DMIC5 0x2 0 SWRM_TX3_CH2>,
|
||||||
|
<3 DMIC6 0x4 0 SWRM_TX3_CH3>,
|
||||||
|
<3 DMIC7 0x8 0 SWRM_TX3_CH4>;
|
||||||
|
|
||||||
|
qcom,swr-tx-port-params =
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL0 LANE2>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>,
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>,
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL2 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL2 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>;
|
||||||
|
|
||||||
|
qcom,wcd-rst-gpio-node = <&wcd939x_rst_gpio>;
|
||||||
|
qcom,rx-slave = <&wcd939x_rx_slave>;
|
||||||
|
qcom,tx-slave = <&wcd939x_tx_slave>;
|
||||||
|
|
||||||
|
cdc-vdd-rx-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-rx-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-rx-current = <30000>;
|
||||||
|
qcom,cdc-vdd-rx-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-tx-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-tx-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-tx-current = <30000>;
|
||||||
|
qcom,cdc-vdd-tx-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-buck-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-buck-current = <650000>;
|
||||||
|
qcom,cdc-vdd-buck-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-mic-bias-supply = <&BOB1>;
|
||||||
|
qcom,cdc-vdd-mic-bias-voltage = <3296000 3296000>;
|
||||||
|
qcom,cdc-vdd-mic-bias-current = <30000>;
|
||||||
|
|
||||||
|
cdc-vdd-px-supply = <&L3C>;
|
||||||
|
qcom,cdc-vdd-px-voltage = <1200000 1200000>;
|
||||||
|
qcom,cdc-vdd-px-current = <5000>;
|
||||||
|
qcom,cdc-vdd-px-lpm-supported = <1>;
|
||||||
|
|
||||||
|
qcom,cdc-vdd-px-rem-supported = <1>;
|
||||||
|
|
||||||
|
qcom,cdc-micbias1-mv = <1800>;
|
||||||
|
qcom,cdc-micbias2-mv = <1800>;
|
||||||
|
qcom,cdc-micbias3-mv = <1800>;
|
||||||
|
qcom,cdc-micbias4-mv = <1800>;
|
||||||
|
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-rx",
|
||||||
|
"cdc-vdd-tx",
|
||||||
|
"cdc-vdd-mic-bias";
|
||||||
|
qcom,cdc-on-demand-supplies = "cdc-vdd-buck",
|
||||||
|
"cdc-vdd-px";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
&spf_core_platform {
|
||||||
|
pineapple_snd: sound {
|
||||||
|
qcom,model = "pineapple-mtp-snd-card";
|
||||||
|
qcom,msm-mi2s-master = <1>, <1>, <1>, <1>, <1>, <1>, <1>;
|
||||||
|
qcom,mi2s-tdm-is-hw-vote-needed = <1>, <1>, <1>, <1>, <1>, <1>, <1>;
|
||||||
|
qcom,wcn-bt = <1>;
|
||||||
|
qcom,ext-disp-audio-rx = <1>;
|
||||||
|
qcom,tdm-max-slots = <8>;
|
||||||
|
qcom,tdm-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
|
||||||
|
qcom,mi2s-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
|
||||||
|
qcom,audio-core-list = <0>, <1>;
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS3",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS3",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC0", "VA MIC BIAS3",
|
||||||
|
"VA DMIC1", "VA MIC BIAS3",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1";
|
||||||
|
qcom,msm-mbhc-usbc-audio-supported = <0>;
|
||||||
|
qcom,msm-mbhc-hphl-swh = <1>;
|
||||||
|
qcom,msm-mbhc-gnd-swh = <1>;
|
||||||
|
|
||||||
|
qcom,cdc-dmic01-gpios = <&cdc_dmic01_gpios>;
|
||||||
|
qcom,cdc-dmic23-gpios = <&cdc_dmic23_gpios>;
|
||||||
|
qcom,cdc-dmic45-gpios = <&cdc_dmic45_gpios>;
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa884x_0220>, <&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "swr-haptics",
|
||||||
|
"wsa-codec1", "wsa-codec2";
|
||||||
|
qcom,wsa-max-devs = <2>;
|
||||||
|
qcom,msm_audio_ssr_devs = <&audio_gpr>, <&lpi_tlmm>,
|
||||||
|
<&lpass_cdc>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ====================
|
||||||
|
* UPD backend - WSA
|
||||||
|
* ====================
|
||||||
|
*
|
||||||
|
* Mute/Unmute the interpolator
|
||||||
|
* ------------------------------
|
||||||
|
* Register: LPASS_WSA_CDC_RX0_RX_PATH_MIX_CTL - 0x6B00418
|
||||||
|
*
|
||||||
|
* Send control commands to the peripheral from the soundwire controller
|
||||||
|
* -----------------------------------------------------------------------
|
||||||
|
* Register: LPASS_WSA_SWR_MSTR_WSA_SWRM_CPUn_CMD_FIFO_WR_CMD - 0x6B14020
|
||||||
|
*
|
||||||
|
* Enable/Disable ear piece
|
||||||
|
* --------------------------
|
||||||
|
* Register: DIG_CTRL0_PA_FSM_EN - 0x3430
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
qcom,upd_backends_used = "wsa";
|
||||||
|
qcom,upd_lpass_reg_addr = <0x6B00418 0x6B14020>;
|
||||||
|
qcom,upd_ear_pa_reg_addr = <0x3430>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ====================
|
||||||
|
* UPD backend - WCD
|
||||||
|
* ====================
|
||||||
|
*
|
||||||
|
* Mute/Unmute the interpolator
|
||||||
|
* ------------------------------
|
||||||
|
* Register: LPASS_WCD_CDC_RX0_RX_PATH_MIX_CTL - 0x6AC0418
|
||||||
|
*
|
||||||
|
* Send control commands to the wcd from the soundwire controller
|
||||||
|
* ----------------------------------------------------------------
|
||||||
|
* Register: LPASS_WCD_SWR_MSTR_WSA_SWRM_CPUn_CMD_FIFO_WR_CMD - 0x6D34020
|
||||||
|
*
|
||||||
|
* Enable/Disable ear piece
|
||||||
|
* --------------------------
|
||||||
|
* Register: DIG_CTRL0_PA_FSM_EN - 0x300A
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
qcom,upd_backends_used = "wcd";
|
||||||
|
qcom,upd_lpass_reg_addr = <0x6AC0418 0x6D34020>;
|
||||||
|
qcom,upd_ear_pa_reg_addr = <0x300A>;
|
||||||
|
*/
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_pri_mi2s_gpios: pri_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&i2s0_sck_active &i2s0_ws_active
|
||||||
|
&i2s0_sd0_active &i2s0_sd1_active>;
|
||||||
|
pinctrl-1 = <&i2s0_sck_sleep &i2s0_ws_sleep
|
||||||
|
&i2s0_sd0_sleep &i2s0_sd1_sleep>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
fm_i2s1_gpios: fm_i2s1_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&i2s1_sck_active &i2s1_ws_active
|
||||||
|
&i2s1_sd0_active>;
|
||||||
|
pinctrl-1 = <&i2s1_sck_sleep &i2s1_ws_sleep
|
||||||
|
&i2s1_sd0_sleep>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_tert_mi2s_gpios: tert_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s4_sck_active &lpi_i2s4_ws_active
|
||||||
|
&lpi_i2s4_sd0_active &lpi_i2s4_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s4_sck_sleep &lpi_i2s4_ws_sleep
|
||||||
|
&lpi_i2s4_sd0_sleep &lpi_i2s4_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <185 187>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_quat_mi2s_gpios: quat_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&quat_mi2s_sck_active &quat_mi2s_ws_active
|
||||||
|
&quat_mi2s_sd0_active &quat_mi2s_sd1_active
|
||||||
|
&quat_mi2s_sd2_active &quat_mi2s_sd3_active>;
|
||||||
|
pinctrl-1 = <&quat_mi2s_sck_sleep &quat_mi2s_ws_sleep
|
||||||
|
&quat_mi2s_sd0_sleep &quat_mi2s_sd1_sleep
|
||||||
|
&quat_mi2s_sd2_sleep &quat_mi2s_sd3_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <166 169>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_quin_mi2s_gpios: quin_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s1_sck_active &lpi_i2s1_ws_active
|
||||||
|
&lpi_i2s1_sd0_active &lpi_i2s1_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s1_sck_sleep &lpi_i2s1_ws_sleep
|
||||||
|
&lpi_i2s1_sd0_sleep &lpi_i2s1_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <171 172 174>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_sen_mi2s_gpios: sen_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s2_sck_active &lpi_i2s2_ws_active
|
||||||
|
&lpi_i2s2_sd0_active &lpi_i2s2_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s2_sck_sleep &lpi_i2s2_ws_sleep
|
||||||
|
&lpi_i2s2_sd0_sleep &lpi_i2s2_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <176 181>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_sep_mi2s_gpios: sep_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s3_sck_active &lpi_i2s3_ws_active
|
||||||
|
&lpi_i2s3_sd0_active &lpi_i2s3_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s3_sck_sleep &lpi_i2s3_ws_sleep
|
||||||
|
&lpi_i2s3_sd0_sleep &lpi_i2s3_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <177 182>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_swr_gpios: wsa_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wsa_swr_clk_active &wsa_swr_data_active>;
|
||||||
|
pinctrl-1 = <&wsa_swr_clk_sleep &wsa_swr_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <176>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_swr_gpios: wsa2_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wsa2_swr_clk_active &wsa2_swr_data_active>;
|
||||||
|
pinctrl-1 = <&wsa2_swr_clk_sleep &wsa2_swr_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <181>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_swr_gpios: rx_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&rx_swr_clk_active &rx_swr_data_active
|
||||||
|
&rx_swr_data1_active>;
|
||||||
|
pinctrl-1 = <&rx_swr_clk_sleep &rx_swr_data_sleep
|
||||||
|
&rx_swr_data1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <169>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_swr_gpios: tx_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&tx_swr_clk_active &tx_swr_data0_active
|
||||||
|
&tx_swr_data1_active &tx_swr_data2_active>;
|
||||||
|
pinctrl-1 = <&tx_swr_clk_sleep &tx_swr_data0_sleep
|
||||||
|
&tx_swr_data1_sleep &tx_swr_data2_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,chip-wakeup-reg = <0xf1a6008>;
|
||||||
|
qcom,chip-wakeup-maskbit = <7>;
|
||||||
|
qcom,chip-wakeup-default-val = <0x1>;
|
||||||
|
qcom,tlmm-pins = <166>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic01_gpios: cdc_dmic01_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic01_clk_active &cdc_dmic01_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic01_clk_sleep &cdc_dmic01_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <171 172>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic23_gpios: cdc_dmic23_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic23_clk_active &cdc_dmic23_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic23_clk_sleep &cdc_dmic23_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <174>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic45_gpios: cdc_dmic45_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic45_clk_active &cdc_dmic45_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic45_clk_sleep &cdc_dmic45_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <177>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic67_gpios: cdc_dmic67_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic67_clk_active &cdc_dmic67_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic67_clk_sleep &cdc_dmic67_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <182>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
wsa_spkr_en02: wsa_spkr_en1_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&spkr_02_sd_n_active>;
|
||||||
|
pinctrl-1 = <&spkr_02_sd_n_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_spkr_en13: wsa_spkr_en2_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&spkr_13_sd_n_active>;
|
||||||
|
pinctrl-1 = <&spkr_13_sd_n_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_rst_gpio: msm_cdc_pinctrl@32 {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wcd939x_reset_active>;
|
||||||
|
pinctrl-1 = <&wcd939x_reset_sleep>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_va_1: va_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x307>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_1: wsa_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_2>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x309>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_2: wsa2_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_9>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x310>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_1: rx_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_4>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <22579200>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x30E>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_tx: rx_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_10>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x312>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_tx_1: tx_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_6>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x30C>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_tx: wsa_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_11>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x314>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa2_tx: wsa2_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_12>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x316>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_mclk2_2x_clk: rx_mclk2_2x_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_13>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x318>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&adsp_loader {
|
||||||
|
status = "ok";
|
||||||
|
}
|
15
pineapple-audio-qrd-sku2.dts
Normal file
15
pineapple-audio-qrd-sku2.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-qrd-sku2.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple QRD";
|
||||||
|
compatible = "qcom,pineapple-qrd", "qcom,pineapple", "qcom,qrd";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x5000B 0>;
|
||||||
|
};
|
11
pineapple-audio-qrd-sku2.dtsi
Normal file
11
pineapple-audio-qrd-sku2.dtsi
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-qrd.dtsi"
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,model = "pineapple-qrd-sku2-snd-card";
|
||||||
|
};
|
||||||
|
|
15
pineapple-audio-qrd.dts
Normal file
15
pineapple-audio-qrd.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-qrd.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple QRD";
|
||||||
|
compatible = "qcom,pineapple-qrd", "qcom,pineapple", "qcom,qrd";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x1000B 0>, <11 0>;
|
||||||
|
};
|
109
pineapple-audio-qrd.dtsi
Normal file
109
pineapple-audio-qrd.dtsi
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-overlay.dtsi"
|
||||||
|
&tx_swr_clk_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data0_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data1_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data2_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs = <2>, <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs = <2>, <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wcd939x_codec {
|
||||||
|
cdc-vdd-px-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-px-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-px-current = <650000>;
|
||||||
|
qcom,cdc-vdd-px-lpm-supported = <1>;
|
||||||
|
/* 0 for digital crosstalk disabled,
|
||||||
|
* 1 for digital crosstalk with local sensed a-xtalk enabled, and
|
||||||
|
* 2 for digital crosstalk with remote sensed a-xtalk enabled.
|
||||||
|
*/
|
||||||
|
qcom,usbcss-hs-xtalk-config = <2>;
|
||||||
|
qcom,usbcss-hs-rdson = <600>;
|
||||||
|
qcom,usbcss-hs-r2 = <7550>;
|
||||||
|
qcom,usbcss-hs-r3 = <1>;
|
||||||
|
qcom,usbcss-hs-r4 = <330>;
|
||||||
|
qcom,usbcss-hs-r5 = <5>;
|
||||||
|
qcom,usbcss-hs-r6 = <1>;
|
||||||
|
qcom,usbcss-hs-r7 = <5>;
|
||||||
|
qcom,usbcss-hs-lin-k-aud = <13>;
|
||||||
|
qcom,usbcss-hs-lin-k-gnd = <13>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,model = "pineapple-qrd-snd-card";
|
||||||
|
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK";
|
||||||
|
|
||||||
|
qcom,msm-mbhc-usbc-audio-supported = <1>;
|
||||||
|
qcom,msm-mbhc-hphl-swh = <0>;
|
||||||
|
qcom,msm-mbhc-gnd-swh = <0>;
|
||||||
|
qcom,wcd-disable-legacy-surge;
|
||||||
|
};
|
||||||
|
|
15
pineapple-audio-rcm.dts
Normal file
15
pineapple-audio-rcm.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-cdp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple RCM";
|
||||||
|
compatible = "qcom,pineapple-rcm", "qcom,pineapple", "qcom,pineapplep-rcm", "qcom,pineapplep", "qcom,rcm";
|
||||||
|
qcom,msm-id = <557 0x10000>, <577 0x10000>, <557 0x20000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x15 0>;
|
||||||
|
};
|
15
pineapple-audio-rumi.dts
Normal file
15
pineapple-audio-rumi.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-rumi.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple RUMI";
|
||||||
|
compatible = "qcom,pineapple-rumi", "qcom,pineapple", "qcom,rumi";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <15 0>;
|
||||||
|
};
|
12
pineapple-audio-rumi.dtsi
Normal file
12
pineapple-audio-rumi.dtsi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
compatible = "qcom,pineapple-asoc-snd-stub";
|
||||||
|
asoc-codec = <&stub_codec>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1";
|
||||||
|
};
|
15
pineapple-audio-wsa883x-cdp.dts
Normal file
15
pineapple-audio-wsa883x-cdp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapple-audio-wsa883x-cdp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple CDP - WSA883X";
|
||||||
|
compatible = "qcom,pineapple-cdp", "qcom,pineapple", "qcom,cdp";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x01000001 0>;
|
||||||
|
};
|
92
pineapple-audio-wsa883x-cdp.dtsi
Normal file
92
pineapple-audio-wsa883x-cdp.dtsi
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-cdp.dtsi"
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,model = "pineapple-cdp-wsa883x-snd-card";
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa883x_0221>, <&wsa883x_0222>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "swr-haptics",
|
||||||
|
"wsa-codec1", "wsa-codec2";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_0220 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_0221 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr0 {
|
||||||
|
wsa883x_0221: wsa883x@02170221 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrLeft";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa883x_0222: wsa883x@02170222 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170222>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrRight";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_2_0220 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_2_0221 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr3 {
|
||||||
|
wsa883x_2_0221: wsa883x@02170221 {
|
||||||
|
compatible = "qcom,wsa883x_2";
|
||||||
|
reg = <0x2 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Left";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa883x_2_0222: wsa883x@02170222 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170222>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Right";
|
||||||
|
};
|
||||||
|
};
|
21
pineapple-audio.dts
Normal file
21
pineapple-audio.dts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/clock/qcom,gcc-pineapple.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
||||||
|
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
||||||
|
|
||||||
|
#include "pineapple-audio.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Pineapple";
|
||||||
|
compatible = "qcom,pineapple";
|
||||||
|
qcom,msm-id = <557 0x10000>, <557 0x20000>, <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0 0>;
|
||||||
|
};
|
175
pineapple-audio.dtsi
Normal file
175
pineapple-audio.dtsi
Normal file
@@ -0,0 +1,175 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bindings/qcom,audio-ext-clk.h>
|
||||||
|
#include <bindings/qcom,gpr.h>
|
||||||
|
#include "msm-audio-lpass.dtsi"
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
spf_core_platform: spf_core_platform {
|
||||||
|
compatible = "qcom,spf-core-platform";
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_core_hw_vote: vote_lpass_core_hw {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_CORE_HW_VOTE>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_audio_hw_vote: vote_lpass_audio_hw {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_AUDIO_HW_VOTE>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&glink_edge {
|
||||||
|
audio_gpr: qcom,gpr {
|
||||||
|
compatible = "qcom,gpr";
|
||||||
|
qcom,glink-channels = "adsp_apps";
|
||||||
|
qcom,intents = <0x200 20>;
|
||||||
|
reg = <GPR_DOMAIN_ADSP>;
|
||||||
|
|
||||||
|
spf_core {
|
||||||
|
compatible = "qcom,spf_core";
|
||||||
|
reg = <GPR_SVC_ADSP_CORE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
audio-pkt {
|
||||||
|
compatible = "qcom,audio-pkt";
|
||||||
|
qcom,audiopkt-ch-name = "apr_audio_svc";
|
||||||
|
reg = <GPR_SVC_MAX>;
|
||||||
|
};
|
||||||
|
|
||||||
|
audio_prm: q6prm {
|
||||||
|
compatible = "qcom,audio_prm";
|
||||||
|
reg = <GPR_SVC_ASM>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&spf_core_platform {
|
||||||
|
|
||||||
|
msm_audio_ion: qcom,msm-audio-ion {
|
||||||
|
compatible = "qcom,msm-audio-ion";
|
||||||
|
qcom,smmu-version = <2>;
|
||||||
|
qcom,smmu-enabled;
|
||||||
|
iommus = <&apps_smmu 0x1001 0x0080>, <&apps_smmu 0x1061 0x0>;
|
||||||
|
qcom,iommu-dma-addr-pool = <0x10000000 0x10000000>;
|
||||||
|
qcom,smmu-sid-mask = /bits/ 64 <0xf>;
|
||||||
|
dma-coherent;
|
||||||
|
};
|
||||||
|
|
||||||
|
msm_audio_ion_cma: qcom,msm-audio-ion-cma {
|
||||||
|
compatible = "qcom,msm-audio-ion-cma";
|
||||||
|
};
|
||||||
|
|
||||||
|
lpi_tlmm: lpi_pinctrl@6E80000 {
|
||||||
|
compatible = "qcom,lpi-pinctrl";
|
||||||
|
reg = <0x6E80000 0x0>;
|
||||||
|
qcom,gpios-count = <23>;
|
||||||
|
qcom,slew-reg = <0x6E80000 0x0>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
qcom,lpi-offset-tbl = <0x00000000>, <0x00001000>,
|
||||||
|
<0x00002000>, <0x00003000>,
|
||||||
|
<0x00004000>, <0x00005000>,
|
||||||
|
<0x00006000>, <0x00007000>,
|
||||||
|
<0x00008000>, <0x00009000>,
|
||||||
|
<0x0000A000>, <0x0000B000>,
|
||||||
|
<0x0000C000>, <0x0000D000>,
|
||||||
|
<0x0000E000>, <0x0000F000>,
|
||||||
|
<0x00010000>, <0x00011000>,
|
||||||
|
<0x00012000>, <0x00013000>,
|
||||||
|
<0x00014000>, <0x00015000>,
|
||||||
|
<0x00016000>;
|
||||||
|
qcom,lpi-slew-offset-tbl = <0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>;
|
||||||
|
|
||||||
|
qcom,lpi-slew-base-tbl = <0x6E80000>, <0x6E81000>,
|
||||||
|
<0x6E82000>, <0x6E83000>,
|
||||||
|
<0x6E84000>, <0x6E85000>,
|
||||||
|
<0x6E86000>, <0x6E87000>,
|
||||||
|
<0x6E88000>, <0x6E89000>,
|
||||||
|
<0x6E8A000>, <0x6E8B000>,
|
||||||
|
<0x6E8C000>, <0x6E8D000>,
|
||||||
|
<0x6E8E000>, <0x6E8F000>,
|
||||||
|
<0x6E90000>, <0x6E91000>,
|
||||||
|
<0x6E92000>, <0x6E93000>,
|
||||||
|
<0x6E94000>, <0x6E95000>,
|
||||||
|
<0x6E96000>;
|
||||||
|
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_cdc: lpass-cdc {
|
||||||
|
compatible = "qcom,lpass-cdc";
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
lpass-cdc-clk-rsc-mngr {
|
||||||
|
compatible = "qcom,lpass-cdc-clk-rsc-mngr";
|
||||||
|
};
|
||||||
|
|
||||||
|
va_macro: va-macro@6D44000 {
|
||||||
|
swr2: va_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_macro: tx-macro@6AE0000 {
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_macro: rx-macro@6AC0000 {
|
||||||
|
swr1: rx_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_macro: wsa-macro@6B00000 {
|
||||||
|
swr0: wsa_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_macro: wsa2-macro@6AA0000 {
|
||||||
|
swr3: wsa2_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pineapple_snd: sound {
|
||||||
|
compatible = "qcom,pineapple-asoc-snd";
|
||||||
|
qcom,mi2s-audio-intf = <1>;
|
||||||
|
qcom,tdm-audio-intf = <0>;
|
||||||
|
qcom,auxpcm-audio-intf = <1>;
|
||||||
|
qcom,wcn-bt = <0>;
|
||||||
|
qcom,ext-disp-audio-rx = <0>;
|
||||||
|
qcom,afe-rxtx-lb = <0>;
|
||||||
|
|
||||||
|
clock-names = "lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_audio_hw_vote 0>;
|
||||||
|
wcd939x-i2c-handle = <&wcd_usbss>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&aliases {
|
||||||
|
swr0 = "/soc/spf_core_platform/lpass-cdc/wsa-macro@6B00000/wsa_swr_master";
|
||||||
|
swr1 = "/soc/spf_core_platform/lpass-cdc/rx-macro@6AC0000/rx_swr_master";
|
||||||
|
swr2 = "/soc/spf_core_platform/lpass-cdc/va-macro@6D44000/va_swr_master";
|
||||||
|
swr3 = "/soc/spf_core_platform/lpass-cdc/wsa2-macro@6AA0000/wsa2_swr_master";
|
||||||
|
};
|
||||||
|
|
2549
pineapple-lpi.dtsi
Normal file
2549
pineapple-lpi.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
15
pineapplep-audio-hdk.dts
Normal file
15
pineapplep-audio-hdk.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "pineapplep-audio-hdk.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. PineappleP HDK";
|
||||||
|
compatible = "qcom,pineapplep-hdk", "qcom,pineapplep", "qcom,hdk";
|
||||||
|
qcom,msm-id = <577 0x10000>, <577 0x20000>;
|
||||||
|
qcom,board-id = <0x1f 0>;
|
||||||
|
};
|
15
pineapplep-audio-hdk.dtsi
Normal file
15
pineapplep-audio-hdk.dtsi
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "pineapple-audio-qrd.dtsi"
|
||||||
|
|
||||||
|
&pineapple_snd {
|
||||||
|
qcom,model = "pineapple-qrd-snd-card";
|
||||||
|
|
||||||
|
qcom,msm-mbhc-usbc-audio-supported = <0>;
|
||||||
|
qcom,msm-mbhc-hphl-swh = <1>;
|
||||||
|
qcom,msm-mbhc-gnd-swh = <1>;
|
||||||
|
};
|
||||||
|
|
15
sun-audio-atp.dts
Normal file
15
sun-audio-atp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-atp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun ATP";
|
||||||
|
compatible = "qcom,sun-atp", "qcom,sun", "qcom,atp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0x10021 0>;
|
||||||
|
};
|
82
sun-audio-atp.dtsi
Normal file
82
sun-audio-atp.dtsi
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-mtp.dtsi"
|
||||||
|
|
||||||
|
&swr_haptics {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&wsa884x_0220>,
|
||||||
|
<&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "wsa-codec1", "wsa-codec2";
|
||||||
|
swr-haptics-unsupported;
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS3",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS3",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC0", "VA MIC BIAS3",
|
||||||
|
"VA DMIC1", "VA MIC BIAS3",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <4>, <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <4>, <4>;
|
||||||
|
};
|
16
sun-audio-cdp-nfc.dts
Normal file
16
sun-audio-cdp-nfc.dts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-cdp-nfc.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun CDP ST54L NFC";
|
||||||
|
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", "qcom,sunp", "qcom,cdp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0x50001 0>;
|
||||||
|
};
|
6
sun-audio-cdp-nfc.dtsi
Normal file
6
sun-audio-cdp-nfc.dtsi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-cdp.dtsi"
|
15
sun-audio-cdp.dts
Normal file
15
sun-audio-cdp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-cdp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun CDP";
|
||||||
|
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <1 0>;
|
||||||
|
};
|
134
sun-audio-cdp.dtsi
Normal file
134
sun-audio-cdp.dtsi
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&lpass_cdc {
|
||||||
|
qcom,num-macros = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_pri_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&fm_i2s1_gpios {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_tert_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_quat_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_quin_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_sen_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cdc_sep_mi2s_gpios {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
qcom,model = "sun-cdp-snd-card";
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS1",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS1",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS1",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS1",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"TX DMIC4", "Digital Mic4",
|
||||||
|
"TX DMIC4", "MIC BIAS3",
|
||||||
|
"TX DMIC5", "Digital Mic5",
|
||||||
|
"TX DMIC5", "MIC BIAS3",
|
||||||
|
"TX DMIC6", "Digital Mic6",
|
||||||
|
"TX DMIC6", "MIC BIAS4",
|
||||||
|
"TX DMIC7", "Digital Mic7",
|
||||||
|
"TX DMIC7", "MIC BIAS4",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC4", "Digital Mic4",
|
||||||
|
"VA DMIC5", "Digital Mic5",
|
||||||
|
"VA DMIC6", "Digital Mic6",
|
||||||
|
"VA DMIC7", "Digital Mic7",
|
||||||
|
"VA DMIC0", "VA MIC BIAS1",
|
||||||
|
"VA DMIC1", "VA MIC BIAS1",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1",
|
||||||
|
"VA DMIC4", "VA MIC BIAS3",
|
||||||
|
"VA DMIC5", "VA MIC BIAS3",
|
||||||
|
"VA DMIC6", "VA MIC BIAS4",
|
||||||
|
"VA DMIC7", "VA MIC BIAS4";
|
||||||
|
qcom,cdc-dmic67-gpios = <&cdc_dmic67_gpios>;
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa884x_0220>, <&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "swr-haptics",
|
||||||
|
"wsa-codec1", "wsa-codec2";
|
||||||
|
qcom,wsa-max-devs = <2>;
|
||||||
|
qcom,pri-mi2s-gpios = <&cdc_pri_mi2s_gpios>;
|
||||||
|
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
||||||
|
qcom,tert-mi2s-gpios = <&cdc_tert_mi2s_gpios>;
|
||||||
|
qcom,quat-mi2s-gpios = <&cdc_quat_mi2s_gpios>;
|
||||||
|
qcom,quin-mi2s-gpios = <&cdc_quin_mi2s_gpios>;
|
||||||
|
qcom,sen-mi2s-gpios = <&cdc_sen_mi2s_gpios>;
|
||||||
|
qcom,sep-mi2s-gpios = <&cdc_sep_mi2s_gpios>;
|
||||||
|
qcom,usbss-hsj-connect-enabled;
|
||||||
|
};
|
16
sun-audio-mtp-nfc.dts
Normal file
16
sun-audio-mtp-nfc.dts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-mtp-nfc.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun MTP ST54L NFC";
|
||||||
|
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", "qcom,mtp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0x50008 0>;
|
||||||
|
};
|
6
sun-audio-mtp-nfc.dtsi
Normal file
6
sun-audio-mtp-nfc.dtsi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-overlay.dtsi"
|
15
sun-audio-mtp.dts
Normal file
15
sun-audio-mtp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-mtp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun MTP";
|
||||||
|
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <8 0>;
|
||||||
|
};
|
165
sun-audio-mtp.dtsi
Normal file
165
sun-audio-mtp.dtsi
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&lpi_tlmm {
|
||||||
|
spkr_02_sd_n {
|
||||||
|
lpi_spkr_02_sd_n_sleep: spkr_02_sd_n_sleep {
|
||||||
|
mux {
|
||||||
|
pins = "gpio17";
|
||||||
|
function = "gpio";
|
||||||
|
};
|
||||||
|
|
||||||
|
config {
|
||||||
|
pins = "gpio17";
|
||||||
|
drive-strength = <2>; /* 2 mA */
|
||||||
|
bias-pull-down;
|
||||||
|
input-enable;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
lpi_spkr_02_sd_n_active: spkr_02_sd_n_active {
|
||||||
|
mux {
|
||||||
|
pins = "gpio17";
|
||||||
|
function = "gpio";
|
||||||
|
};
|
||||||
|
|
||||||
|
config {
|
||||||
|
pins = "gpio17";
|
||||||
|
drive-strength = <16>; /* 16 mA */
|
||||||
|
bias-disable;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
spkr_13_sd_n {
|
||||||
|
lpi_spkr_13_sd_n_sleep: spkr_13_sd_n_sleep {
|
||||||
|
mux {
|
||||||
|
pins = "gpio18";
|
||||||
|
function = "gpio";
|
||||||
|
};
|
||||||
|
|
||||||
|
config {
|
||||||
|
pins = "gpio18";
|
||||||
|
drive-strength = <2>; /* 2 mA */
|
||||||
|
bias-pull-down;
|
||||||
|
input-enable;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
lpi_spkr_13_sd_n_active: spkr_13_sd_n_active {
|
||||||
|
mux {
|
||||||
|
pins = "gpio18";
|
||||||
|
function = "gpio";
|
||||||
|
};
|
||||||
|
|
||||||
|
config {
|
||||||
|
pins = "gpio18";
|
||||||
|
drive-strength = <16>; /* 16 mA */
|
||||||
|
bias-disable;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_spkr_en02 {
|
||||||
|
pinctrl-0 = <&lpi_spkr_02_sd_n_active>;
|
||||||
|
pinctrl-1 = <&lpi_spkr_02_sd_n_sleep>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_spkr_en13 {
|
||||||
|
pinctrl-0 = <&lpi_spkr_13_sd_n_sleep>;
|
||||||
|
pinctrl-1 = <&lpi_spkr_13_sd_n_active>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&fm_i2s1_gpios {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa883x_0221>, <&wsa883x_0222>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_0220 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_0221 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_2_0220 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa884x_2_0221 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr0 {
|
||||||
|
wsa883x_0221: wsa883x@02170221 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrLeft";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa883x_0222: wsa883x@02170222 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170222>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrRight";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&swr3 {
|
||||||
|
wsa883x_2_0221: wsa883x@02170221 {
|
||||||
|
compatible = "qcom,wsa883x_2";
|
||||||
|
reg = <0x2 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Left";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa883x_2_0222: wsa883x@02170222 {
|
||||||
|
compatible = "qcom,wsa883x";
|
||||||
|
reg = <0x2 0x2170222>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Right";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs= <0>, <0>;
|
||||||
|
};
|
765
sun-audio-overlay.dtsi
Normal file
765
sun-audio-overlay.dtsi
Normal file
@@ -0,0 +1,765 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bindings/qcom,audio-ext-clk.h>
|
||||||
|
#include <bindings/qcom,lpass-cdc-clk-rsc.h>
|
||||||
|
#include <bindings/audio-codec-port-types.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include "sun-lpi.dtsi"
|
||||||
|
|
||||||
|
&lpass_cdc {
|
||||||
|
qcom,num-macros = <4>;
|
||||||
|
qcom,lpass-cdc-version = <7>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
lpass-cdc-clk-rsc-mngr {
|
||||||
|
compatible = "qcom,lpass-cdc-clk-rsc-mngr";
|
||||||
|
qcom,fs-gen-sequence = <0x3000 0x1 0x1>, <0x3004 0x3 0x3>,
|
||||||
|
<0x3004 0x3 0x1>, <0x3080 0x2 0x2>;
|
||||||
|
qcom,rx_mclk_mode_muxsel = <0x06BEC0D8>;
|
||||||
|
qcom,wsa_mclk_mode_muxsel = <0x06BEA110>;
|
||||||
|
clock-names = "tx_core_clk", "rx_core_clk", "wsa_core_clk",
|
||||||
|
"wsa2_core_clk", "rx_tx_core_clk",
|
||||||
|
"wsa_tx_core_clk", "wsa2_tx_core_clk", "va_core_clk";
|
||||||
|
clocks = <&clock_audio_tx_1 0>, <&clock_audio_rx_1 0>,
|
||||||
|
<&clock_audio_wsa_1 0>,
|
||||||
|
<&clock_audio_wsa_2 0>, <&clock_audio_rx_tx 0>,
|
||||||
|
<&clock_audio_wsa_tx 0>, <&clock_audio_wsa2_tx 0>,
|
||||||
|
<&clock_audio_va_1 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_macro: va-macro@7660000 {
|
||||||
|
compatible = "qcom,lpass-cdc-va-macro";
|
||||||
|
reg = <0x7660000 0x0>;
|
||||||
|
clock-names = "lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,va-dmic-sample-rate = <600000>;
|
||||||
|
qcom,va-clk-mux-select = <1>;
|
||||||
|
qcom,default-clk-id = <TX_CORE_CLK>;
|
||||||
|
qcom,use-clk-id = <VA_CORE_CLK>;
|
||||||
|
qcom,is-used-swr-gpio = <1>;
|
||||||
|
qcom,va-swr-gpios = <&va_swr_gpios>;
|
||||||
|
swr2: va_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <3>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <1>;
|
||||||
|
swrm-io-base = <0x7630000 0x0>;
|
||||||
|
interrupts =
|
||||||
|
<GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq", "swr_wake_irq";
|
||||||
|
qcom,swr-wakeup-required = <1>;
|
||||||
|
qcom,swr-num-ports = <5>;
|
||||||
|
qcom,swr-port-mapping = <1 SWRM_TX_PCM_OUT 0x3>,
|
||||||
|
<2 SWRM_TX1_CH1 0x1>, <2 SWRM_TX1_CH2 0x2>,
|
||||||
|
<2 SWRM_TX1_CH3 0x4>, <2 SWRM_TX1_CH4 0x8>,
|
||||||
|
<3 SWRM_TX2_CH1 0x1>, <3 SWRM_TX2_CH2 0x2>,
|
||||||
|
<3 SWRM_TX2_CH3 0x4>, <3 SWRM_TX2_CH4 0x8>,
|
||||||
|
<4 SWRM_TX3_CH1 0x1>, <4 SWRM_TX3_CH2 0x2>,
|
||||||
|
<4 SWRM_TX3_CH3 0x4>, <4 SWRM_TX3_CH4 0x8>,
|
||||||
|
<5 SWRM_TX_PCM_IN 0x3>;
|
||||||
|
qcom,swr-num-dev = <5>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-mstr-irq-wakeup-capable = <1>;
|
||||||
|
qcom,is-always-on = <1>;
|
||||||
|
wcd939x_tx_slave: wcd939x-tx-slave {
|
||||||
|
compatible = "qcom,wcd939x-slave";
|
||||||
|
reg = <0x0E 0x01170223>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_macro: tx-macro@6AE0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-tx-macro";
|
||||||
|
reg = <0x6AE0000 0x0>;
|
||||||
|
qcom,default-clk-id = <TX_CORE_CLK>;
|
||||||
|
qcom,tx-dmic-sample-rate = <2400000>;
|
||||||
|
qcom,is-used-swr-gpio = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_macro: rx-macro@6AC0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-rx-macro";
|
||||||
|
reg = <0x6AC0000 0x0>;
|
||||||
|
qcom,rx-swr-gpios = <&rx_swr_gpios>;
|
||||||
|
qcom,rx_mclk_mode_muxsel = <0x06BEC0D8>;
|
||||||
|
qcom,rx-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <RX_TX_CORE_CLK>;
|
||||||
|
clock-names = "rx_mclk2_2x_clk";
|
||||||
|
clocks = <&clock_audio_rx_mclk2_2x_clk 0>;
|
||||||
|
swr1: rx_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <2>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <1>;
|
||||||
|
swrm-io-base = <0x6ad0000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <12>;
|
||||||
|
qcom,swr-port-mapping = <1 HPH_L 0x1>,
|
||||||
|
<1 HPH_R 0x2>, <2 CLSH 0x3>,
|
||||||
|
<3 COMP_L 0x1>, <3 COMP_R 0x2>,
|
||||||
|
<4 LO 0x1>, <5 DSD_L 0x1>,
|
||||||
|
<5 DSD_R 0x2>, <6 PCM_OUT1 0x01>,
|
||||||
|
<7 GPPO 0x03>, <8 HAPT 0x03>,
|
||||||
|
<9 HIFI_PCM_L 0x01>, <9 HIFI_PCM_R 0x2>,
|
||||||
|
<10 HPTH 0x03>, <11 CMPT 0x03>, <12 IPCM 0x03>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
swr_haptics: swr_haptics@f0170220 {
|
||||||
|
compatible = "qcom,pm8550b-swr-haptics";
|
||||||
|
reg = <0x02 0xf0170220>;
|
||||||
|
// Temporarily commented out to avoid compilation error
|
||||||
|
// swr-slave-supply = <&hap_swr_slave_reg>;
|
||||||
|
qcom,rx_swr_ch_map = <0 0x01 0x01 0 PCM_OUT1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_rx_slave: wcd939x-rx-slave {
|
||||||
|
compatible = "qcom,wcd939x-slave";
|
||||||
|
reg = <0x0E 0x01170224>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_macro: wsa-macro@6B00000 {
|
||||||
|
compatible = "qcom,lpass-cdc-wsa-macro";
|
||||||
|
reg = <0x6B00000 0x0>;
|
||||||
|
wsa_data_fs_ctl_reg = <0x6B6F000>;
|
||||||
|
qcom,wsa-swr-gpios = <&wsa_swr_gpios>;
|
||||||
|
qcom,wsa-bat-cfgs= <1>, <1>;
|
||||||
|
qcom,wsa-rloads= <2>, <2>;
|
||||||
|
qcom,wsa-system-gains= <0 9>, <0 9>;
|
||||||
|
qcom,wsa-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <WSA_TX_CORE_CLK>;
|
||||||
|
qcom,thermal-max-state = <11>;
|
||||||
|
qcom,noise-gate-mode = <2>;
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
swr0: wsa_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <1>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <0>;
|
||||||
|
swrm-io-base = <0x6b10000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <13>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-port-mapping = <1 SPKR_L 0x1>,
|
||||||
|
<2 SPKR_L_COMP 0xF>, <3 SPKR_L_BOOST 0x3>,
|
||||||
|
<4 SPKR_R 0x1>, <5 SPKR_R_COMP 0xF>,
|
||||||
|
<6 SPKR_R_BOOST 0x3>, <7 PBR 0x3>,
|
||||||
|
<8 SPKR_HAPT 0x3>, <9 OCPM 0x3>,
|
||||||
|
<10 SPKR_L_VI 0x3>, <11 SPKR_R_VI 0x3>,
|
||||||
|
<12 SPKR_IPCM 0x3>, <13 CPS 0x3>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,dynamic-port-map-supported = <0>;
|
||||||
|
wsa884x_0220: wsa884x@02170220 {
|
||||||
|
compatible = "qcom,wsa884x";
|
||||||
|
reg = <0x4 0x2170220>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrLeft";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa884x_0221: wsa884x@02170221 {
|
||||||
|
compatible = "qcom,wsa884x";
|
||||||
|
reg = <0x4 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "SpkrRight";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_macro: wsa2-macro@6AA0000 {
|
||||||
|
compatible = "qcom,lpass-cdc-wsa2-macro";
|
||||||
|
reg = <0x6AA0000 0x0>;
|
||||||
|
wsa_data_fs_ctl_reg = <0x6B6F000>;
|
||||||
|
qcom,wsa2-swr-gpios = <&wsa2_swr_gpios>;
|
||||||
|
qcom,wsa-bat-cfgs= <1>, <1>;
|
||||||
|
qcom,wsa-rloads= <2>, <2>;
|
||||||
|
qcom,wsa-system-gains= <0 9>, <0 9>;
|
||||||
|
qcom,wsa2-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
|
||||||
|
qcom,default-clk-id = <WSA2_TX_CORE_CLK>;
|
||||||
|
qcom,thermal-max-state = <11>;
|
||||||
|
qcom,noise-gate-mode = <2>;
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
swr3: wsa2_swr_master {
|
||||||
|
compatible = "qcom,swr-mstr";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
qcom,swr_master_id = <4>;
|
||||||
|
qcom,mipi-sdw-block-packing-mode = <0>;
|
||||||
|
swrm-io-base = <0x6ab0000 0x0>;
|
||||||
|
interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "swr_master_irq";
|
||||||
|
qcom,swr-num-ports = <13>;
|
||||||
|
qcom,swr-clock-stop-mode0 = <1>;
|
||||||
|
qcom,swr-port-mapping = <1 SPKR_L 0x1>,
|
||||||
|
<2 SPKR_L_COMP 0xF>, <3 SPKR_L_BOOST 0x3>,
|
||||||
|
<4 SPKR_R 0x1>, <5 SPKR_R_COMP 0xF>,
|
||||||
|
<6 SPKR_R_BOOST 0x3>, <7 PBR 0x3>,
|
||||||
|
<8 SPKR_HAPT 0x3>, <9 OCPM 0x3>,
|
||||||
|
<10 SPKR_L_VI 0x3>, <11 SPKR_R_VI 0x3>,
|
||||||
|
<12 SPKR_IPCM 0x3>, <13 CPS 0x3>;
|
||||||
|
qcom,swr-num-dev = <2>;
|
||||||
|
qcom,dynamic-port-map-supported = <0>;
|
||||||
|
wsa884x_2_0220: wsa884x@02170220 {
|
||||||
|
compatible = "qcom,wsa884x_2";
|
||||||
|
reg = <0x4 0x2170220>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en02>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa2_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL3 LANE0>, <OFFSET1_VAL5 LANE0>, <OFFSET1_VAL0 LANE0>, <OFFSET1_VAL6 LANE0>, <OFFSET1_VAL0 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Left";
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa884x_2_0221: wsa884x@02170221 {
|
||||||
|
compatible = "qcom,wsa884x_2";
|
||||||
|
reg = <0x4 0x2170221>;
|
||||||
|
qcom,spkr-sd-n-node = <&wsa_spkr_en13>;
|
||||||
|
qcom,lpass-cdc-handle = <&lpass_cdc>;
|
||||||
|
qcom,wsa-macro-handle = <&wsa2_macro>;
|
||||||
|
qcom,swr-wsa-port-params =
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>,
|
||||||
|
<OFFSET1_VAL2 LANE0>, <OFFSET1_VAL4 LANE0>, <OFFSET1_VAL21 LANE0>, <OFFSET1_VAL9 LANE0>, <OFFSET1_VAL13 LANE0>, <OFFSET1_VAL25 LANE0>;
|
||||||
|
cdc-vdd-1p8-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-1p8-current = <20000>;
|
||||||
|
qcom,cdc-vdd-1p8-lpm-supported = <1>;
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-1p8";
|
||||||
|
sound-name-prefix = "Spkr2Right";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_codec: wcd939x-codec {
|
||||||
|
compatible = "qcom,wcd939x-codec";
|
||||||
|
qcom,split-codec = <1>;
|
||||||
|
qcom,rx_swr_ch_map = <0 HPH_L 0x1 0 HPH_L>,
|
||||||
|
<0 HPH_R 0x2 0 HPH_R>, <1 CLSH 0x1 0 CLSH>,
|
||||||
|
<2 COMP_L 0x1 0 COMP_L>, <2 COMP_R 0x2 0 COMP_R>,
|
||||||
|
<3 LO 0x1 0 LO>, <4 DSD_L 0x1 0 DSD_L>,
|
||||||
|
<4 DSD_R 0x2 0 DSD_R>, <5 HIFI_PCM_L 0x1 0 HIFI_PCM_L>,
|
||||||
|
<5 HIFI_PCM_R 0x2 0 HIFI_PCM_R>;
|
||||||
|
|
||||||
|
qcom,tx_swr_ch_map = <0 ADC1 0x1 0 SWRM_TX1_CH1>,
|
||||||
|
<0 ADC2 0x2 0 SWRM_TX1_CH2>,
|
||||||
|
<1 ADC3 0x1 0 SWRM_TX1_CH3>,
|
||||||
|
<1 ADC4 0x2 0 SWRM_TX1_CH4>,
|
||||||
|
<2 DMIC0 0x1 0 SWRM_TX2_CH1>,
|
||||||
|
<2 DMIC1 0x2 0 SWRM_TX2_CH2>,
|
||||||
|
<2 MBHC 0x4 0 SWRM_TX2_CH3>,
|
||||||
|
<2 DMIC2 0x4 0 SWRM_TX2_CH3>,
|
||||||
|
<2 DMIC3 0x8 0 SWRM_TX2_CH4>,
|
||||||
|
<3 DMIC4 0x1 0 SWRM_TX3_CH1>,
|
||||||
|
<3 DMIC5 0x2 0 SWRM_TX3_CH2>,
|
||||||
|
<3 DMIC6 0x4 0 SWRM_TX3_CH3>,
|
||||||
|
<3 DMIC7 0x8 0 SWRM_TX3_CH4>;
|
||||||
|
|
||||||
|
qcom,swr-tx-port-params =
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL0 LANE2>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>,
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>,
|
||||||
|
<OFFSET1_VAL0 LANE1>, <OFFSET1_VAL2 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL2 LANE0>,
|
||||||
|
<OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>, <OFFSET1_VAL1 LANE0>;
|
||||||
|
|
||||||
|
qcom,wcd-rst-gpio-node = <&wcd939x_rst_gpio>;
|
||||||
|
qcom,rx-slave = <&wcd939x_rx_slave>;
|
||||||
|
qcom,tx-slave = <&wcd939x_tx_slave>;
|
||||||
|
|
||||||
|
cdc-vdd-rx-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-rx-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-rx-current = <30000>;
|
||||||
|
qcom,cdc-vdd-rx-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-tx-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-tx-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-tx-current = <30000>;
|
||||||
|
qcom,cdc-vdd-tx-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-buck-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-buck-current = <650000>;
|
||||||
|
qcom,cdc-vdd-buck-lpm-supported = <1>;
|
||||||
|
|
||||||
|
cdc-vdd-mic-bias-supply = <&BOB1>;
|
||||||
|
qcom,cdc-vdd-mic-bias-voltage = <3296000 3296000>;
|
||||||
|
qcom,cdc-vdd-mic-bias-current = <30000>;
|
||||||
|
|
||||||
|
cdc-vdd-px-supply = <&L2I>;
|
||||||
|
qcom,cdc-vdd-px-voltage = <1200000 1200000>;
|
||||||
|
qcom,cdc-vdd-px-current = <5000>;
|
||||||
|
qcom,cdc-vdd-px-lpm-supported = <1>;
|
||||||
|
|
||||||
|
qcom,cdc-micbias1-mv = <1800>;
|
||||||
|
qcom,cdc-micbias2-mv = <1800>;
|
||||||
|
qcom,cdc-micbias3-mv = <1800>;
|
||||||
|
qcom,cdc-micbias4-mv = <1800>;
|
||||||
|
|
||||||
|
qcom,cdc-static-supplies = "cdc-vdd-rx",
|
||||||
|
"cdc-vdd-tx",
|
||||||
|
"cdc-vdd-mic-bias",
|
||||||
|
"cdc-vdd-px";
|
||||||
|
qcom,cdc-on-demand-supplies = "cdc-vdd-buck";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
&spf_core_platform {
|
||||||
|
sun_snd: sound {
|
||||||
|
qcom,model = "sun-mtp-snd-card";
|
||||||
|
qcom,msm-mi2s-master = <1>, <1>, <1>, <1>, <1>, <1>, <1>;
|
||||||
|
qcom,mi2s-tdm-is-hw-vote-needed = <1>, <0>, <1>, <0>, <1>, <0>, <0>;
|
||||||
|
qcom,wcn-bt = <1>;
|
||||||
|
qcom,ext-disp-audio-rx = <1>;
|
||||||
|
qcom,tdm-max-slots = <8>;
|
||||||
|
qcom,tdm-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
|
||||||
|
qcom,mi2s-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
|
||||||
|
qcom,audio-core-list = <0>, <1>;
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"TX DMIC0", "Digital Mic0",
|
||||||
|
"TX DMIC0", "MIC BIAS3",
|
||||||
|
"TX DMIC1", "Digital Mic1",
|
||||||
|
"TX DMIC1", "MIC BIAS3",
|
||||||
|
"TX DMIC2", "Digital Mic2",
|
||||||
|
"TX DMIC2", "MIC BIAS1",
|
||||||
|
"TX DMIC3", "Digital Mic3",
|
||||||
|
"TX DMIC3", "MIC BIAS1",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK",
|
||||||
|
"VA DMIC0", "Digital Mic0",
|
||||||
|
"VA DMIC1", "Digital Mic1",
|
||||||
|
"VA DMIC2", "Digital Mic2",
|
||||||
|
"VA DMIC3", "Digital Mic3",
|
||||||
|
"VA DMIC0", "VA MIC BIAS3",
|
||||||
|
"VA DMIC1", "VA MIC BIAS3",
|
||||||
|
"VA DMIC2", "VA MIC BIAS1",
|
||||||
|
"VA DMIC3", "VA MIC BIAS1";
|
||||||
|
qcom,msm-mbhc-usbc-audio-supported = <0>;
|
||||||
|
qcom,msm-mbhc-hphl-swh = <1>;
|
||||||
|
qcom,msm-mbhc-gnd-swh = <1>;
|
||||||
|
|
||||||
|
qcom,cdc-dmic01-gpios = <&cdc_dmic01_gpios>;
|
||||||
|
qcom,cdc-dmic23-gpios = <&cdc_dmic23_gpios>;
|
||||||
|
qcom,cdc-dmic45-gpios = <&cdc_dmic45_gpios>;
|
||||||
|
asoc-codec = <&stub_codec>, <&lpass_cdc>,
|
||||||
|
<&wcd939x_codec>, <&swr_haptics>,
|
||||||
|
<&wsa884x_0220>, <&wsa884x_0221>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
|
||||||
|
"wcd939x_codec", "swr-haptics",
|
||||||
|
"wsa-codec1", "wsa-codec2";
|
||||||
|
qcom,wsa-max-devs = <2>;
|
||||||
|
qcom,msm_audio_ssr_devs = <&audio_gpr>, <&lpi_tlmm>,
|
||||||
|
<&lpass_cdc>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ====================
|
||||||
|
* UPD backend - WSA
|
||||||
|
* ====================
|
||||||
|
*
|
||||||
|
* Mute/Unmute the interpolator
|
||||||
|
* ------------------------------
|
||||||
|
* Register: LPASS_WSA_CDC_RX0_RX_PATH_MIX_CTL - 0x6B00418
|
||||||
|
*
|
||||||
|
* Send control commands to the peripheral from the soundwire controller
|
||||||
|
* -----------------------------------------------------------------------
|
||||||
|
* Register: LPASS_WSA_SWR_MSTR_WSA_SWRM_CPUn_CMD_FIFO_WR_CMD - 0x6B14020
|
||||||
|
*
|
||||||
|
* Enable/Disable ear piece
|
||||||
|
* --------------------------
|
||||||
|
* Register: DIG_CTRL0_PA_FSM_EN - 0x3430
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
qcom,upd_backends_used = "wsa";
|
||||||
|
qcom,upd_lpass_reg_addr = <0x6B00418 0x6B14020>;
|
||||||
|
qcom,upd_ear_pa_reg_addr = <0x3430>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ====================
|
||||||
|
* UPD backend - WCD
|
||||||
|
* ====================
|
||||||
|
*
|
||||||
|
* Mute/Unmute the interpolator
|
||||||
|
* ------------------------------
|
||||||
|
* Register: LPASS_WCD_CDC_RX0_RX_PATH_MIX_CTL - 0x6AC0418
|
||||||
|
*
|
||||||
|
* Send control commands to the wcd from the soundwire controller
|
||||||
|
* ----------------------------------------------------------------
|
||||||
|
* Register: LPASS_WCD_SWR_MSTR_WSA_SWRM_CPUn_CMD_FIFO_WR_CMD - 0x7634020
|
||||||
|
*
|
||||||
|
* Enable/Disable ear piece
|
||||||
|
* --------------------------
|
||||||
|
* Register: DIG_CTRL0_PA_FSM_EN - 0x300A
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
qcom,upd_backends_used = "wcd";
|
||||||
|
qcom,upd_lpass_reg_addr = <0x6AC0418 0x7634020>;
|
||||||
|
qcom,upd_ear_pa_reg_addr = <0x300A>;
|
||||||
|
*/
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_pri_mi2s_gpios: pri_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&i2s0_sck_active &i2s0_ws_active
|
||||||
|
&i2s0_sd0_active &i2s0_sd1_active>;
|
||||||
|
pinctrl-1 = <&i2s0_sck_sleep &i2s0_ws_sleep
|
||||||
|
&i2s0_sd0_sleep &i2s0_sd1_sleep>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
fm_i2s1_gpios: fm_i2s1_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&i2s1_sck_active &i2s1_ws_active
|
||||||
|
&i2s1_sd0_active>;
|
||||||
|
pinctrl-1 = <&i2s1_sck_sleep &i2s1_ws_sleep
|
||||||
|
&i2s1_sd0_sleep>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_tert_mi2s_gpios: tert_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s4_sck_active &lpi_i2s4_ws_active
|
||||||
|
&lpi_i2s4_sd0_active &lpi_i2s4_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s4_sck_sleep &lpi_i2s4_ws_sleep
|
||||||
|
&lpi_i2s4_sd0_sleep &lpi_i2s4_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <185 187>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_quat_mi2s_gpios: quat_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&quat_mi2s_sck_active &quat_mi2s_ws_active
|
||||||
|
&quat_mi2s_sd0_active &quat_mi2s_sd1_active
|
||||||
|
&quat_mi2s_sd2_active &quat_mi2s_sd3_active>;
|
||||||
|
pinctrl-1 = <&quat_mi2s_sck_sleep &quat_mi2s_ws_sleep
|
||||||
|
&quat_mi2s_sd0_sleep &quat_mi2s_sd1_sleep
|
||||||
|
&quat_mi2s_sd2_sleep &quat_mi2s_sd3_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <166 169>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_quin_mi2s_gpios: quin_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s1_sck_active &lpi_i2s1_ws_active
|
||||||
|
&lpi_i2s1_sd0_active &lpi_i2s1_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s1_sck_sleep &lpi_i2s1_ws_sleep
|
||||||
|
&lpi_i2s1_sd0_sleep &lpi_i2s1_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <171 172 174>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_sen_mi2s_gpios: sen_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s2_sck_active &lpi_i2s2_ws_active
|
||||||
|
&lpi_i2s2_sd0_active &lpi_i2s2_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s2_sck_sleep &lpi_i2s2_ws_sleep
|
||||||
|
&lpi_i2s2_sd0_sleep &lpi_i2s2_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <176 181>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_sep_mi2s_gpios: sep_mi2s_pinctrl {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&lpi_i2s3_sck_active &lpi_i2s3_ws_active
|
||||||
|
&lpi_i2s3_sd0_active &lpi_i2s3_sd1_active>;
|
||||||
|
pinctrl-1 = <&lpi_i2s3_sck_sleep &lpi_i2s3_ws_sleep
|
||||||
|
&lpi_i2s3_sd0_sleep &lpi_i2s3_sd1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <177 182>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_swr_gpios: wsa_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wsa_swr_clk_active &wsa_swr_data_active>;
|
||||||
|
pinctrl-1 = <&wsa_swr_clk_sleep &wsa_swr_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <176>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_swr_gpios: wsa2_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wsa2_swr_clk_active &wsa2_swr_data_active>;
|
||||||
|
pinctrl-1 = <&wsa2_swr_clk_sleep &wsa2_swr_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <181>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_swr_gpios: rx_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&rx_swr_clk_active &rx_swr_data_active
|
||||||
|
&rx_swr_data1_active>;
|
||||||
|
pinctrl-1 = <&rx_swr_clk_sleep &rx_swr_data_sleep
|
||||||
|
&rx_swr_data1_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <169>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
va_swr_gpios: tx_swr_clk_data_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&tx_swr_clk_active &tx_swr_data0_active
|
||||||
|
&tx_swr_data1_active &tx_swr_data2_active>;
|
||||||
|
pinctrl-1 = <&tx_swr_clk_sleep &tx_swr_data0_sleep
|
||||||
|
&tx_swr_data1_sleep &tx_swr_data2_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,chip-wakeup-reg = <0xf1a6008>;
|
||||||
|
qcom,chip-wakeup-maskbit = <7>;
|
||||||
|
qcom,chip-wakeup-default-val = <0x1>;
|
||||||
|
qcom,tlmm-pins = <166>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic01_gpios: cdc_dmic01_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic01_clk_active &cdc_dmic01_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic01_clk_sleep &cdc_dmic01_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <171 172>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic23_gpios: cdc_dmic23_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic23_clk_active &cdc_dmic23_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic23_clk_sleep &cdc_dmic23_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <174>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic45_gpios: cdc_dmic45_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic45_clk_active &cdc_dmic45_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic45_clk_sleep &cdc_dmic45_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <177>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
cdc_dmic67_gpios: cdc_dmic67_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&cdc_dmic67_clk_active &cdc_dmic67_data_active>;
|
||||||
|
pinctrl-1 = <&cdc_dmic67_clk_sleep &cdc_dmic67_data_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
qcom,tlmm-pins = <182>;
|
||||||
|
#gpio-cells = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
wsa_spkr_en02: wsa_spkr_en1_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&spkr_02_sd_n_active>;
|
||||||
|
pinctrl-1 = <&spkr_02_sd_n_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_spkr_en13: wsa_spkr_en2_pinctrl {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&spkr_13_sd_n_active>;
|
||||||
|
pinctrl-1 = <&spkr_13_sd_n_sleep>;
|
||||||
|
qcom,lpi-gpios;
|
||||||
|
};
|
||||||
|
|
||||||
|
wcd939x_rst_gpio: msm_cdc_pinctrl@32 {
|
||||||
|
compatible = "qcom,msm-cdc-pinctrl";
|
||||||
|
pinctrl-names = "aud_active", "aud_sleep";
|
||||||
|
pinctrl-0 = <&wcd939x_reset_active>;
|
||||||
|
pinctrl-1 = <&wcd939x_reset_sleep>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_va_1: va_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x307>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_1: wsa_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_2>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x309>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_2: wsa2_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_9>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x310>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_1: rx_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_4>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <22579200>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x30E>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_tx: rx_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_10>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x312>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_tx_1: tx_core_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_6>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x30C>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa_tx: wsa_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_11>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x314>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_wsa2_tx: wsa2_core_tx_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_12>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x316>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clock_audio_rx_mclk2_2x_clk: rx_mclk2_2x_clk {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_MCLK_13>;
|
||||||
|
qcom,codec-lpass-ext-clk-freq = <19200000>;
|
||||||
|
qcom,codec-lpass-clk-id = <0x318>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
15
sun-audio-qrd-sku2.dts
Normal file
15
sun-audio-qrd-sku2.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-qrd-sku2.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun QRD";
|
||||||
|
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0x5000B 0>;
|
||||||
|
};
|
10
sun-audio-qrd-sku2.dtsi
Normal file
10
sun-audio-qrd-sku2.dtsi
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-qrd.dtsi"
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
qcom,model = "sun-qrd-sku2-snd-card";
|
||||||
|
};
|
15
sun-audio-qrd.dts
Normal file
15
sun-audio-qrd.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-qrd.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun QRD";
|
||||||
|
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <11 0>;
|
||||||
|
};
|
108
sun-audio-qrd.dtsi
Normal file
108
sun-audio-qrd.dtsi
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-overlay.dtsi"
|
||||||
|
&tx_swr_clk_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data0_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data1_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&tx_swr_data2_active {
|
||||||
|
config {
|
||||||
|
drive-strength = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa_macro {
|
||||||
|
qcom,wsa-bat-cfgs = <2>, <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wsa2_macro {
|
||||||
|
qcom,wsa-bat-cfgs = <2>, <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&wcd939x_codec {
|
||||||
|
cdc-vdd-px-supply = <&L15B>;
|
||||||
|
qcom,cdc-vdd-px-voltage = <1800000 1800000>;
|
||||||
|
qcom,cdc-vdd-px-current = <650000>;
|
||||||
|
qcom,cdc-vdd-px-lpm-supported = <1>;
|
||||||
|
/* 0 for digital crosstalk disabled,
|
||||||
|
* 1 for digital crosstalk with local sensed a-xtalk enabled, and
|
||||||
|
* 2 for digital crosstalk with remote sensed a-xtalk enabled.
|
||||||
|
*/
|
||||||
|
qcom,usbcss-hs-xtalk-config = <2>;
|
||||||
|
qcom,usbcss-hs-rdson = <600>;
|
||||||
|
qcom,usbcss-hs-r2 = <7550>;
|
||||||
|
qcom,usbcss-hs-r3 = <1>;
|
||||||
|
qcom,usbcss-hs-r4 = <330>;
|
||||||
|
qcom,usbcss-hs-r5 = <5>;
|
||||||
|
qcom,usbcss-hs-r6 = <1>;
|
||||||
|
qcom,usbcss-hs-r7 = <5>;
|
||||||
|
qcom,usbcss-hs-lin-k-aud = <13>;
|
||||||
|
qcom,usbcss-hs-lin-k-gnd = <13>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
qcom,model = "sun-qrd-snd-card";
|
||||||
|
|
||||||
|
qcom,audio-routing =
|
||||||
|
"AMIC1", "Analog Mic1",
|
||||||
|
"AMIC1", "MIC BIAS1",
|
||||||
|
"AMIC2", "Analog Mic2",
|
||||||
|
"AMIC2", "MIC BIAS2",
|
||||||
|
"AMIC3", "Analog Mic3",
|
||||||
|
"AMIC3", "MIC BIAS3",
|
||||||
|
"AMIC4", "Analog Mic4",
|
||||||
|
"AMIC4", "MIC BIAS3",
|
||||||
|
"AMIC5", "Analog Mic5",
|
||||||
|
"AMIC5", "MIC BIAS4",
|
||||||
|
"VA AMIC1", "Analog Mic1",
|
||||||
|
"VA AMIC1", "VA MIC BIAS1",
|
||||||
|
"VA AMIC2", "Analog Mic2",
|
||||||
|
"VA AMIC2", "VA MIC BIAS2",
|
||||||
|
"VA AMIC3", "Analog Mic3",
|
||||||
|
"VA AMIC3", "VA MIC BIAS3",
|
||||||
|
"VA AMIC4", "Analog Mic4",
|
||||||
|
"VA AMIC4", "VA MIC BIAS3",
|
||||||
|
"VA AMIC5", "Analog Mic5",
|
||||||
|
"VA AMIC5", "VA MIC BIAS4",
|
||||||
|
"IN1_HPHL", "HPHL_OUT",
|
||||||
|
"IN2_HPHR", "HPHR_OUT",
|
||||||
|
"IN3_EAR", "AUX_OUT",
|
||||||
|
"HAP_IN", "PCM_OUT",
|
||||||
|
"WSA SRC0_INP", "SRC0",
|
||||||
|
"WSA_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"WSA_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC0_INP", "TX DEC0 MUX",
|
||||||
|
"RX_TX DEC1_INP", "TX DEC1 MUX",
|
||||||
|
"RX_TX DEC2_INP", "TX DEC2 MUX",
|
||||||
|
"RX_TX DEC3_INP", "TX DEC3 MUX",
|
||||||
|
"SpkrLeft IN", "WSA_SPK1 OUT",
|
||||||
|
"SpkrRight IN", "WSA_SPK2 OUT",
|
||||||
|
"TX SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA SWR_INPUT", "VA_SWR_CLK",
|
||||||
|
"VA SWR_INPUT", "WCD_TX_OUTPUT",
|
||||||
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
|
"VA_AIF3 CAP", "VA_SWR_CLK";
|
||||||
|
|
||||||
|
qcom,msm-mbhc-usbc-audio-supported = <1>;
|
||||||
|
qcom,msm-mbhc-hphl-swh = <0>;
|
||||||
|
qcom,msm-mbhc-gnd-swh = <0>;
|
||||||
|
qcom,wcd-disable-legacy-surge;
|
||||||
|
};
|
15
sun-audio-rcm.dts
Normal file
15
sun-audio-rcm.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-cdp.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun RCM";
|
||||||
|
compatible = "qcom,sun-rcm", "qcom,sun", "qcom,sunp-rcm", "qcom,sunp", "qcom,rcm";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0x15 0>;
|
||||||
|
};
|
15
sun-audio-rumi.dts
Normal file
15
sun-audio-rumi.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-audio-rumi.dtsi"
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun RUMI";
|
||||||
|
compatible = "qcom,sun-rumi", "qcom,sun", "qcom,rumi";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <15 0>;
|
||||||
|
};
|
12
sun-audio-rumi.dtsi
Normal file
12
sun-audio-rumi.dtsi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sun-audio-overlay.dtsi"
|
||||||
|
|
||||||
|
&sun_snd {
|
||||||
|
compatible = "qcom,sun-asoc-snd-stub";
|
||||||
|
asoc-codec = <&stub_codec>;
|
||||||
|
asoc-codec-names = "msm-stub-codec.1";
|
||||||
|
};
|
21
sun-audio.dts
Normal file
21
sun-audio.dts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include <dt-bindings/clock/qcom,gcc-sun.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include <dt-bindings/interconnect/qcom,sun.h>
|
||||||
|
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
||||||
|
|
||||||
|
#include "sun-audio.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun";
|
||||||
|
compatible = "qcom,sun";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>;
|
||||||
|
qcom,board-id = <0 0>;
|
||||||
|
};
|
174
sun-audio.dtsi
Normal file
174
sun-audio.dtsi
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bindings/qcom,audio-ext-clk.h>
|
||||||
|
#include <bindings/qcom,gpr.h>
|
||||||
|
#include "msm-audio-lpass.dtsi"
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
spf_core_platform: spf_core_platform {
|
||||||
|
compatible = "qcom,spf-core-platform";
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_core_hw_vote: vote_lpass_core_hw {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_CORE_HW_VOTE>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_audio_hw_vote: vote_lpass_audio_hw {
|
||||||
|
compatible = "qcom,audio-ref-clk";
|
||||||
|
qcom,codec-ext-clk-src = <AUDIO_LPASS_AUDIO_HW_VOTE>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&glink_edge {
|
||||||
|
audio_gpr: qcom,gpr {
|
||||||
|
compatible = "qcom,gpr";
|
||||||
|
qcom,glink-channels = "adsp_apps";
|
||||||
|
qcom,intents = <0x200 20>;
|
||||||
|
reg = <GPR_DOMAIN_ADSP>;
|
||||||
|
|
||||||
|
spf_core {
|
||||||
|
compatible = "qcom,spf_core";
|
||||||
|
reg = <GPR_SVC_ADSP_CORE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
audio-pkt {
|
||||||
|
compatible = "qcom,audio-pkt";
|
||||||
|
qcom,audiopkt-ch-name = "apr_audio_svc";
|
||||||
|
reg = <GPR_SVC_MAX>;
|
||||||
|
};
|
||||||
|
|
||||||
|
audio_prm: q6prm {
|
||||||
|
compatible = "qcom,audio_prm";
|
||||||
|
reg = <GPR_SVC_ASM>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&spf_core_platform {
|
||||||
|
|
||||||
|
msm_audio_ion: qcom,msm-audio-ion {
|
||||||
|
compatible = "qcom,msm-audio-ion";
|
||||||
|
qcom,smmu-version = <2>;
|
||||||
|
qcom,smmu-enabled;
|
||||||
|
iommus = <&apps_smmu 0x1001 0x0080>, <&apps_smmu 0x1061 0x0>;
|
||||||
|
qcom,iommu-dma-addr-pool = <0x10000000 0x10000000>;
|
||||||
|
qcom,smmu-sid-mask = /bits/ 64 <0xf>;
|
||||||
|
dma-coherent;
|
||||||
|
};
|
||||||
|
|
||||||
|
msm_audio_ion_cma: qcom,msm-audio-ion-cma {
|
||||||
|
compatible = "qcom,msm-audio-ion-cma";
|
||||||
|
};
|
||||||
|
|
||||||
|
lpi_tlmm: lpi_pinctrl@6E80000 {
|
||||||
|
compatible = "qcom,lpi-pinctrl";
|
||||||
|
reg = <0x6E80000 0x0>;
|
||||||
|
qcom,gpios-count = <23>;
|
||||||
|
qcom,slew-reg = <0x6E80000 0x0>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
qcom,lpi-offset-tbl = <0x00000000>, <0x00001000>,
|
||||||
|
<0x00002000>, <0x00003000>,
|
||||||
|
<0x00004000>, <0x00005000>,
|
||||||
|
<0x00006000>, <0x00007000>,
|
||||||
|
<0x00008000>, <0x00009000>,
|
||||||
|
<0x0000A000>, <0x0000B000>,
|
||||||
|
<0x0000C000>, <0x0000D000>,
|
||||||
|
<0x0000E000>, <0x0000F000>,
|
||||||
|
<0x00010000>, <0x00011000>,
|
||||||
|
<0x00012000>, <0x00013000>,
|
||||||
|
<0x00014000>, <0x00015000>,
|
||||||
|
<0x00016000>;
|
||||||
|
qcom,lpi-slew-offset-tbl = <0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>, <0x0000000B>,
|
||||||
|
<0x0000000B>;
|
||||||
|
|
||||||
|
qcom,lpi-slew-base-tbl = <0x6E80000>, <0x6E81000>,
|
||||||
|
<0x6E82000>, <0x6E83000>,
|
||||||
|
<0x6E84000>, <0x6E85000>,
|
||||||
|
<0x6E86000>, <0x6E87000>,
|
||||||
|
<0x6E88000>, <0x6E89000>,
|
||||||
|
<0x6E8A000>, <0x6E8B000>,
|
||||||
|
<0x6E8C000>, <0x6E8D000>,
|
||||||
|
<0x6E8E000>, <0x6E8F000>,
|
||||||
|
<0x6E90000>, <0x6E91000>,
|
||||||
|
<0x6E92000>, <0x6E93000>,
|
||||||
|
<0x6E94000>, <0x6E95000>,
|
||||||
|
<0x6E96000>;
|
||||||
|
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
lpass_cdc: lpass-cdc {
|
||||||
|
compatible = "qcom,lpass-cdc";
|
||||||
|
clock-names = "lpass_core_hw_vote",
|
||||||
|
"lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_core_hw_vote 0>,
|
||||||
|
<&lpass_audio_hw_vote 0>;
|
||||||
|
lpass-cdc-clk-rsc-mngr {
|
||||||
|
compatible = "qcom,lpass-cdc-clk-rsc-mngr";
|
||||||
|
};
|
||||||
|
|
||||||
|
va_macro: va-macro@6D44000 {
|
||||||
|
swr2: va_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tx_macro: tx-macro@6AE0000 {
|
||||||
|
};
|
||||||
|
|
||||||
|
rx_macro: rx-macro@6AC0000 {
|
||||||
|
swr1: rx_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa_macro: wsa-macro@6B00000 {
|
||||||
|
swr0: wsa_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wsa2_macro: wsa2-macro@6AA0000 {
|
||||||
|
swr3: wsa2_swr_master {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sun_snd: sound {
|
||||||
|
compatible = "qcom,sun-asoc-snd";
|
||||||
|
qcom,mi2s-audio-intf = <1>;
|
||||||
|
qcom,tdm-audio-intf = <0>;
|
||||||
|
qcom,auxpcm-audio-intf = <1>;
|
||||||
|
qcom,wcn-bt = <0>;
|
||||||
|
qcom,ext-disp-audio-rx = <0>;
|
||||||
|
qcom,afe-rxtx-lb = <0>;
|
||||||
|
|
||||||
|
clock-names = "lpass_audio_hw_vote";
|
||||||
|
clocks = <&lpass_audio_hw_vote 0>;
|
||||||
|
wcd939x-i2c-handle = <&wcd_usbss>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&aliases {
|
||||||
|
swr0 = "/soc/spf_core_platform/lpass-cdc/wsa-macro@6B00000/wsa_swr_master";
|
||||||
|
swr1 = "/soc/spf_core_platform/lpass-cdc/rx-macro@6AC0000/rx_swr_master";
|
||||||
|
swr2 = "/soc/spf_core_platform/lpass-cdc/va-macro@6D44000/va_swr_master";
|
||||||
|
swr3 = "/soc/spf_core_platform/lpass-cdc/wsa2-macro@6AA0000/wsa2_swr_master";
|
||||||
|
};
|
2518
sun-lpi.dtsi
Normal file
2518
sun-lpi.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user