]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM pins
authorLe Qi <le.qi@oss.qualcomm.com>
Thu, 9 Apr 2026 03:01:55 +0000 (11:01 +0800)
committerBjorn Andersson <andersson@kernel.org>
Sat, 9 May 2026 15:30:31 +0000 (10:30 -0500)
This patch adds the Generic Pack Router (GPR) node together with
Audio Process Manager (APM) and Proxy Resource Manager (PRM)
audio service nodes to the Talos device tree description.

It also introduces MI2S1 pinctrl states for data0, data1, sck,
and ws lines, grouped into a single entry at the SoC-level DTSI
for better reuse and clarity.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260409030156.155455-2-le.qi@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/talos.dtsi

index 8c7ea369a332fe5389b61be85331e9fd9965d796..fb1bbc51bb8a45832568da26847312e00cae722a 100644 (file)
@@ -18,6 +18,7 @@
 #include <dt-bindings/phy/phy-qcom-qmp.h>
 #include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/power/qcom,rpmhpd.h>
+#include <dt-bindings/soc/qcom,gpr.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
 #include <dt-bindings/thermal/thermal.h>
 
                                drive-strength = <6>;
                        };
 
+                       mi2s1_pins: mi2s1-state {
+                               pins = "gpio108", "gpio109", "gpio110", "gpio111";
+                               function = "mi2s_1";
+                               drive-strength = <8>;
+                               bias-disable;
+                       };
+
+                       mi2s_mclk: mi2s-mclk-state {
+                               pins = "gpio122";
+                               function = "mclk2";
+                               drive-strength = <8>;
+                               bias-disable;
+                       };
+
                        qup_i2c1_data_clk: qup-i2c1-data-clk-state {
                                pins = "gpio4", "gpio5";
                                function = "qup0";
                                                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>;
+                                               };
+                                       };
+                               };
                        };
                };