Skip to content

Commit

Permalink
arm64: dts: qcom: p024: add sound and modem
Browse files Browse the repository at this point in the history
Add support for Modem and Sound in ASUS ZenPad 8.0.

Signed-off-by: Vasiliy Borisov <[email protected]>
  • Loading branch information
vm03 committed Feb 9, 2023
1 parent 0ea02cc commit 454a586
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-asus-p024.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/dts-v1/;

#include "msm8916-pm8916.dtsi"
#include "msm8916-modem.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
Expand All @@ -22,6 +23,18 @@
stdout-path = "serial0";
};

reserved-memory {
mpss_mem: mpss@86800000 {
reg = <0x0 0x86800000 0x0 0x5500000>;
no-map;
};

gps_mem: gps@8bd00000 {
reg = <0x0 0x8bd00000 0x0 0x200000>;
no-map;
};
};

bat: battery {
compatible = "simple-battery";
voltage-min-design-microvolt = <3400000>;
Expand Down Expand Up @@ -126,6 +139,10 @@
status = "okay";
};

&sound {
status = "okay";
};

&usb {
extcon = <&usb_id>, <&usb_id>;
status = "okay";
Expand All @@ -135,6 +152,14 @@
extcon = <&usb_id>;
};

&wcd_codec {
qcom,micbias-lvl = <2800>;
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
qcom,micbias1-ext-cap;
qcom,hphl-jack-type-normally-open;
};

&smd_rpm_regulators {
vdd_l1_l2_l3-supply = <&pm8916_s3>;
vdd_l4_l5_l6-supply = <&pm8916_s4>;
Expand Down

0 comments on commit 454a586

Please sign in to comment.