Loading Documentation/devicetree/bindings/sound/qcom-audio-dev.txt +26 −0 Original line number Diff line number Diff line Loading @@ -828,6 +828,32 @@ qcom,msm-dai-mi2s { }; }; * msm-dai-spdif [First Level Nodes] Required properties: - compatible : "msm-dai-spdif" [Second Level Nodes] Required properties: - compatible : "qcom,msm-dai-q6-spdif" - qcom,msm-dai-q6-dev-id: The SPDIF port ID Value is from 20480 to 20483. Example: qcom,msm-dai-spdif { compatible = "qcom,msm-dai-spdif"; qcom,msm-dai-q6-spdif-pri-rx { compatible = "qcom,msm-dai-q6-spdif"; qcom,msm-dai-q6-dev-id = <20480>; }; }; * msm-adsp-loader Required properties: Loading arch/arm64/boot/dts/qcom/msm-audio-lpass.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -616,4 +616,24 @@ 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>; }; }; arch/arm64/boot/dts/qcom/qcs405-audio-overlay.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,8 @@ "VA MIC BIAS1", "Digital Mic6", "VA DMIC7", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic7"; pinctrl-names = "default"; pinctrl-0 = <&spdifrx_opt_default>; }; &bolero { Loading arch/arm64/boot/dts/qcom/qcs405-audio.dtsi +7 −2 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ qcom,model = "qcs405-snd-card"; qcom,mi2s-audio-intf = <1>; qcom,auxpcm-audio-intf = <1>; qcom,spdif-audio-intf = <1>; asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>, <&loopback>, <&compress>, <&hostless>, Loading Loading @@ -81,7 +82,9 @@ <&wsa_cdc_dma_0_rx>, <&wsa_cdc_dma_0_tx>, <&wsa_cdc_dma_1_rx>, <&wsa_cdc_dma_1_tx>, <&wsa_cdc_dma_2_tx>, <&va_cdc_dma_0_tx>, <&va_cdc_dma_1_tx>; <&va_cdc_dma_0_tx>, <&va_cdc_dma_1_tx>, <&dai_pri_spdif_rx>, <&dai_pri_spdif_tx>, <&dai_sec_spdif_rx>, <&dai_sec_spdif_tx>; asoc-cpu-names = "msm-dai-q6-dp.24608", "msm-dai-q6-mi2s.0", "msm-dai-q6-mi2s.1", "msm-dai-q6-mi2s.2", "msm-dai-q6-mi2s.3", Loading Loading @@ -114,7 +117,9 @@ "msm-dai-cdc-dma-dev.45059", "msm-dai-cdc-dma-dev.45061", "msm-dai-cdc-dma-dev.45089", "msm-dai-cdc-dma-dev.45091"; "msm-dai-cdc-dma-dev.45091", "msm-dai-q6-spdif.20480", "msm-dai-q6-spdif.20481", "msm-dai-q6-spdif.20482", "msm-dai-q6-spdif.20483"; }; }; Loading arch/arm64/boot/dts/qcom/qcs405-pinctrl.dtsi +23 −2 Original line number Diff line number Diff line Loading @@ -1008,6 +1008,7 @@ pins = "gpio89"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1037,6 +1038,7 @@ pins = "gpio90"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1065,6 +1067,7 @@ pins = "gpio91"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1094,6 +1097,7 @@ pins = "gpio92"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1122,6 +1126,7 @@ pins = "gpio93"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1151,6 +1156,7 @@ pins = "gpio94"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1179,7 +1185,6 @@ pins = "gpio97"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1209,7 +1214,6 @@ pins = "gpio98"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1329,6 +1333,23 @@ }; }; /* SPDIF optical input pin */ spdifrx_opt { spdifrx_opt_default: spdifrx_opt_default{ mux { pins = "gpio119"; function = "spdifrx_opt"; }; config { pins = "gpio119"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* pull down */ input-enable; }; }; }; /* WSA speaker reset pins */ wsa_en_1_2 { wsa_en_1_2_sleep: wsa_en_1_2_sleep { Loading Loading
Documentation/devicetree/bindings/sound/qcom-audio-dev.txt +26 −0 Original line number Diff line number Diff line Loading @@ -828,6 +828,32 @@ qcom,msm-dai-mi2s { }; }; * msm-dai-spdif [First Level Nodes] Required properties: - compatible : "msm-dai-spdif" [Second Level Nodes] Required properties: - compatible : "qcom,msm-dai-q6-spdif" - qcom,msm-dai-q6-dev-id: The SPDIF port ID Value is from 20480 to 20483. Example: qcom,msm-dai-spdif { compatible = "qcom,msm-dai-spdif"; qcom,msm-dai-q6-spdif-pri-rx { compatible = "qcom,msm-dai-q6-spdif"; qcom,msm-dai-q6-dev-id = <20480>; }; }; * msm-adsp-loader Required properties: Loading
arch/arm64/boot/dts/qcom/msm-audio-lpass.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -616,4 +616,24 @@ 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>; }; };
arch/arm64/boot/dts/qcom/qcs405-audio-overlay.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,8 @@ "VA MIC BIAS1", "Digital Mic6", "VA DMIC7", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic7"; pinctrl-names = "default"; pinctrl-0 = <&spdifrx_opt_default>; }; &bolero { Loading
arch/arm64/boot/dts/qcom/qcs405-audio.dtsi +7 −2 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ qcom,model = "qcs405-snd-card"; qcom,mi2s-audio-intf = <1>; qcom,auxpcm-audio-intf = <1>; qcom,spdif-audio-intf = <1>; asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>, <&loopback>, <&compress>, <&hostless>, Loading Loading @@ -81,7 +82,9 @@ <&wsa_cdc_dma_0_rx>, <&wsa_cdc_dma_0_tx>, <&wsa_cdc_dma_1_rx>, <&wsa_cdc_dma_1_tx>, <&wsa_cdc_dma_2_tx>, <&va_cdc_dma_0_tx>, <&va_cdc_dma_1_tx>; <&va_cdc_dma_0_tx>, <&va_cdc_dma_1_tx>, <&dai_pri_spdif_rx>, <&dai_pri_spdif_tx>, <&dai_sec_spdif_rx>, <&dai_sec_spdif_tx>; asoc-cpu-names = "msm-dai-q6-dp.24608", "msm-dai-q6-mi2s.0", "msm-dai-q6-mi2s.1", "msm-dai-q6-mi2s.2", "msm-dai-q6-mi2s.3", Loading Loading @@ -114,7 +117,9 @@ "msm-dai-cdc-dma-dev.45059", "msm-dai-cdc-dma-dev.45061", "msm-dai-cdc-dma-dev.45089", "msm-dai-cdc-dma-dev.45091"; "msm-dai-cdc-dma-dev.45091", "msm-dai-q6-spdif.20480", "msm-dai-q6-spdif.20481", "msm-dai-q6-spdif.20482", "msm-dai-q6-spdif.20483"; }; }; Loading
arch/arm64/boot/dts/qcom/qcs405-pinctrl.dtsi +23 −2 Original line number Diff line number Diff line Loading @@ -1008,6 +1008,7 @@ pins = "gpio89"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1037,6 +1038,7 @@ pins = "gpio90"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1065,6 +1067,7 @@ pins = "gpio91"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1094,6 +1097,7 @@ pins = "gpio92"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1122,6 +1126,7 @@ pins = "gpio93"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1151,6 +1156,7 @@ pins = "gpio94"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1179,7 +1185,6 @@ pins = "gpio97"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1209,7 +1214,6 @@ pins = "gpio98"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; Loading Loading @@ -1329,6 +1333,23 @@ }; }; /* SPDIF optical input pin */ spdifrx_opt { spdifrx_opt_default: spdifrx_opt_default{ mux { pins = "gpio119"; function = "spdifrx_opt"; }; config { pins = "gpio119"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* pull down */ input-enable; }; }; }; /* WSA speaker reset pins */ wsa_en_1_2 { wsa_en_1_2_sleep: wsa_en_1_2_sleep { Loading