Skip to content

Commit

Permalink
arm64: dts: qcom: Add modem for gt58lte
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Manthan <[email protected]>
  • Loading branch information
SiddharthManthan authored and stephan-gh committed Aug 5, 2021
1 parent f1e2e0a commit 1d65a78
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a3u-eur.dtb msm8916-samsung-a3u-eur-m
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a5u-eur.dtb msm8916-samsung-a5u-eur-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gprimeltecan.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt510.dtb msm8916-samsung-gt510lte-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt58.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt58.dtb msm8916-samsung-gt58lte-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j3ltespr.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5nlte.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5xlte.dtb
Expand Down
61 changes: 61 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-gt58lte-modem.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// SPDX-License-Identifier: GPL-2.0-only

#include "msm8916-samsung-gt58.dts"
#include "msm8916-modem.dtsi"

/ {
model = "Samsung Galaxy Tab A 8.0 LTE (2015) (SM-T355)";
compatible = "samsung,gt58lte", "samsung,gt58", "qcom,msm8916";
};

&q6afedai {
dai@22 {
reg = <QUATERNARY_MI2S_RX>;
qcom,sd-lines = <1>;
};
};

&sound {
/delete-node/ dai-link-primary;
/delete-node/ dai-link-tertiary;
/delete-node/ dai-link-quaternary;

dai-link-primary-qdsp6 {
link-name = "Primary MI2S";
cpu {
sound-dai = <&q6afedai PRIMARY_MI2S_RX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
};
};

dai-link-tertiary-qdsp6 {
link-name = "Tertiary MI2S";
cpu {
sound-dai = <&q6afedai TERTIARY_MI2S_TX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
};
};

dai-link-quaternary-qdsp6 {
link-name = "Quaternary MI2S";
cpu {
sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&speaker_codec>;
};
};
};

0 comments on commit 1d65a78

Please sign in to comment.