aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2019-04-17 15:01:12 +0100
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2019-04-17 15:03:52 +0100
commitae3b48b0aba2e5b8494dfe569ae18f672c5cbef9 (patch)
tree141803c5cdcef721a7dc76300389371ed70b5a9e
parent7a2dec2da55f307236ca18b9b1abfbe5199c6c7a (diff)
downloadkernel-tracking-qcomlt-sdm845-db845c.tar.gz
arm64: dts: db845: add hdmi digital audio supporttracking-qcomlt-sdm845-db845c
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-db845c.dts46
1 files changed, 45 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index 3ff12933b282..bea2247a221e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -5,6 +5,8 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/sound/qcom,q6afe.h>
+#include <dt-bindings/sound/qcom,q6asm.h>
#include "sdm845.dtsi"
#include "pm8998.dtsi"
#include "pmi8998.dtsi"
@@ -382,13 +384,55 @@
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>;
};
+&adsp_pas {
+ status = "okay";
+};
+
+/* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */
+&q6afedai {
+ qi2s@22 {
+ reg = <22>;
+ qcom,sd-lines = <0 1 2 3>;
+ };
+};
+
+&sound {
+ compatible = "qcom,db845c-sndcard";
+ pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active &quat_mi2s_sd2_active &quat_mi2s_sd3_active>;
+ pinctrl-names = "default";
+ model = "DB845c";
+
+ mm1-dai-link {
+ link-name = "MultiMedia1";
+ cpu {
+ sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
+ };
+ };
+
+ hdmi-dai-link {
+ link-name = "HDMI";
+ cpu {
+ sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
+ };
+
+ platform {
+ sound-dai = <&q6routing>;
+ };
+
+ codec {
+ sound-dai = <&lt9611_codec 0>;
+ };
+ };
+};
+
&i2c10 {
status = "okay";
clock-frequency = <400000>;
- hdmi-bridge@3b {
+ lt9611_codec: hdmi-bridge@3b {
compatible = "lt,lt9611";
reg = <0x3b>;
+ #sound-dai-cells = <1>;
interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;