Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions arch/arm64/boot/dts/qcom/talos-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/dts-v1/;

#include "talos-evk-som.dtsi"
#include <dt-bindings/sound/qcom,q6afe.h>

/ {
model = "Qualcomm QCS615 IQ 615 EVK";
Expand Down Expand Up @@ -40,6 +41,46 @@
};
};

sound {
compatible = "qcom,qcs615-sndcard";
model = "TALOS-EVK";

pinctrl-0 = <&mi2s1_pins>;
pinctrl-names = "default";

pri-mi2s-capture-dai-link {
link-name = "Primary MI2S Capture";

codec {
sound-dai = <&codec_da7212>;
};

cpu {
sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>;
};

platform {
sound-dai = <&q6apm>;
};
};

pri-mi2s-playback-dai-link {
link-name = "Primary MI2S Playback";

codec {
sound-dai = <&codec_da7212>;
};

cpu {
sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
};

platform {
sound-dai = <&q6apm>;
};
};
};

vreg_v1p8_out: regulator-v1p8-out {
compatible = "regulator-fixed";
regulator-name = "vreg-v1p8-out";
Expand Down Expand Up @@ -109,6 +150,17 @@
};
};

&i2c5 {
codec_da7212: codec@1a {
compatible = "dlg,da7212";
reg = <0x1a>;
#sound-dai-cells = <0>;
VDDA-supply = <&vreg_v1p8_out>;
VDDIO-supply = <&vreg_v1p8_out>;
VDDMIC-supply = <&vreg_v3p3_out>;
};
};

&mdss_dsi0_out {
remote-endpoint = <&adv7535_in>;
data-lanes = <0 1 2 3>;
Expand Down
47 changes: 47 additions & 0 deletions arch/arm64/boot/dts/qcom/talos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/soc/qcom,gpr.h>

/ {
interrupt-parent = <&intc>;
Expand Down Expand Up @@ -1555,6 +1556,13 @@
#interrupt-cells = <2>;
wakeup-parent = <&pdc>;

mi2s1_pins: mi2s1-state {
pins = "gpio108", "gpio109", "gpio110", "gpio111";
function = "mi2s_1";
drive-strength = <8>;
bias-disable;
};

cam0_default: cam0-default-state {
pins = "gpio28";
function = "cam_mclk";
Expand Down Expand Up @@ -5132,6 +5140,45 @@
dma-coherent;
};
};

gpr: gpr {
compatible = "qcom,gpr";
qcom,glink-channels = "adsp_apps";
qcom,domain = <GPR_DOMAIN_ID_ADSP>;
qcom,intents = <512 20>;
#address-cells = <1>;
#size-cells = <0>;

q6apm: service@1 {
compatible = "qcom,q6apm";
reg = <GPR_APM_MODULE_IID>;
#sound-dai-cells = <0>;
qcom,protection-domain = "avs/audio",
"msm/adsp/audio_pd";

q6apmbedai: bedais {
compatible = "qcom,q6apm-lpass-dais";
#sound-dai-cells = <1>;
};

q6apmdai: dais {
compatible = "qcom,q6apm-dais";
iommus = <&apps_smmu 0x1721 0x0>;
};
};

q6prm: service@2 {
compatible = "qcom,q6prm";
reg = <GPR_PRM_MODULE_IID>;
qcom,protection-domain = "avs/audio",
"msm/adsp/audio_pd";

q6prmcc: clock-controller {
compatible = "qcom,q6prm-lpass-clocks";
#clock-cells = <2>;
};
};
};
};
};

Expand Down