Skip to content

Commit

Permalink
FIXME: arm64: dts: qcom: msm8916-samsung-fortuna: Add audio jack dete…
Browse files Browse the repository at this point in the history
…ction

Signed-off-by: Joe Mason <[email protected]>
[Raymond: Split from the audio patch]
Signed-off-by: Raymond Hackley <[email protected]>
  • Loading branch information
buddyjojo authored and wonderfulShrineMaidenOfParadise committed Mar 26, 2024
1 parent 75bcbee commit b2e32ab
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,16 @@
reg = <0x0 0x86800000 0x0 0x5000000>;
};

&pm8916_codec {
jack-gpios = <&tlmm 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-0 = <&jack_default>;
pinctrl-names = "default";
};

&pm8916_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
Expand Down Expand Up @@ -476,6 +486,13 @@
bias-pull-up;
};

jack_default: jack-default-state {
pins = "gpio110";
function = "gpio";
drive-strength = <2>;
bias-disable;
};

lcd_on_default: lcd-on-default-state {
pins = "gpio102";
function = "gpio";
Expand Down

0 comments on commit b2e32ab

Please sign in to comment.