Skip to content

Commit d390ef6

Browse files
committed
arm64: dts: qcom: p024: add sound and modem
Add support for Modem and Sound in ASUS ZenPad 8.0. Signed-off-by: Vasiliy Borisov <[email protected]>
1 parent 85283d6 commit d390ef6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: arch/arm64/boot/dts/qcom/msm8916-asus-p024.dts

+25
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/dts-v1/;
44

55
#include "msm8916-pm8916.dtsi"
6+
#include "msm8916-modem.dtsi"
67

78
#include <dt-bindings/gpio/gpio.h>
89
#include <dt-bindings/input/input.h>
@@ -22,6 +23,18 @@
2223
stdout-path = "serial0";
2324
};
2425

26+
reserved-memory {
27+
mpss_mem: mpss@86800000 {
28+
reg = <0x0 0x86800000 0x0 0x5500000>;
29+
no-map;
30+
};
31+
32+
gps_mem: gps@8bd00000 {
33+
reg = <0x0 0x8bd00000 0x0 0x200000>;
34+
no-map;
35+
};
36+
};
37+
2538
bat: battery {
2639
compatible = "simple-battery";
2740
voltage-min-design-microvolt = <3400000>;
@@ -126,6 +139,10 @@
126139
status = "okay";
127140
};
128141

142+
&sound {
143+
status = "okay";
144+
};
145+
129146
&usb {
130147
extcon = <&usb_id>, <&usb_id>;
131148
status = "okay";
@@ -135,6 +152,14 @@
135152
extcon = <&usb_id>;
136153
};
137154

155+
&wcd_codec {
156+
qcom,micbias-lvl = <2800>;
157+
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
158+
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
159+
qcom,micbias1-ext-cap;
160+
qcom,hphl-jack-type-normally-open;
161+
};
162+
138163
&smd_rpm_regulators {
139164
vdd_l1_l2_l3-supply = <&pm8916_s3>;
140165
vdd_l4_l5_l6-supply = <&pm8916_s4>;

0 commit comments

Comments
 (0)