Commit 6b66abd5 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

Enable sound and modem for the Samsung S4 Mini Value Edition. The setup
is similar to most MSM8916 devices, i.e.:

 - QDSP6 audio
 - Speaker/earpiece/headphones/microphones via digital/analog codec in
   MSM8916/PM8916
 - WWAN Internet via BAM-DMUX

except:

 - Samsung-specific audio jack detection (not supported yet)
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20231003-msm8916-modem-v2-6-61b684be55c0@gerhold.netSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent f276411d
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
/dts-v1/; /dts-v1/;
#include "msm8916-pm8916.dtsi" #include "msm8916-pm8916.dtsi"
#include "msm8916-modem-qdsp6.dtsi"
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
...@@ -319,6 +321,10 @@ &blsp_uart2 { ...@@ -319,6 +321,10 @@ &blsp_uart2 {
status = "okay"; status = "okay";
}; };
&mpss_mem {
reg = <0x0 0x86800000 0x0 0x5a00000>;
};
&pm8916_resin { &pm8916_resin {
status = "okay"; status = "okay";
linux,code = <KEY_VOLUMEDOWN>; linux,code = <KEY_VOLUMEDOWN>;
...@@ -350,6 +356,13 @@ &sdhc_2 { ...@@ -350,6 +356,13 @@ &sdhc_2 {
no-1-8-v; no-1-8-v;
}; };
&sound {
audio-routing =
"AMIC1", "MIC BIAS External1",
"AMIC2", "MIC BIAS Internal2",
"AMIC3", "MIC BIAS External1";
};
&usb { &usb {
status = "okay"; status = "okay";
extcon = <&muic>, <&muic>; extcon = <&muic>, <&muic>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment