Skip to content

Commit

Permalink
FIXME: arm64: dts: msm8916-samsung-a2015: Add audio jack detection
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Gerhold <[email protected]>
  • Loading branch information
stephan-gh committed Nov 12, 2021
1 parent d28d562 commit 1bea5fa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,16 @@
extcon = <&muic>;
};

&wcd_codec {
jack-gpios = <&msmgpio 110 GPIO_ACTIVE_LOW>;
qcom,micbias-lvl = <2800>;
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;

pinctrl-names = "default";
pinctrl-0 = <&jack_default>;
};

&smd_rpm_regulators {
vdd_l1_l2_l3-supply = <&pm8916_s3>;
vdd_l4_l5_l6-supply = <&pm8916_s4>;
Expand Down Expand Up @@ -441,6 +451,14 @@
bias-disable;
};

jack_default: jack-default {
pins = "gpio110";
function = "gpio";

drive-strength = <2>;
bias-disable;
};

mdss {
mdss_default: mdss-default {
pins = "gpio25";
Expand Down

0 comments on commit 1bea5fa

Please sign in to comment.